-
Notifications
You must be signed in to change notification settings - Fork 63
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
rasterise_grad_egl.cu.o error in the newest code #41
Comments
This is probably still a compatibility issue between nvcc and gcc versions; however, it's surprising it fails as the change to Vec3 fixed exactly the same compiler configuration for another user. As you have cuda-9.0, can you try compiling with nvcc 9.x, which has official support for gcc 5.4 (unlike nvcc 8.x)? |
Hi @pmh47 , I am also facing this error as shown above. can you please help. My environment: Thanks in advance. |
Closing due to inactivity |
My error is as following:
/tmp/pip-req-build-cevrhevw/csrc/rasterise_grad_egl.cu(99) (col. 26): error: Internal Compiler Error (codegen): "function-scope static variables cannot be initialized!"
CMakeFiles/rasterise.dir/build.make:134: recipe for target 'CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o' failed
make[2]: *** [CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o] Error 2
make[2]: *** Waiting for unfinished jobs....
fatbinary warning : option 'key' has been deprecated
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rasterise.dir/all' failed
make[1]: *** [CMakeFiles/rasterise.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
In the new cloned code, the definition of struct Vec3 { ... }; is already above the function assemble_grads in a anonymous namespace, but the error appeares again.
My env:
nvcc V8.0.61
gcc 5.4.0
tf-1.8.0
cuda-9.0
The text was updated successfully, but these errors were encountered: