OmniSciDB  addbbd5075
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CudaMgr_Namespace Namespace Reference


struct  DeviceProperties
class  CudaMgr


std::string errorMessage (CUresult const status)

Function Documentation

std::string CudaMgr_Namespace::errorMessage ( CUresult const  status)

Definition at line 28 of file CudaMgr.cpp.

References to_string().

28  {
29  const char* errorString{nullptr};
30  cuGetErrorString(status, &errorString);
31  return errorString ? "CUDA Error: " + std::string(errorString)
32  : "CUDA Driver API error code " + std::to_string(status);
33 }
std::string to_string(char const *&&v)

+ Here is the call graph for this function: