CMS 3D CMS Logo

PlatformStatus.h
Go to the documentation of this file.
1 #ifndef HeterogeneousCore_Common_interface_PlatformStatus_h
2 #define HeterogeneousCore_Common_interface_PlatformStatus_h
3 
4 // Please note: these values must be kept in sync with HeterogeneousCore/Common/python/PlatformStatus.py
5 
6 enum PlatformStatus : int {
7  Success = 0,
8  PlatformNotAvailable = 1, // the platform is not available for this architecture, OS or compiler
9  RuntimeNotAvailable = 2, // the runtime could not be initialised
10  DevicesNotAvailable = 3, // there are no visible, usable devices
11 };
12 
13 #endif // HeterogeneousCore_Common_interface_PlatformStatus_h
PlatformStatus
Definition: PlatformStatus.h:6