src/device/GPU_Device.cc
void GPU_Device::checkForCudaError(cudaError_enum const errorCode) {
  std::ostringstream msg;
  msg << "A CUDA call returned the error: \"" << getErrorMessage(errorCode)
      << "\"";
  Insist(errorCode == CUDA_SUCCESS, msg.str());
}
//---------------------------------------------------------------------------//
/*!
 * \brief Convert a CUDA return enum value into a descriptive string.
 *
 * \param errorCode CUDA enum return value
 * \return descriptive string associated with
 *
 * For optimized builds with DRACO_DBC_LEVEL=0, this function will be empty
 * and any decent compiler will optimize this call away.
 */
\brief Convert a CUDA return enum value into a descriptive string.
\param errorCode CUDA enum return value
\return descriptive string associated with

For optimized builds with DRACO_DBC_LEVEL=0, this function will be empty
and any decent compiler will optimize this call away.
\ brief Convert a CUDA return enum value into a descriptive string . \ param errorCode CUDA enum return value \ return descriptive string associated with For optimized builds with DRACO_DBC_LEVEL = 0 this function will be empty and any decent compiler will optimize this call away .
void GPU_Device::checkForCudaError(cudaError_enum const errorCode) {
  std::ostringstream msg;
  msg << "A CUDA call returned the error: \"" << getErrorMessage(errorCode)
      << "\"";
  Insist(errorCode == CUDA_SUCCESS, msg.str());
}
void GPU_Device :: checkForCudaError ( cudaError_enum const errorCode ) { std :: ostringstream msg ; msg << " \" " << getErrorMessage ( errorCode ) << " \" " ; Insist ( errorCode == CUDA_SUCCESS , msg . str ( ) ) ; }
\brief Convert a CUDA return enum value into a descriptive string.
\ brief Convert a CUDA return enum value into a descriptive string .