Skip to content

Commit

Permalink
Increase stack size for the raytracing example.
Browse files Browse the repository at this point in the history
  • Loading branch information
agheata committed Oct 13, 2023
1 parent fb294ca commit 0e51a1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/Raytracer_Benchmark/RaytraceBenchmark.cu
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ void RenderTiledImage(cuda::RaytracerData_t *rtdata, NavIndex_t *output_buffer,
void initiliazeCudaWorld(cuda::RaytracerData_t *rtdata) {

// Load and synchronize the geometry on the GPU
COPCORE_CUDA_CHECK(vecgeom::cxx::CudaDeviceSetStackLimit(8192));
auto &cudaManager = vecgeom::cxx::CudaManager::Instance();
cudaManager.LoadGeometry((vecgeom::cxx::VPlacedVolume *)rtdata->fWorld);
cudaManager.Synchronize();
Expand Down

0 comments on commit 0e51a1e

Please sign in to comment.