Displaying 19 results from an estimated 19 matches for "lcudart_stat".
Did you mean:
lcudart_static
2018 Mar 23
2
cuda cross compiling issue for target aarch64-linux-androideabi
...s/android-24/arch-arm64/usr/include \
-I .prebuilts/ndk/current/sources/sources/cxx-stl/gnu-libstdc++/4.9/include
\
-I
prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include
\
-I ndk/sources/cxx-stl/system/include \
-L ./cuda/targets/aarch64-linux-androideabi/lib \
-lcudart -lcudart_static -ldl -lrt -pthread \
-o axpy axpy.cu
clang version I am using is
Android (4667116 based on r326829) clang version 7.0.1 (
https://android.googlesource.com/toolchain/clang
76e4d638afc560ad21845fad570888bef8c18045) (
https://android.googlesource.com/toolchain/llvm
67f3e6a51d93777841e0fb6d07f71fdf3...
2018 Mar 23
0
cuda cross compiling issue for target aarch64-linux-androideabi
...t; -I .prebuilts/ndk/current/sources/sources/cxx-stl/gnu-libstdc++/4.9/include
> \
> -I
> prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include
> \
> -I ndk/sources/cxx-stl/system/include \
> -L ./cuda/targets/aarch64-linux-androideabi/lib \
> -lcudart -lcudart_static -ldl -lrt -pthread \
> -o axpy axpy.cu
>
> clang version I am using is
> Android (4667116 based on r326829) clang version 7.0.1 (
> https://android.googlesource.com/toolchain/clang
> 76e4d638afc560ad21845fad570888bef8c18045) (
> https://android.googlesource.com/toolchain/llvm...
2016 Oct 27
3
problem on compiling cuda program with clang++
...e docs/CompileCudaWithLLVM.rst to compile
cuda program with clang++.
However, when I compile `axpy.cu` using `nvcc`, *nvcc* can generate the
correct the binary;
while compiling `axpy.cu` using clang++, the detailed command is `clang++
axpy.cu -o axpy --cuda-gpu-arch=sm_53 -L/usr/local/cuda/lib64
-lcudart_static -ldl -lrt -pthread`, *clang++* generate the following
error:`/usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file not
found
# include <sys/cdefs.h>`.
And I find that 'sys/cdefs.h' is included in the directory
`/usr/include/aarch64-linux-gnu/sys`.
Anybody ever c...
2017 Aug 02
2
CUDA compilation "No available targets are compatible with this triple." problem
Yes, I followed the guide. The same error showed up:
>clang++ axpy.cu -o axpy --cuda-gpu-arch=sm_35 -L/usr/local/cuda/lib64 -I/usr/local/cuda/include -lcudart_static -ldl -lrt -pthread
error: unable to create target: 'No available targets are compatible with this triple.'
________________________________
From: Kevin Choi <code.kchoi at gmail.com>
Sent: Wednesday, August 2, 2017 3:44 PM
To: Xipeng Shen
Cc: llvm-dev at lists.llvm.org
Subject: R...
2016 Mar 05
2
instrumenting device code with gpucc
...fat binary to the host code using ld.
Clang does step 2-4 by invoking subcommands. Therefore, you can use "clang
-###" to dump all the subcommands, and then find the ones for step 2-4. For
example,
$ clang++ -### -O3 axpy.cu -I/usr/local/cuda/samples/common/inc
-L/usr/local/cuda/lib64 -lcudart_static -lcuda -ldl -lrt -pthread
--cuda-gpu-arch=sm_35
clang version 3.9.0 (http://llvm.org/git/clang.git
4ce165e39e7b185e394aa713d9adffd920288988) (http://llvm.org/git/llvm.git
2550ef485b6f9668bb7a4daa7ab276b6501492df)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/googl...
2018 May 01
3
Compiling CUDA with clang on Windows
Dear all,
In the official document <https://llvm.org/docs/CompileCudaWithLLVM.html>,
it is mentioned that CUDA compilation is supported on Windows as of
2017-01-05. I used msys2 to install clang 5.0.1. Then I installed cuda 8.0.
However, I basically could not compile any code of cuda by the prescribed
setting. I wounder if anyone can successfully compile cuda code by the
clang on Windows.
2016 Oct 27
0
problem on compiling cuda program with clang++
...mpile cuda
> program with clang++.
>
> However, when I compile `axpy.cu` using `nvcc`, nvcc can generate the
> correct the binary;
>
> while compiling `axpy.cu` using clang++, the detailed command is `clang++
> axpy.cu -o axpy --cuda-gpu-arch=sm_53 -L/usr/local/cuda/lib64
> -lcudart_static -ldl -lrt -pthread`, clang++ generate the following
> error:`/usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file not
> found
> # include <sys/cdefs.h>`.
>
> And I find that 'sys/cdefs.h' is included in the directory
> `/usr/include/aarch64-linu...
2016 Oct 27
0
problem on compiling cuda program with clang++
...en I compile `axpy.cu` using `nvcc`, nvcc can generate the
>> > correct the binary;
>> >
>> > while compiling `axpy.cu` using clang++, the detailed command is
>> > `clang++
>> > axpy.cu -o axpy --cuda-gpu-arch=sm_53 -L/usr/local/cuda/lib64
>> > -lcudart_static -ldl -lrt -pthread`, clang++ generate the following
>> > error:`/usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file
>> > not
>> > found
>> > # include <sys/cdefs.h>`.
>> >
>> > And I find that 'sys/cdefs.h' i...
2017 Aug 02
2
CUDA compilation "No available targets are compatible with this triple." problem
Hi,
I have trouble compiling CUDA code with Clang. The following is a command I tried:
> clang++ axpy.cu -o axpy --cuda-gpu-arch=sm_35 --cuda-path=/usr/local/cuda
The error message is
error: unable to create target: 'No available targets are compatible with this triple.'
The info of the LLVM I'm using is as follows:
> lang++ --version
clang version 6.0.0
2016 Mar 10
4
instrumenting device code with gpucc
...g does step 2-4 by invoking subcommands. Therefore, you can use
>> "clang -###" to dump all the subcommands, and then find the ones for step
>> 2-4. For example,
>>
>> $ clang++ -### -O3 axpy.cu -I/usr/local/cuda/samples/common/inc
>> -L/usr/local/cuda/lib64 -lcudart_static -lcuda -ldl -lrt -pthread
>> --cuda-gpu-arch=sm_35
>>
>> clang version 3.9.0 (http://llvm.org/git/clang.git
>> 4ce165e39e7b185e394aa713d9adffd920288988) (http://llvm.org/git/llvm.git
>> 2550ef485b6f9668bb7a4daa7ab276b6501492df)
>> Target: x86_64-unknown-linux-g...
2019 Jan 23
2
Debug info for CUDA code
...; it can't compile the example program
> on https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang
> <https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang.> --
> the error is:
>
> [aznb at asp testcuda]$ clang++ axpy.cu -g -o axpy --cuda-gpu-arch=sm_61
> -lcudart_static -ldl -lrt -pthread -v
> clang version 9.0.0 (https://git.llvm.org/git/clang.git
> 4566ed0d7c076ad061168f7c6cb5fa3a793614a8)
> (https://git.llvm.org/git/llvm.git
> b7195a6d8d9064c4fac6a7b91826de80df394f69)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
> InstalledDir...
2016 Jun 07
3
NVPTX compilation problems - ptxas error
...56547528a22d290a2e8b2c40810abb8117a8a6bc)
I have attached my source code which i try to compile with clang++ (it
is just for testing so the code is not mean to do something useful) and
here is the command i am using:
$ clang++ --cuda-gpu-arch=sm_20 loops.cu -o loops-clang
-L/opt/cuda-7.5/lib64 -lcudart_static -ldl -lrt -pthread
ptxas /tmp/loops-36dc47.s, line 5; error : Unsupported .version 4.2;
current version is '3.2'
ptxas fatal : Ptx assembly aborted due to errors
clang-3.9: error: ptxas command failed with exit code 255 (use -v to see
invocation)
Compilation with nvcc works by the...
2019 Mar 11
2
Debug info for CUDA code
...ried the b7195a6 from the llvm github mirror, which does include your commit D46189 (see below). But it can't compile the example program on https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang -- the error is:
[aznb at asp testcuda]$ clang++ axpy.cu -g -o axpy --cuda-gpu-arch=sm_61 -lcudart_static -ldl -lrt -pthread -v
clang version 9.0.0 (https://git.llvm.org/git/clang.git 4566ed0d7c076ad061168f7c6cb5fa3a793614a8) (https://git.llvm.org/git/llvm.git b7195a6d8d9064c4fac6a7b91826de80df394f69)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/aznb/.linuxbrew/bin
Found c...
2017 Jun 09
1
NVPTX Back-end: relocatable device code support for dynamic parallelism
...ub"
#$ g++ -m64 -o "id_test" -std=c++11 -Wl,--start-group "/tmp/tmpxft_00007040_00000000-18_id_test_dlink.o" "/tmp/tmpxft_00007040_00000000-16_cuda_id_test.o" "-L/opt/cuda-8.0/bin/..//lib64/stubs" "-L/opt/cuda-8.0/bin/..//lib64" -lcudadevrt -lcudart_static -lrt -lpthread -ldl -Wl,--end-group
2018 Dec 14
8
Debug info for CUDA code
Are you planning to release this as soon as it's ready or you want to make it into a major release? Is it possible to let me know (maybe by replying to this thread) once the code is ready? I know sometimes it takes a while to get things in the major release. I greatly appreciate your work on this!
Thanks,
Char
在 2018-12-15 05:19:50,"Alexey Bataev" <a.bataev at outlook.com>
2019 Feb 26
1
Debug info for CUDA code
...ried the b7195a6 from the llvm github mirror, which does include your commit D46189 (see below). But it can't compile the example program on https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang -- the error is:
[aznb at asp testcuda]$ clang++ axpy.cu -g -o axpy --cuda-gpu-arch=sm_61 -lcudart_static -ldl -lrt -pthread -v
clang version 9.0.0 (https://git.llvm.org/git/clang.git 4566ed0d7c076ad061168f7c6cb5fa3a793614a8) (https://git.llvm.org/git/llvm.git b7195a6d8d9064c4fac6a7b91826de80df394f69)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/aznb/.linuxbrew/bin
Found c...
2019 Feb 26
2
Debug info for CUDA code
...ried the b7195a6 from the llvm github mirror, which does include your commit D46189 (see below). But it can't compile the example program on https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang -- the error is:
[aznb at asp testcuda]$ clang++ axpy.cu -g -o axpy --cuda-gpu-arch=sm_61 -lcudart_static -ldl -lrt -pthread -v
clang version 9.0.0 (https://git.llvm.org/git/clang.git 4566ed0d7c076ad061168f7c6cb5fa3a793614a8) (https://git.llvm.org/git/llvm.git b7195a6d8d9064c4fac6a7b91826de80df394f69)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/aznb/.linuxbrew/bin
Found c...
2019 Feb 27
3
Debug info for CUDA code
...ried the b7195a6 from the llvm github mirror, which does include your commit D46189 (see below). But it can't compile the example program on https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang -- the error is:
[aznb at asp testcuda]$ clang++ axpy.cu -g -o axpy --cuda-gpu-arch=sm_61 -lcudart_static -ldl -lrt -pthread -v
clang version 9.0.0 (https://git.llvm.org/git/clang.git 4566ed0d7c076ad061168f7c6cb5fa3a793614a8) (https://git.llvm.org/git/llvm.git b7195a6d8d9064c4fac6a7b91826de80df394f69)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/aznb/.linuxbrew/bin
Found c...
2020 Jan 15
2
Debug info for CUDA code
...ried the b7195a6 from the llvm github mirror, which does include your commit D46189 (see below). But it can't compile the example program on https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang -- the error is:
[aznb at asp testcuda]$ clang++ axpy.cu -g -o axpy --cuda-gpu-arch=sm_61 -lcudart_static -ldl -lrt -pthread -v
clang version 9.0.0 (https://git.llvm.org/git/clang.git 4566ed0d7c076ad061168f7c6cb5fa3a793614a8) (https://git.llvm.org/git/llvm.git b7195a6d8d9064c4fac6a7b91826de80df394f69)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/aznb/.linuxbrew/bin
Found c...