Displaying 1 result from an estimated 1 matches for "23b7e7ef".
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