Closed boostlee closed 4 years ago
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: cuda - 10.0 tensorflow-gpu - 1.13.2 gcc - 5.4.0
Thanks in advance.
@vineethbabu See https://github.com/pmh47/dirt/issues/20#issuecomment-490423087
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