Open WilliamWangPeng opened 3 years ago
Hey William, I do not see that issue when running your code. I suspect your environment is not setup correctly. When installing cuda, I see this printed in the output:
* Please make sure your PATH includes /usr/local/cuda/bin
* Please make sure your LD_LIBRARY_PATH
* for 32-bit Linux distributions includes /usr/local/cuda/lib
* for 64-bit Linux distributions includes /usr/local/cuda/lib64:/usr/local/cuda/lib
* OR
* for 32-bit Linux distributions add /usr/local/cuda/lib
* for 64-bit Linux distributions add /usr/local/cuda/lib64 and /usr/local/cuda/lib
* to /etc/ld.so.conf and run ldconfig as root
Have you done this correctly?
Hey William, I do not see that issue when running your code. I suspect your environment is not setup correctly. When installing cuda, I see this printed in the output:
* Please make sure your PATH includes /usr/local/cuda/bin * Please make sure your LD_LIBRARY_PATH * for 32-bit Linux distributions includes /usr/local/cuda/lib * for 64-bit Linux distributions includes /usr/local/cuda/lib64:/usr/local/cuda/lib * OR * for 32-bit Linux distributions add /usr/local/cuda/lib * for 64-bit Linux distributions add /usr/local/cuda/lib64 and /usr/local/cuda/lib * to /etc/ld.so.conf and run ldconfig as root
Have you done this correctly?
hi dear @keelimeguy
I feel really excited that you gave the reply, the environment of GPGPU sim is correct, for I use hello_cuda as an example.
https://github.com/gpgpu-sim/gpgpu-sim_distribution/blob/master/libcuda/cuda_runtime_api.cc#L4742
the linking above is the reason why GPGPU sim can not support the ray tracing program I have shown here, because many APIs (302 APIs in total) of CUDA can not be supported.
HI dear author,
It's truly a honor to write a letter to you, I'm building your project nowadays and found the error when running a very simple CUDA ray tracing program as following, I wonder if there is a chance that you know the reason :)
Why this programs does not work?
thank you
best regards to you
William