You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: