CMS 3D CMS Logo

Namespaces | Macros | Functions
hipCheck.h File Reference
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <string_view>
#include <hip/hip_runtime.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 hipCheck(ARG, ...)   (cms::rocm::hipCheck_(__FILE__, __LINE__, #ARG, (ARG), ##__VA_ARGS__))
 

Functions

void cms::rocm::abortOnError (const char *file, int line, const char *cmd, const char *error, const char *message, std::string_view description=std::string_view())
 
bool cms::rocm::hipCheck_ (const char *file, int line, const char *cmd, hipError_t result, std::string_view description=std::string_view())
 

Macro Definition Documentation

◆ hipCheck

#define hipCheck (   ARG,
  ... 
)    (cms::rocm::hipCheck_(__FILE__, __LINE__, #ARG, (ARG), ##__VA_ARGS__))