search for: simple_kernel

Displaying 5 results from an estimated 5 matches for "simple_kernel".

2013 Jan 23
3
[LLVMdev] OpenCL SPIR/NVPTX code generation
Hi Guy, Thanks a lot for the clarification. I tried using the triple for SPIR as $ clang -x cl -fno-builtin -emit-llvm -c -Xclang -triple -Xclang spir-unknown-unknown Simple_Kernel.cl However I get the following error. error: unknown target triple 'spir-unknown-unknown', please use -triple or -arch I also tried with triple nvptx-unknown-unknown clang -x cl -fno-builtin -emit-llvm -S -Xclang -triple -Xclang nvptx-unknown-unknown Simple_Kernel.cl Then I get following...
2013 Jan 23
0
[LLVMdev] OpenCL SPIR/NVPTX code generation
...ang -cc1". You can see that if you add the -v option. I'm sure there is someone here who can explain it better than I... Anyhow, I think you better use clang -cc1. Make sure -cc1 is the first command line option you use. $ clang -cc1 -fno-builtin -emit-llvm-bc -triple spir-unknown-unknown Simple_Kernel.cl -o Simple_Kernel.bc should work for you. Thanks [email_signature_guy_new2] From: ankur deshwal [mailto:a.s.deshwal at gmail.com] Sent: Wednesday, January 23, 2013 13:44 To: Benyei, Guy; cfe-dev at cs.uiuc.edu; llvmdev at cs.uiuc.edu Subject: OpenCL SPIR/NVPTX code generation Hi Guy, Thanks...
2013 Jan 23
2
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
...cc1”. You can see that if you add the -v option. I’m sure there is someone here who can explain it better than I… > Anyhow, I think you better use clang -cc1. Make sure -cc1 is the first command line option you use. > > $ clang -cc1 -fno-builtin -emit-llvm-bc -triple spir-unknown-unknown Simple_Kernel.cl -o Simple_Kernel.bc > > should work for you. clang -cc1 shouldn't ever be necessary for end users of clang, particularly because cc1 options are not guaranteed to be stable. You also lose all the default options that the driver normally passes down. It's possible this doesn'...
2013 Jan 24
0
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
...ang -cc1". You can see that if you add the -v option. I'm sure there is someone here who can explain it better than I... Anyhow, I think you better use clang -cc1. Make sure -cc1 is the first command line option you use. $ clang -cc1 -fno-builtin -emit-llvm-bc -triple spir-unknown-unknown Simple_Kernel.cl -o Simple_Kernel.bc should work for you. clang -cc1 shouldn't ever be necessary for end users of clang, particularly because cc1 options are not guaranteed to be stable. You also lose all the default options that the driver normally passes down. It's possible this doesn't matter mu...
2013 Jan 24
1
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
...ption. I’m sure there is > someone here who can explain it better than I…**** > > Anyhow, I think you better use clang -cc1. Make sure -cc1 is the first > command line option you use.**** > > **** > > $ clang -cc1 -fno-builtin -emit-llvm-bc -triple spir-unknown-unknown > Simple_Kernel.cl -o Simple_Kernel.bc**** > > **** > > should work for you.**** > > ** ** > > clang -cc1 shouldn't ever be necessary for end users of clang, > particularly because cc1 options are not guaranteed to be stable. You also > lose all the default options that the drive...