What is the `offset` in void `nvbit_add_call_arg_launch_val64(const Instr* instr, int offset, bool is_variadic_arg = false)`
Opened this issue · 0 comments
xinyi-li7 commented
Hi,
In the function nvbit_add_call_arg_launch_val64 (const Instr, int offset, bool is_variadic_arg = false)
, I'm curious what the offset
is.
For example, if I passed nvbit_set_at_launch( ctx, func, buf, n*sizeof(uint64_t));
, and let offset=3
, is it passing the fourth element of buf
?
Besides, I can only use nvbit_set_at_launch
once to pass one variable, right? That is I cannot call nvbit_set_at_launch twice to pass two variables.
Thanks.