search for: function_param_0

Displaying 1 result from an estimated 1 matches for "function_param_0".

Did you mean: function_param
2011 Oct 24
1
[LLVMdev] Function pointer parameters in PTX backend
Hi everybody, I am trying to produce ptx code starting from OpenCL C. I am experiencing a problem concerning pointer 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, re...