NVIDIA / nv-wavenet

Reference implementation of real-time autoregressive wavenet inference
BSD 3-Clause "New" or "Revised" License
735 stars 126 forks source link

error: when make pytorch wrapper #54

Open ShichengChen opened 6 years ago

ShichengChen commented 6 years ago

Hi @BrianPharris

Could you please give me some help?

I cannot make pytorch wrapper, there is error message. nvcc -arch=sm_61 -std=c++11 --use_fast_math -lineinfo -maxrregcount 128 -I .. wavenet_infer.cu ../matrix.cpp -lz -Xcompiler -fPIC -shared -o wavenet_infer.so wavenet_infer.cu(97): error: argument of type "int *" is incompatible with parameter of type "int"

wavenet_infer.cu(97): error: argument of type "int" is incompatible with parameter of type "int *"

2 errors detected in the compilation of "/tmp/tmpxft_00006df7_00000000-8_wavenet_infer.cpp1.ii". Makefile:48: recipe for target 'wavenet_infer' failed make: *** [wavenet_infer] Error 1

However, before you last commit, I still can make pytorch wrapper successfully.

BrianPharris commented 6 years ago

Hi @ShichengChen - my apologies, I just reverted the merge.