ashawkey / stable-dreamfusion

Text-to-3D & Image-to-3D & Mesh Exportation with NeRF + Diffusion.
Apache License 2.0
8k stars 710 forks source link

Honestly not really sure, raymarching.cu #83

Open Shikamaru5 opened 1 year ago

Shikamaru5 commented 1 year ago

It seems that ninja tries to run this file and then although it says two errors I have a few more variables than that, that it says are referenced but not declared. near, rdz, rdy, rdx seem to be the main ones, and because those ones failed, it starts going off about unexpected tokens and cuda errors having to be overridden. If anyone has any ideas how to fix that, I'd really appreciate it. I've pasted a small part of it but can provide the error in its entirety if needed.

F:\Desktop\game_files\ai_for_game\Image_Generator\stable-dreamfusion\raymarching\src\raymarching.cu(737): warning #177-D: variable "near" was declared but never referenced
detected during instantiation of "void kernel_march_rays(uint32_t, uint32_t, const int , const scalar_t , const scalar_t , const scalar_t , float, float, uint32_t, uint32_t, uint32_t, const uint8_t , const scalar_t , const scalar_t , scalar_t , scalar_t , scalar_t , const scalar_t *) [with scalar_t=float]"
(811): here

2 errors detected in the compilation of "F:/Desktop/game_files/ai_for_game/Image_Generator/stable-dreamfusion/raymarching/src/raymarching.cu".
raymarching.cu
ninja: build stopped: subcommand failed.

Enes60 commented 1 year ago

It seems that ninja tries to run this file and then although it says two errors I have a few more variables than that, that it says are referenced but not declared. near, rdz, rdy, rdx seem to be the main ones, and because those ones failed, it starts going off about unexpected tokens and cuda errors having to be overridden. If anyone has any ideas how to fix that, I'd really appreciate it. I've pasted a small part of it but can provide the error in its entirety if needed.

F:\Desktop\game_files\ai_for_game\Image_Generator\stable-dreamfusion\raymarching\src\raymarching.cu(737): warning #177-D: variable "near" was declared but never referenced

      detected during instantiation of "void kernel_march_rays(uint32_t, uint32_t, const int *, const scalar_t *, const scalar_t *, const scalar_t *, float, float, uint32_t, uint32_t, uint32_t, const uint8_t *, const scalar_t *, const scalar_t *, scalar_t *, scalar_t *, scalar_t *, const scalar_t *) [with scalar_t=float]"           

(811): here

2 errors detected in the compilation of "F:/Desktop/game_files/ai_for_game/Image_Generator/stable-dreamfusion/raymarching/src/raymarching.cu".

raymarching.cu

ninja: build stopped: subcommand failed.

Shikamaru5 commented 1 year ago

Sure thanks, but it still doesn't solve the issue... any clues?