I got these warnings during installation. I went through a closed issue that showed the same warnings. I upgraded pytorch to pytorch 0.3.0, but the warning still exist. It looks like it is from the incompatibility of some packages. Does anyone know a solution ?
I'm using CUDA8.0, and cuDNN 5.1
......
In file included from generic/SoftProposalGenerator.cu:1:0,
from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:17:
spn/src/generic/SoftProposalGenerator.cu: In function ‘cuspn_Double_SP_Generate’:
spn/src/generic/SoftProposalGenerator.cu:106:17: warning: passing argument 6 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [-Wincompatible-pointer-types]
transferMatrix_data,
^
In file included from /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0,
from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:1:
/home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float ’ but argument is of type ‘double ’
THC_API void THCudaBlas_Sgemv(THCState state, char trans, long m, long n, floa
^
In file included from generic/SoftProposalGenerator.cu:1:0,
from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:17:
spn/src/generic/SoftProposalGenerator.cu:108:17: warning: passing argument 8 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [-Wincompatible-pointer-types]
proposal_data,
^
In file included from /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0,
from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:1:
/home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float ’ but argument is of type ‘double ’
THC_API void THCudaBlas_Sgemv(THCState state, char trans, long m, long n, floa
^
In file included from generic/SoftProposalGenerator.cu:1:0,
from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:17:
spn/src/generic/SoftProposalGenerator.cu:111:17: warning: passing argument 11 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [-Wincompatible-pointer-types]
proposalBuffer_data,
^
In file included from /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0,
from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:1:
/home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float ’ but argument is of type ‘double ’
THC_API void THCudaBlas_Sgemv(THCState *state, char trans, long m, long n, floa
^
......
I got these warnings during installation. I went through a closed issue that showed the same warnings. I upgraded pytorch to pytorch 0.3.0, but the warning still exist. It looks like it is from the incompatibility of some packages. Does anyone know a solution ?
I'm using CUDA8.0, and cuDNN 5.1 ...... In file included from generic/SoftProposalGenerator.cu:1:0, from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:17: spn/src/generic/SoftProposalGenerator.cu: In function ‘cuspn_Double_SP_Generate’: spn/src/generic/SoftProposalGenerator.cu:106:17: warning: passing argument 6 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [-Wincompatible-pointer-types] transferMatrix_data, ^ In file included from /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0, from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:1: /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float ’ but argument is of type ‘double ’ THC_API void THCudaBlas_Sgemv(THCState state, char trans, long m, long n, floa ^ In file included from generic/SoftProposalGenerator.cu:1:0, from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:17: spn/src/generic/SoftProposalGenerator.cu:108:17: warning: passing argument 8 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [-Wincompatible-pointer-types] proposal_data, ^ In file included from /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0, from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:1: /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float ’ but argument is of type ‘double ’ THC_API void THCudaBlas_Sgemv(THCState state, char trans, long m, long n, floa ^ In file included from generic/SoftProposalGenerator.cu:1:0, from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:17: spn/src/generic/SoftProposalGenerator.cu:111:17: warning: passing argument 11 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [-Wincompatible-pointer-types] proposalBuffer_data, ^ In file included from /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0, from /home/jun/SPN.pytorch/spnlib/spn/src/libspn_cuda.c:1: /home/jun/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float ’ but argument is of type ‘double ’ THC_API void THCudaBlas_Sgemv(THCState *state, char trans, long m, long n, floa ^ ......