Displaying 1 result from an estimated 1 matches for "__param_1".
Did you mean:
__param_
2011 Oct 24
1
[LLVMdev] Function pointer parameters in PTX backend
...r parameters.
Here follows an example:
kernel void function(__global float* parameter1) {}
NVIDIA NVCC Compiler:
.entry function(
.param .u32 *.ptr* .global .align 4 function_param_0
)
{
ret;
}
CLANG + LLVM PTX backend
// (skipping builtin functions definitions)
.entry function (.param .b32 __param_1) // @function
{
// BB#0: // %entry
exit;
}
As you can see the code generated by the LLVM backend lacks the kernel
parameter attribute
.ptr, required to identify pointers [1]. I can understand that the address
space attribute (.global)
is not defined since there is...