-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
CUDA version: 10.2
CMake version: 3.16.3
I followed the instructions given and arrive at the following output
It seems the CMakeLists is directing CUDA to files that aren't there
I have seen that another user managed to get this working with CUDA 8 however I am unable to downgrade from CUDA 10 at the moment
I am new to CUDA so apologies if I am missing something obvious
Help is appreciated
/(...)/gpuNUFFT/CUDA/build$ cmake .. -DGEN_MEX_FILES=false
-- Found CUDA: /usr/local/cuda (found version "10.2")
-- Setting DEBUG Option to false
-- setting NVCC FLAGS to: -arch=sm_30;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_50,code=sm_50;-gencode=arch=compute_52,code=sm_52;-gencode=arch=compute_52,code=compute_52
-- creating lib with name: gpuNUFFT_f
------start creating libraries-------
Coarse GPU GpuNUFFT Library
Atomic GPU GpuNUFFT Library
-- Configuring done
CMake Error at /usr/share/cmake-3.16/Modules/FindCUDA.cmake:1825 (add_library):
Cannot find source file:
/(...)/gpuNUFFT/CUDA/src/gpu/coarse/precomp_kernels.cu
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
src/gpu/coarse/CMakeLists.txt:24 (CUDA_ADD_LIBRARY)
CMake Error at /usr/share/cmake-3.16/Modules/FindCUDA.cmake:1825 (add_library):
Cannot find source file:
/(...)/gpuNUFFT/CUDA/src/gpu/atomic/precomp_kernels.cu
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
src/gpu/atomic/CMakeLists.txt:16 (CUDA_ADD_LIBRARY)
CMake Error at /usr/share/cmake-3.16/Modules/FindCUDA.cmake:1825 (add_library):
No SOURCES given to target: gpuNUFFT_f
Call Stack (most recent call first):
src/gpu/coarse/CMakeLists.txt:24 (CUDA_ADD_LIBRARY)
CMake Error at /usr/share/cmake-3.16/Modules/FindCUDA.cmake:1825 (add_library):
No SOURCES given to target: gpuNUFFT_ATM_f
Call Stack (most recent call first):
src/gpu/atomic/CMakeLists.txt:16 (CUDA_ADD_LIBRARY)
CMake Generate step failed. Build files cannot be regenerated correctly.
Metadata
Metadata
Assignees
Labels
No labels