owl-project / NVISII

Apache License 2.0
319 stars 27 forks source link

CUDA error when CDF=True #152

Open murrdpirate opened 1 year ago

murrdpirate commented 1 year ago

Eventually, after perhaps a hundred or so renderings at 256 spp, I get a CUDA error (see below).

This only occurs if CDF is enabled:

nvisii.set_dome_light_texture(texture, enable_cdf=True)

The error:

CUDA call (cudaMemcpyAsync((char*)d_pointer + offset,hostDataPtr, ((count == -1) ? parent->elementCount : count)*sizeOf(parent->type), cudaMemcpyDefault, device->getStream())) failed with code 700 (line 292): an illegal memory access was encountered Aborted (core dumped)