![]() |
|
|
#12 |
|
Sep 2009
246410 Posts |
And I've managed to get msieve to work. But I'm not sure exactly how. Updating the Makefile to cc = clang and cub/Makefile to add -ccbin clang to NVCCFLAGS is certainly necessary. But I also updated it to only compile support for sm20 (it takes nvcc several minutes to compile support for each sm) and it seems to fail if I don't do that.
I'll post if I manage to pin down exactly what's required. Chris |
|
|
|
|
|
#13 |
|
Sep 2009
25·7·11 Posts |
I've pinned down the cause. If the makefiles say clang then it works. If they say clang-3.8 then it fails. Which is surprising because clang and clang-3.8 are the same program:
Code:
chris@rigel:~$ which clang /usr/bin/clang chris@rigel:~$ which clang-3.8 /usr/bin/clang-3.8 chris@rigel:~$ ls -l /usr/bin/clang /usr/bin/clang-3.8 lrwxrwxrwx 1 root root 25 Apr 18 2017 /usr/bin/clang -> ../lib/llvm-3.8/bin/clang lrwxrwxrwx 1 root root 25 Jun 2 2017 /usr/bin/clang-3.8 -> ../lib/llvm-3.8/bin/clang chris@rigel:~$ ls -li -L /usr/bin/clang /usr/bin/clang-3.8 1060650 -rwxr-xr-x 1 root root 24294616 Jun 2 2017 /usr/bin/clang 1060650 -rwxr-xr-x 1 root root 24294616 Jun 2 2017 /usr/bin/clang-3.8 Chris |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CUDA 5.5 | ET_ | GPU Computing | 2 | 2013-06-13 15:50 |
| AVX CPU LL vs CUDA LL | nucleon | GPU Computing | 11 | 2012-01-04 17:52 |
| Best CUDA GPU for the $$ | Christenson | GPU Computing | 24 | 2011-05-01 00:06 |
| CUDA P-1? | nucleon | GPU Computing | 2 | 2010-11-17 17:52 |
| CUDA? | Xentar | Conjectures 'R Us | 6 | 2010-03-31 07:43 |