File indexing completed on 2026-04-17 08:35:30
0001
0002
0003
0004 #ifndef VECGEOM_MANAGEMENT_DEVICEGLOBALS_H_
0005 #define VECGEOM_MANAGEMENT_DEVICEGLOBALS_H_
0006
0007 #include "VecGeom/base/Cuda.h"
0008 #include "VecGeom/base/Global.h"
0009
0010 #pragma once
0011 namespace vecgeom {
0012
0013 namespace cuda {
0014 class VPlacedVolume;
0015 class LogicalVolume;
0016 }
0017
0018 VECGEOM_DEVICE_FORWARD_DECLARE(struct VolumeTree;);
0019 VECGEOM_DEVICE_FORWARD_DECLARE(class LogicalVolume;);
0020 VECGEOM_DEVICE_FORWARD_DECLARE(class VPlacedVolume;);
0021
0022 struct VolumeTree;
0023
0024
0025
0026 namespace globaldevicegeomdata {
0027 inline VECCORE_ATT_DEVICE VolumeTree *gVolumeTree = nullptr;
0028 inline VECCORE_ATT_DEVICE cuda::VPlacedVolume *gCompactPlacedVolBuffer = nullptr;
0029 inline VECCORE_ATT_DEVICE cuda::LogicalVolume *gDeviceLogicalVolumes = nullptr;
0030 inline VECCORE_ATT_DEVICE NavIndex_t *gNavIndex = nullptr;
0031 inline VECCORE_ATT_DEVICE int gMaxDepth = 0;
0032 }
0033 }
0034 #endif