search for: __opencl_my_kernel

Displaying 2 results from an estimated 2 matches for "__opencl_my_kernel".

2011 Dec 13
0
[LLVMdev] AMD IL Code Generator Backend for OpenCL
...ress_space(2))) sgv[1]; static const char __attribute__ ((address_space(2))) fgv[1]; static const char* lvgv[0]; void __attribute__ ((annotate("doesNothing"))) func () { char val; val = sgv[0]; val = fgv[0]; val = *lvgv[0]; } void __attribute__ ((annotate("foobar"))) (*__OpenCL_my_kernel) () = func; $ clang -S -emit-llvm a.c $ cat a.s ; ModuleID = 'a.c' target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-unknown-linux-gnu&quo...
2011 Dec 13
2
[LLVMdev] AMD IL Code Generator Backend for OpenCL
We are working on getting the documentation cleaned up to the point where it can be released. If you look at the test cases, you can infer what needs to be done. Basically since this is targeted for OpenCL, we annotate OpenCL kernels slightly different than normal functions and that is what causes the code to be generated. That being said, on my list of things to do is fix this so that any