Displaying 1 result from an estimated 1 matches for "get_global_id_param_0".
2015 Feb 03
2
[LLVMdev] Example for usage of LLVM/Clang/libclc
...one that is supposed to be
generated).
For example, currently,
In OpenCL : get_global_id(0) translates to
In LLVM : %call = tail call i32 @get_global_id(i32 0) which translates
to
In PTX:
// .globl blur2d
.func (.param .b32 func_retval0) get_global_id
(
.param .b32 get_global_id_param_0
)
;
mov.u32 %r2, 0;
.param .b32 param0;
st.param.b32 [param0+0], %r2;
.param .b32 retval0;
call.uni (retval0),
get_global_id,
(
param0
);
Is this what is supposed to happen ? or there is something wrong ? I am...