First time run error
[INFO] HIPRT ver.02004 [INFO] Executing on 'NVIDIA GeForce RTX 4080 GPU'
[ERR ] Could not generate additional cache key for kernel with path "../src/Device/kernels/Utils/RayVolumeStateSize.h": No such file or directory
how do i solve this.
Hi @shanu1195 ,
Where are you running the application from? I suspect you're not in the proper working directory maybe? So ../src/Device/kernels/Utils/RayVolumeStateSize.h does not exist.
Things should be running fine from the build/ directory.
Vs 2022 generate the cmake build as out/build/x64-Debug/ all the files plus exe could this be somehow the issue ../src/Device/kernels/Utils/RayVolumeStateSize.h the location from the root cmake list is correct to the header file.
How did you run the CMake build to generate the Visual Studio solution? I'm not sure there should be a out folder being created.
Did you create a build folder (at the root of the repo, next to the CMakeLists.txt) and used cmake .. from inside the build folder?
yes it get created but its under out/build/x64-debug/here lies the exe and binary files. Yes i followed all the steps and the compile went successful. Although i use this method i open the cmake project by right clicking in the project root folder and selecting open with vs2022 i usually use this. I ll try use the default process to compile the whole process again see if that fixes thing.
Yeah I think for the project to work right now, you should have a file structure that looks like this:
HIPRT-Path-Tracer/
├─ build/
│ ├─ .../
├─ CMakeLists.txt
I found a way to have the project work from any directory but HIPRT itself still have issues because some paths are hardcoded in the HIPRT library. I think this was fixed upstream but I'd have to update my repo. I still haven't done that yet.