I got an error when I used the optix code.
terminate called after throwing an instance of ‘optix::Exception’
what(): Memory allocation failed (Details: Function “RTresult _rtContextLaunch2D(RTcontext, unsigned int, RTsize, RTsize)” caught exception: Out of memory)
it may because of this line of code:
_ctx->launch(Entry_SbrFreqPrimary, grid.x, grid.y);
where _ctx means context.
can you give me some suggestion?
thanks a lot!