Skip to content

Commit

Permalink
Merge branch 'fix/optix8' into 'develop'
Browse files Browse the repository at this point in the history
OptiX 8 compile error

See merge request amock/rmagine!1
  • Loading branch information
amock committed Apr 5, 2024
2 parents ef91639 + 478681f commit 13217b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rmagine_optix/src/util/optix/optix_modules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ProgramModule::~ProgramModule()
#if OPTIX_VERSION >= 70400
if(compile_options->payloadTypes)
{
cudaFreeHost(compile_options->payloadTypes);
cudaFreeHost(const_cast<void*>(reinterpret_cast<const void*>(compile_options->payloadTypes)));
}
#endif

Expand Down

0 comments on commit 13217b0

Please sign in to comment.