#include <cstdlib>
#include <iostream>
#include <hip/hip_runtime.h>
#include "HeterogeneousCore/ROCmUtilities/interface/requireDevices.h"
Go to the source code of this file.
Namespaces | |
cms::rocmtest | |
Functions | |
void | cms::rocmtest::requireDevices () |
Print message and exit if there are no ROCm devices. More... | |
bool | cms::rocmtest::testDevices () |
In presence of ROCm devices, return true; otherwise print message and return false. More... | |