We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b640165 commit feabec8Copy full SHA for feabec8
compiler/rustc_codegen_llvm/src/builder/gpu_offload.rs
@@ -478,7 +478,7 @@ fn gen_call_handling<'ll>(
478
// FIXME(offload): launch kernels
479
let mut values = vec![];
480
values.push((4, cx.get_const_i32(3)));
481
- values.push((4, cx.get_const_i32(3)));
+ values.push((4, cx.get_const_i32(num_args)));
482
values.push((8, geps.0));
483
values.push((8, geps.1));
484
values.push((8, geps.2));
0 commit comments