CMS 3D CMS Logo

Namespaces | Macros | Functions
rsmiCheck.h File Reference
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <string_view>
#include <rocm_smi/rocm_smi.h>
#include "FWCore/Utilities/interface/Likely.h"

Go to the source code of this file.

Namespaces

 cms
 Namespace of DDCMS conversion namespace.
 
 cms::rocm
 

Macros

#define rsmiCheck(ARG, ...)   (cms::rocm::rsmiCheck_(__FILE__, __LINE__, #ARG, (ARG), ##__VA_ARGS__))
 

Functions

void cms::rocm::abortOnRsmiError (const char *file, int line, const char *cmd, const char *error, const char *message, std::string_view description=std::string_view())
 
bool cms::rocm::rsmiCheck_ (const char *file, int line, const char *cmd, rsmi_status_t result, std::string_view description=std::string_view())
 

Macro Definition Documentation

◆ rsmiCheck

#define rsmiCheck (   ARG,
  ... 
)    (cms::rocm::rsmiCheck_(__FILE__, __LINE__, #ARG, (ARG), ##__VA_ARGS__))

Definition at line 53 of file rsmiCheck.h.

Referenced by ROCmService::ROCmService().