GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
private.h File Reference

Go to the source code of this file.

Macros

#define PRIVATE_H
 

Functions

clrngStatus clrngSetErrorString (cl_int err, const char *msg,...)
 Set the current error string. More...
 

Macro Definition Documentation

◆ PRIVATE_H

#define PRIVATE_H

Function Documentation

◆ clrngSetErrorString()

clrngStatus clrngSetErrorString ( cl_int  err,
const char *  msg,
  ... 
)

Set the current error string.

The error string will be constructed based on the error code err and on the optional message msg.

Parameters
[in]errError code.
[in]msgAdditional error message (format string). Can be NULL.
[in]...Additional arguments for the format string.
Returns
The value of err (for convenience).