HNHacker News
TopNewBestAskShowJobs

weebhard

3 karma · joined November 6, 2018

submissionscomments
weebhard··on Accelerated “Ray Tracing in One Weekend” in CUDA
thanks! that did it, works now. Makefile had "sm_60" arch flag while my card is sm_50.
weebhard··on Accelerated “Ray Tracing in One Weekend” in CUDA
What's wrong with the code? I have CUDA 10 installed and all Nvidia's shipped samples work fine, while this doesn't. I'm new and totally lost, how can this be debug?

[weeb@neet ~/repo/raytracinginoneweekendincuda (ch01_output_cuda)]

$ ./cudart

Rendering a 1200x600 image in 8x8 blocks. CUDA error = 48 at main.cu:48 'cudaGetLastError()'