/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
HeterogeneousCore/Common/interface/PlatformStatus.h
13 строк
575 B
Andrea Bocci
Use different exit codes for different conditions
23 фев 2023, 18:33
Не верифицирован
23 фев 2023, 18:33
a2fe732
Код
Авторство
О чём код?
#ifndef HeterogeneousCore_Common_interface_PlatformStatus_h #define HeterogeneousCore_Common_interface_PlatformStatus_h // Please note: these values must be kept in sync with HeterogeneousCore/Common/python/PlatformStatus.py enum PlatformStatus : int { Success = 0, PlatformNotAvailable = 1, // the platform is not available for this architecture, OS or compiler RuntimeNotAvailable = 2, // the runtime could not be initialised DevicesNotAvailable = 3, // there are no visible, usable devices }; #endif // HeterogeneousCore_Common_interface_PlatformStatus_h