Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error #18

Open
liuxiaojun56 opened this issue Jan 17, 2018 · 0 comments
Open

make error #18

liuxiaojun56 opened this issue Jan 17, 2018 · 0 comments

Comments

@liuxiaojun56
Copy link

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
^
......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant