Displaying 2 results from an estimated 2 matches for "blur2d_kernel".
2011 Dec 07
2
[LLVMdev] Build PTX samples with LLVM/Clang/libclc
...libclc/
$ git clone git://git.pcc.me.uk/~peter/libclc.git
# Build libclc first
$ cd libclc/
$ ./configure.py --with-llvm-config=/path/to/llvm-config && make
# Then build your PTX samples
$ cd ../; make build; cd build
$ cmake ../
$ make
---
O.K., I have a problem here.
[ 12%] Compiling blur2d_kernel.cl -> blur2d_kernel.ll
clang: error: no such file or directory: 'ptx32'
make[2]: *** [bin/blur2d_kernel.ll] Error 1
make[1]: *** [opencl/blur2d/CMakeFiles/blur2d_kernel.ptx.dir/all] Error 2
Do you know how to fix it? Thanks.
[1] https://github.com/jholewinski/llvm-ptx-samples
[2] htt...
2011 Dec 07
0
[LLVMdev] Build PTX samples with LLVM/Clang/libclc
...m-ptx-samples
$ cd llvm-ptx-samples
$ git submodule init
$ git submodule update
I'll update the documentation to reflect this.
Also, the libclc configuration is not necessary. Only some header files
are pulled in by the samples.
> O.K., I have a problem here.
>
> [ 12%] Compiling blur2d_kernel.cl -> blur2d_kernel.ll
> clang: error: no such file or directory: 'ptx32'
> make[2]: *** [bin/blur2d_kernel.ll] Error 1
> make[1]: *** [opencl/blur2d/CMakeFiles/blur2d_kernel.ptx.dir/all] Error 2
>
> Do you know how to fix it? Thanks.
>
That's a new one. I just t...