Add a default LevelLocator to LogicalVolume instances on the GPU device
This MR fixes the device function GlobalLocator::locateGlobalPoint()
, by adding a LevelLocator to all LogicalVolume
instances on the device, in analogy to the corresponding instances on the CPU.
Moreover, currently the on-device static variable globaldevicegeomdata::gMaxDepth
only gets initialized when USE_NAVINDEX=ON
, therefore this configuration is now forced automatically within CMake whenever CUDA=ON
is set.
Note: this MR fixes the on-device track initialization feature as requested by Celeritas.