Skip to content

[cuda] Expose function to change heap limit

Jonas Hahnfeld requested to merge cuda-heap-limit into master

As of now, all "dynamically sized" shapes such as polyhedra, polycones, and extruded solids allocate memory in kernels. This is problematic as CUDA only has a very limited amount of scratch space for malloc / new. Until the "transfer code" for these types of shapes is fixed, add the function CudaDeviceSetHeapLimit similar to CudaDeviceSetStackLimit to let VecGeom clients work around this problem.

Merge request reports