Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmx::anonymous_namespace{devicetransfers_ocl.cpp} Namespace Reference

Functions

void throwUponFailure (cl_int status, const char *message)
 Help give useful diagnostics about error status while doing message. More...
 

Function Documentation

void gmx::anonymous_namespace{devicetransfers_ocl.cpp}::throwUponFailure ( cl_int  status,
const char *  message 
)

Help give useful diagnostics about error status while doing message.

Exceptions
InternalErrorIf status indicates failure, supplying descriptive text from message.