CMS 3D CMS Logo

requireDevices.h
Go to the documentation of this file.
1 #ifndef HeterogeneousCore_ROCmUtilities_interface_requireDevices_h
2 #define HeterogeneousCore_ROCmUtilities_interface_requireDevices_h
3 
7 namespace cms {
8  namespace rocmtest {
9 
11  bool testDevices();
12 
14  void requireDevices();
15 
16  } // namespace rocmtest
17 } // namespace cms
18 
19 #endif // HeterogeneousCore_ROCmUtilities_interface_requireDevices_h
Namespace of DDCMS conversion namespace.
void requireDevices()
Print message and exit if there are no ROCm devices.
bool testDevices()
In presence of ROCm devices, return true; otherwise print message and return false.