added correct data sizes in offset calculations
@@ -160,7 +160,7 @@ void libxsmm_generator_matcopy_avx_avx512_kernel( libxsmm_generated_code*
l_kernel_config.vmove_instruction,
l_gp_reg_mapping.gp_reg_a,
LIBXSMM_X86_GP_REG_UNDEF, 0,
- i*l_kernel_config.vector_length,
+ i*l_kernel_config.vector_length*l_kernel_config.datatype_size,
l_kernel_config.vector_name, 0,
0, 0 );
@@ -170,7 +170,7 @@ void libxsmm_generator_matcopy_avx_avx512_kernel( libxsmm_generated_code*
l_kernel_config.vmove_instruction,
l_gp_reg_mapping.gp_reg_b,
LIBXSMM_X86_GP_REG_UNDEF, 0,
- i*l_kernel_config.vector_length,
+ i*l_kernel_config.vector_length*l_kernel_config.datatype_size,
l_kernel_config.vector_name, 0,
0, 1 );
@@ -181,7 +181,7 @@ void libxsmm_generator_matcopy_avx_avx512_kernel( libxsmm_generated_code*
l_gp_reg_mapping.gp_reg_a_pf,
LIBXSMM_X86_GP_REG_UNDEF,
0,
- i*l_kernel_config.vector_length );
+ i*l_kernel_config.vector_length*l_kernel_config.datatype_size );
}
}
