Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

nv-wavenet installation issue #102

Open
supernirmesh opened this issue Mar 29, 2021 · 1 comment
Open

nv-wavenet installation issue #102

supernirmesh opened this issue Mar 29, 2021 · 1 comment

Comments

@supernirmesh
Copy link

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

@supernirmesh
Copy link
Author

supernirmesh commented Mar 29, 2021

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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant