cuPHY  0.1
CUDA PHY Layer Acceration Library
Functions
Error Handling

This section describes the error handling functions of the cuPHY application programming interface. More...

Functions

const char * cuphyGetErrorName (cuphyStatus_t status)
 Returns a string version of an error code enumeration value. More...
 
const char * cuphyGetErrorString (cuphyStatus_t status)
 Returns the description string for an error code. More...
 

Detailed Description

Function Documentation

◆ cuphyGetErrorName()

const char* cuphyGetErrorName ( cuphyStatus_t  status)

Returns a string version of an error code. If the error code is not recognized, "CUPHY_UNKNOWN_STATUS" is returned.

Parameters
status- Status code for desired string
Returns
char* pointer to a NULL-terminated string
See also
cuphyGetErrorString, cuphyStatus_t

◆ cuphyGetErrorString()

const char* cuphyGetErrorString ( cuphyStatus_t  status)

Returns the description string for an error code. If the error code is not recognized, "Unknown status code" is returned.

Parameters
status- Status code for desired string
Returns
char* pointer to a NULL-terminated string
See also
cuphyGetErrorName, cuphyStatus_t