Open supernirmesh opened 3 years ago
I found one solution, where they suggested to change............... It looks like CUDA renamed a field from memoryType
to type
. Changing that one line should fix the issue. change: return (attr.memoryType == cudaMemoryTypeDevice);
to:
return (attr.type == cudaMemoryTypeDevice);
However, after that I am getting following error,
I did this change in ../nv_wavenet_conversions.cuh but then got following error ##########
nvcc -arch=sm_70 -std=c++11 --use_fast_math -lineinfo -maxrregcount 128 -I .. wavenet_infer.cu ../matrix.cpp -lz -Xcompiler -fPIC -shared -o libwavenet_infer.so /usr/include/c++/9/utility(310): error: pack expansion does not make use of any argument packs
1 error detected in the compilation of "wavenet_infer.cu". make: *** [Makefile:48: wavenet_infer] Error 1
nvcc -arch=sm_86 -std=c++11 --use_fast_math -lineinfo -maxrregcount 128 -I .. wavenet_infer.cu ../matrix.cpp -lz -Xcompiler -fPIC -shared -o libwavenet_infer.so /usr/include/c++/9/utility(310): error: pack expansion does not make use of any argument packs
../nv_wavenet_conversions.cuh(41): error: class "cudaPointerAttributes" has no member "memoryType"
2 errors detected in the compilation of "wavenet_infer.cu". make: *** [Makefile:48: wavenet_infer] Error 1