The issue with 10.9 is that gcc
is actually clang. Please try latest CUDA toolkit and explicitely point NVCC to use /usr/bin/clang (nvcc -ccbin /usr/bin/clang). This way NVCC will know it’s dealing with clang.
More Related Contents:
- CUDA incompatible with my gcc version
- Compiling problems: cannot find crt1.o
- OS X 10.9 gcc links to clang
- Error enabling openmp – “ld: library not found for -lgomp” and Clang errors
- How to detect SSE/SSE2/AVX/AVX2/AVX-512/AVX-128-FMA/KCVI availability at compile-time?
- How to fix linker error “cannot find crt1.o”?
- clang (LLVM) inline assembly – multiple constraints with useless spills / reloads
- Why doesn’t GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?
- How to generate gcc debug symbol outside the build target?
- What are the –start-group and –end-group command line options?
- constexpr and initialization of a static const void pointer with reinterpret cast, which compiler is right?
- combine two GCC compiled .o object files into a third .o file
- Preprocessor output
- #pragma comment(lib, “xxx.lib”) equivalent under Linux?
- Where is PATH_MAX defined in Linux?
- How to verify if a void pointer (void *) is one of two data types?
- static linking only some libraries
- Prefetching Examples?
- How to stop MinGW and MSYS from mangling path names given at the command line
- How to determine maximum stack usage in embedded system with gcc?
- What are the differences between -std=c++11 and -std=gnu++11?
- Preventing compiler optimizations while benchmarking
- Fused multiply add and default rounding modes
- How can I mitigate the impact of the Intel jcc erratum on gcc?
- What’s the difference between -rpath and -L?
- How to set gcc or clang to use Intel syntax permanently for inline asm() statements?
- How to add compiler flags on codeblocks
- How to set the LDFLAGS in CMakeLists.txt?
- Why both clang and gcc only give a warning when there is a space after backslash if C standard says that whitespace is forbidden?
- const auto std::initializer_list difference between Clang and GCC