Commit 9db9f4e0 authored by Paul's avatar Paul
Browse files

Fix global size

parent 398d45a4
...@@ -170,7 +170,9 @@ struct ck_gemm_compiler : compiler<ck_gemm_compiler> ...@@ -170,7 +170,9 @@ struct ck_gemm_compiler : compiler<ck_gemm_compiler>
}); });
hip_compile_options options; hip_compile_options options;
options.set_launch_params(v, get_grid_size(instance, m, n), get_block_size(instance)); auto block_size = get_block_size(instance);
auto grid_size = get_grid_size(instance, m, n);
options.set_launch_params(v, grid_size * block_size, block_size);
options.inputs = inputs; options.inputs = inputs;
options.output = c_shape; options.output = c_shape;
options.kernel_name = "ck_gemm_kernel"; options.kernel_name = "ck_gemm_kernel";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment