Hello everyone) I am making some home-work in my university and I need to write Ray Tracing on CUDA. If you have written it and you can give me your sources It will be very usefull to me, because I’m a newbie in CUDA programming. Thank you)
My e-mail is ratmur@gmail.com
However, this code uses many global variable.
You must modify the code without global variable for multi threading.
It was difficult for me to do it, even if it was written by C.
But, I’ve modified it and I could have the same result of the site’s picture with host CPU.
And now, I’m modifying code for CUDA.
However, an internal error of the compiler of contacting the support goes out, and it doesn’t advance it previously.
Hello there!
I’m noridon who attached the source code of ray tracing here before.
The referred table was able to be sped up by about 10% by doing assign to the constant memory.
Next, how should I do though I want to copy the memory by using the stream asynchronously with the calculation?
What should I do?
It would be greatly appreciated if someone could be taught.
P.S.
I fixed some bugs.
Please remove .txt from filename before compile. RayTraceCUDA.cu.txt (13.7 KB)