Open Adhders opened 5 years ago
undefine on "__shfl_up" or "__shfl_down" ? open CMakeList and delete something :
IF (CUDA_VERSION GREATER 7.6) set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_60,code=sm_60") set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_61,code=sm_61") set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_62,code=sm_62") ENDIF() IF (CUDA_VERSION GREATER 8.9) set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_70,code=sm_70") ENDIF()
warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
undefine on "__shfl_up" or "__shfl_down" ? open CMakeList and delete something :
IF (CUDA_VERSION GREATER 7.6) set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_60,code=sm_60") set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_61,code=sm_61") set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_62,code=sm_62") ENDIF() IF (CUDA_VERSION GREATER 8.9) set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_70,code=sm_70") ENDIF()
Thanks ,I make it !
there is a new issue when I python setup.py install . warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
check up your compile arguments follow that MakeFile,you can ignore this all warning text because compiler will be autocomplete
maybe gcc and g++ version cause the problem, try gcc-4.8 and g++4.8. I met the same problem and that help me
请问你是怎样解决你题目中的这个问题的?@Adhders 我是gcc7.3,cuda10.1,pytorch版本1.1.0a0+7e73783,make的时候报跟你一样的错
same error, delete is not work.
You need to set FLAG manually responding edition with your device model.
pytorch-1.0.1.post2 ,ubantu 18.0.4, build error!
do anyone have some idea?