-
Notifications
You must be signed in to change notification settings - Fork 207
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
compiling error on windows: class "__half" has no member "x" #815
Comments
@JrManit did you manage to solve the problem? I'm having the same issues with Ubuntu 16.04 LTS, CUDA 9.1, gcc 6.3.0. The following error messages were shown:
|
i'm having the same issue! how to solve it!? |
Probably the same issue as #797 |
I am trying to compile cutorch on Windows using Visual Studio 2015 and CUDA 9.1, and I am struggling with the error class "__half" has no member "x", as following.
1>j:\cpp-torch\cutorch\lib\thc\THCTensorTypeUtils.cuh(141): error : class "__half" has no member "x"
1>j:\cpp-torch\cutorch\lib\thc\THCTensorTypeUtils.cuh(141): error : class "__half" has no member "x"
1>j:\cpp-torch\cutorch\lib\thc\THCTensorTypeUtils.cuh(145): error : class "__half" has no member "x"
1>j:\cpp-torch\cutorch\lib\thc\THCTensorTypeUtils.cuh(145): error : class "__half" has no member "x"
1>j:\cpp-torch\cutorch\lib\thc\THCNumerics.cuh(114): error : class "__half" has no member "x"
1>j:\cpp-torch\cutorch\lib\thc\THCNumerics.cuh(115): error : class "__half" has no member "x"
I look at the definition of __half structure, and the x variable doesn't actually exist. The older CUDA version also doesn't work as well.
Anybody has any clue for this error?
The text was updated successfully, but these errors were encountered: