CMS 3D CMS Logo

PlatformStatus.py
Go to the documentation of this file.
1 import enum
2 
3 # Please note: these values must be kept in sync with HeterogeneousCore/Common/interface/PlatformStatus.h
4 
5 class PlatformStatus(enum.IntEnum):
6  Success = 0
7  PlatformNotAvailable = 1 # the platform is not available for this architecture, OS or compiler
8  RuntimeNotAvailable = 2 # the runtime could not be initialised
9  DevicesNotAvailable = 3 # there are no visible, usable devices