src/device/GPU_Device.cc
std::string GPU_Device::getErrorMessage(cudaError_t const err) {
  auto raw_message = cudaGetErrorString(err);
  std::string message(raw_message);
  return message;
}
//------------------------------------------------------------------------------------------------//
//! Return a text string that corresponds to a CUDA error enum.
Return a text string that corresponds to a CUDA error enum.
Return a text string that corresponds to a CUDA error enum .
std::string GPU_Device::getErrorMessage(cudaError_t const err) {
  auto raw_message = cudaGetErrorString(err);
  std::string message(raw_message);
  return message;
}
std :: string GPU_Device :: getErrorMessage ( cudaError_t const err ) { auto raw_message = cudaGetErrorString ( err ) ; std :: string message ( raw_message ) ; return message ; }
Return a text string that corresponds to a CUDA error enum.
Return a text string that corresponds to a CUDA error enum .