Last active
April 11, 2016 08:31
-
-
Save Sitin/c5ca08cf16083e91d3d59bfc3813e1c7 to your computer and use it in GitHub Desktop.
libnd4j compilation error: __lazy_enable_if is not a template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /usr/local/cuda/bin/nvcc --verbose /Users/sitin/Documents/Workspace/dlf4/libnd4j/blas/cuda/NativeOps.cu -c -o /Users/sitin/Documents/Workspace/dlf4/libnd4j/blas/CMakeFiles/nd4j.dir/cuda/./nd4j_generated_NativeOps.cu.o -m64 --std c++11 -D__CUDABLAS__=true -Dnd4j_EXPORTS -Xcompiler ,\"-Wall\",\"-fopenmp\",\"-fassociative-math\",\"-funsafe-math-optimizations\",\"-march=native\",\"-O3\",\"-ffast-math\",\"-ftree-vectorize\",\"-msse2\",\"-fPIC\",\"-g\",\"-O0\" -DVERBOSE -G -g -lcublas -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -DNVCC -I/usr/local/cuda/include -I/Users/sitin/Documents/Workspace/dlf4/libnd4j/include -I/Users/sitin/Documents/Workspace/dlf4/libnd4j/blas/../include -I/usr/local/cuda/include | |
#$ _SPACE_= | |
#$ _CUDART_=cudart | |
#$ _HERE_=/usr/local/cuda/bin | |
#$ _THERE_=/usr/local/cuda/bin | |
#$ _TARGET_SIZE_= | |
#$ _TARGET_DIR_= | |
#$ _TARGET_SIZE_=64 | |
#$ TOP=/usr/local/cuda/bin/.. | |
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice | |
#$ PATH=/usr/local/cuda/bin/../open64/bin:/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/Cellar/clang-omp/2015-04-01/bin:/Developer/NVIDIA/CUDA-7.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
#$ INCLUDES="-I/usr/local/cuda/bin/../include" | |
#$ LIBRARIES= "-L/usr/local/cuda/bin/../lib" | |
#$ CUDAFE_FLAGS= | |
#$ PTXAS_FLAGS= | |
#$ clang -std=c++11 -D__CUDA_ARCH__=520 -E -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ "-Wall" "-fopenmp" "-fassociative-math" "-funsafe-math-optimizations" "-march=native" "-O3" "-ffast-math" "-ftree-vectorize" "-msse2" "-fPIC" "-g" "-O0" -I"/usr/local/cuda/include" -I"/Users/sitin/Documents/Workspace/dlf4/libnd4j/include" -I"/Users/sitin/Documents/Workspace/dlf4/libnd4j/blas/../include" -I"/usr/local/cuda/include" "-I/usr/local/cuda/bin/../include" -D"__CUDACC_VER__=70519" -D"__CUDACC_VER_BUILD__=19" -D"__CUDACC_VER_MINOR__=5" -D"__CUDACC_VER_MAJOR__=7" -D"__CUDABLAS__=true" -D"nd4j_EXPORTS" -D"VERBOSE" -D"NVCC" -include "cuda_runtime.h" -m64 -g "/Users/sitin/Documents/Workspace/dlf4/libnd4j/blas/cuda/NativeOps.cu" > "/var/folders/nf/77c17zn14v556chcvzkg989c0000gp/T//tmpxft_00009185_00000000-22_NativeOps.compute_52.cpp1.ii" | |
#$ cudafe --clang --m64 --clang_version=30700 --c++11 -tused --no_remove_unneeded_entities --debug_mode --gen_c_file_name "/var/folders/nf/77c17zn14v556chcvzkg989c0000gp/T//tmpxft_00009185_00000000-4_NativeOps.compute_52.cudafe1.c" --stub_file_name "/var/folders/nf/77c17zn14v556chcvzkg989c0000gp/T//tmpxft_00009185_00000000-4_NativeOps.compute_52.cudafe1.stub.c" --gen_device_file_name "/var/folders/nf/77c17zn14v556chcvzkg989c0000gp/T//tmpxft_00009185_00000000-4_NativeOps.compute_52.cudafe1.gpu" --nv_arch "compute_52" --gen_module_id_file --module_id_file_name "/var/folders/nf/77c17zn14v556chcvzkg989c0000gp/T//tmpxft_00009185_00000000-3_NativeOps.module_id" --include_file_name "tmpxft_00009185_00000000-2_NativeOps.fatbin.c" "/var/folders/nf/77c17zn14v556chcvzkg989c0000gp/T//tmpxft_00009185_00000000-22_NativeOps.compute_52.cpp1.ii" | |
/usr/local/cuda/include/math_functions.h(9406): error: __lazy_enable_if is not a template | |
1 error detected in the compilation of "/var/folders/nf/77c17zn14v556chcvzkg989c0000gp/T//tmpxft_00009185_00000000-22_NativeOps.compute_52.cpp1.ii". | |
# --error 0x2 -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment