Displaying 6 results from an estimated 6 matches for "compute_35".
2017 Jun 09
1
NVPTX Back-end: relocatable device code support for dynamic parallelism
...ities --device-c --gen_c_file_name "/tmp/tmpxft_00007040_00000000-4_cuda_id_test.cudafe1.c" --stub_file_name "/tmp/tmpxft_00007040_00000000-4_cuda_id_test.cudafe1.stub.c" --gen_device_file_name "/tmp/tmpxft_00007040_00000000-4_cuda_id_test.cudafe1.gpu" --nv_arch "compute_35" --gen_module_id_file --module_id_file_name "/tmp/tmpxft_00007040_00000000-3_cuda_id_test.module_id" --include_file_name "tmpxft_00007040_00000000-2_cuda_id_test.fatbin.c" "/tmp/tmpxft_00007040_00000000-9_cuda_id_test.cpp1.ii"
#$ gcc -std=c++11 -E -x c++ -D__CUDA...
2016 Aug 01
3
[GPUCC] link against libdevice
OK, I see the problem. You were right that we weren't picking up libdevice.
CUDA 7.0 only ships with the following libdevice binaries (found
/path/to/cuda/nvvm/libdevice):
libdevice.compute_20.10.bc libdevice.compute_30.10.bc
libdevice.compute_35.10.bc
If you ask for sm_50 with cuda 7.0, clang can't find a matching
libdevice binary, and it will apparently silently give up and try to
continue compiling your program. That's a bug that we should fix.
(If you want the current behavior, you should have to ask clang not to
use libdevice...
2016 Mar 05
2
instrumenting device code with gpucc
...py.cu" "-mrelocation-model" "static" "-mthread-model" "posix"
"-mdisable-fp-elim" "-fmath-errno" "-no-integrated-as" "-fcuda-is-device"
"-mlink-cuda-bitcode"
"/usr/local/cuda/nvvm/libdevice/libdevice.compute_35.10.bc"
"-target-feature" "+ptx42" "-target-cpu" "sm_35" "-dwarf-column-info"
"-debugger-tuning=gdb" "-resource-dir"
"/usr/local/google/home/jingyue/Work/llvm/install-git/bin/../lib/clang/3.9.0"
"-I" "...
2016 Aug 01
0
[GPUCC] link against libdevice
Hi Justin,
Thanks for your response! The clang & llvm I'm using was built from
source.
Below is the output of compiling with -v. Any suggestions would be
appreciated!
*clang version 3.9.0 (trunk 270145) (llvm/trunk 270133)*
*Target: x86_64-unknown-linux-gnu*
*Thread model: posix*
*InstalledDir: /usr/local/bin*
*Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8*
2016 Aug 01
2
[GPUCC] link against libdevice
Hi, Yuanfeng.
What version of clang are you using? CUDA is only known to work at
tip of head, so you must build clang yourself from source.
I suspect that's your problem, but if building from source doesn't fix
it, please attach the output of compiling with -v.
Regards,
-Justin
On Sun, Jul 31, 2016 at 9:24 PM, Chandler Carruth <chandlerc at google.com> wrote:
> Directly
2016 Mar 10
4
instrumenting device code with gpucc
...ion-model" "static" "-mthread-model" "posix"
>> "-mdisable-fp-elim" "-fmath-errno" "-no-integrated-as" "-fcuda-is-device"
>> "-mlink-cuda-bitcode"
>> "/usr/local/cuda/nvvm/libdevice/libdevice.compute_35.10.bc"
>> "-target-feature" "+ptx42" "-target-cpu" "sm_35" "-dwarf-column-info"
>> "-debugger-tuning=gdb" "-resource-dir"
>> "/usr/local/google/home/jingyue/Work/llvm/install-git/bin/../lib/clang/3.9.0...