GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
lfsr113.h File Reference
#include <clRNG/clRNG.h>
#include <stdio.h>

Go to the source code of this file.

Classes

struct  clrngLfsr113StreamState
 
struct  clrngLfsr113Stream_
 

Macros

#define LFSR113_H
 
#define clrngLfsr113RandomU01   _CLRNG_TAG_FPTYPE(clrngLfsr113RandomU01)
 
#define clrngLfsr113RandomInteger   _CLRNG_TAG_FPTYPE(clrngLfsr113RandomInteger)
 
#define clrngLfsr113RandomU01Array   _CLRNG_TAG_FPTYPE(clrngLfsr113RandomU01Array)
 
#define clrngLfsr113RandomIntegerArray   _CLRNG_TAG_FPTYPE(clrngLfsr113RandomIntegerArray)
 
#define clrngLfsr113DeviceRandomU01Array(...)   clrngLfsr113DeviceRandomU01Array_(__VA_ARGS__, CL_FALSE)
 

Typedefs

typedef struct clrngLfsr113Stream_ clrngLfsr113Stream
 
typedef struct clrngLfsr113StreamCreator_ clrngLfsr113StreamCreator
 

Functions

CLRNGAPI clrngLfsr113StreamCreatorclrngLfsr113CopyStreamCreator (const clrngLfsr113StreamCreator *creator, clrngStatus *err)
 
CLRNGAPI clrngStatus clrngLfsr113DestroyStreamCreator (clrngLfsr113StreamCreator *creator)
 
CLRNGAPI clrngStatus clrngLfsr113RewindStreamCreator (clrngLfsr113StreamCreator *creator)
 
CLRNGAPI clrngStatus clrngLfsr113SetBaseCreatorState (clrngLfsr113StreamCreator *creator, const clrngLfsr113StreamState *baseState)
 
CLRNGAPI clrngStatus clrngLfsr113ChangeStreamsSpacing (clrngLfsr113StreamCreator *creator, cl_int e, cl_int c)
 
CLRNGAPI clrngLfsr113StreamclrngLfsr113AllocStreams (size_t count, size_t *bufSize, clrngStatus *err)
 
CLRNGAPI clrngStatus clrngLfsr113DestroyStreams (clrngLfsr113Stream *streams)
 
CLRNGAPI clrngStatus clrngLfsr113CreateOverStreams (clrngLfsr113StreamCreator *creator, size_t count, clrngLfsr113Stream *streams)
 
CLRNGAPI clrngLfsr113StreamclrngLfsr113CreateStreams (clrngLfsr113StreamCreator *creator, size_t count, size_t *bufSize, clrngStatus *err)
 
CLRNGAPI clrngStatus clrngLfsr113CopyOverStreams (size_t count, clrngLfsr113Stream *destStreams, const clrngLfsr113Stream *srcStreams)
 
CLRNGAPI clrngLfsr113StreamclrngLfsr113CopyStreams (size_t count, const clrngLfsr113Stream *streams, clrngStatus *err)
 
CLRNGAPI _CLRNG_FPTYPE clrngLfsr113RandomU01 (clrngLfsr113Stream *stream)
 
CLRNGAPI cl_float clrngLfsr113RandomU01_cl_float (clrngLfsr113Stream *stream)
 
CLRNGAPI cl_double clrngLfsr113RandomU01_cl_double (clrngLfsr113Stream *stream)
 
CLRNGAPI cl_int clrngLfsr113RandomInteger (clrngLfsr113Stream *stream, cl_int i, cl_int j)
 
CLRNGAPI cl_int clrngLfsr113RandomInteger_cl_float (clrngLfsr113Stream *stream, cl_int i, cl_int j)
 
CLRNGAPI cl_int clrngLfsr113RandomInteger_cl_double (clrngLfsr113Stream *stream, cl_int i, cl_int j)
 
CLRNGAPI clrngStatus clrngLfsr113RandomU01Array (clrngLfsr113Stream *stream, size_t count, _CLRNG_FPTYPE *buffer)
 
CLRNGAPI clrngStatus clrngLfsr113RandomU01Array_cl_float (clrngLfsr113Stream *stream, size_t count, cl_float *buffer)
 
CLRNGAPI clrngStatus clrngLfsr113RandomU01Array_cl_double (clrngLfsr113Stream *stream, size_t count, cl_double *buffer)
 
CLRNGAPI clrngStatus clrngLfsr113RandomIntegerArray (clrngLfsr113Stream *stream, cl_int i, cl_int j, size_t count, cl_int *buffer)
 
CLRNGAPI clrngStatus clrngLfsr113RandomIntegerArray_cl_float (clrngLfsr113Stream *stream, cl_int i, cl_int j, size_t count, cl_int *buffer)
 
CLRNGAPI clrngStatus clrngLfsr113RandomIntegerArray_cl_double (clrngLfsr113Stream *stream, cl_int i, cl_int j, size_t count, cl_int *buffer)
 
CLRNGAPI clrngStatus clrngLfsr113RewindStreams (size_t count, clrngLfsr113Stream *streams)
 
CLRNGAPI clrngStatus clrngLfsr113RewindSubstreams (size_t count, clrngLfsr113Stream *streams)
 
CLRNGAPI clrngStatus clrngLfsr113ForwardToNextSubstreams (size_t count, clrngLfsr113Stream *streams)
 
CLRNGAPI clrngLfsr113StreamclrngLfsr113MakeSubstreams (clrngLfsr113Stream *stream, size_t count, size_t *bufSize, clrngStatus *err)
 
CLRNGAPI clrngStatus clrngLfsr113MakeOverSubstreams (clrngLfsr113Stream *stream, size_t count, clrngLfsr113Stream *substreams)
 
CLRNGAPI clrngStatus clrngLfsr113AdvanceStreams (size_t count, clrngLfsr113Stream *streams, cl_int e, cl_int c)
 
CLRNGAPI clrngStatus clrngLfsr113DeviceRandomU01Array_ (size_t streamCount, cl_mem streams, size_t numberCount, cl_mem outBuffer, cl_uint numQueuesAndEvents, cl_command_queue *commQueues, cl_uint numWaitEvents, const cl_event *waitEvents, cl_event *outEvents, cl_bool singlePrecision)
 
CLRNGAPI clrngStatus clrngLfsr113WriteStreamInfo (const clrngLfsr113Stream *stream, FILE *file)
 

Macro Definition Documentation

◆ clrngLfsr113DeviceRandomU01Array

#define clrngLfsr113DeviceRandomU01Array (   ...)    clrngLfsr113DeviceRandomU01Array_(__VA_ARGS__, CL_FALSE)

See also
clrngDeviceRandomU01Array()

◆ clrngLfsr113RandomInteger

#define clrngLfsr113RandomInteger   _CLRNG_TAG_FPTYPE(clrngLfsr113RandomInteger)

◆ clrngLfsr113RandomIntegerArray

#define clrngLfsr113RandomIntegerArray   _CLRNG_TAG_FPTYPE(clrngLfsr113RandomIntegerArray)

◆ clrngLfsr113RandomU01

#define clrngLfsr113RandomU01   _CLRNG_TAG_FPTYPE(clrngLfsr113RandomU01)

◆ clrngLfsr113RandomU01Array

#define clrngLfsr113RandomU01Array   _CLRNG_TAG_FPTYPE(clrngLfsr113RandomU01Array)

◆ LFSR113_H

#define LFSR113_H

Typedef Documentation

◆ clrngLfsr113Stream

See also
clrngStream

◆ clrngLfsr113StreamCreator

See also
clrngStreamCreator

Function Documentation

◆ clrngLfsr113AdvanceStreams()

CLRNGAPI clrngStatus clrngLfsr113AdvanceStreams ( size_t  count,
clrngLfsr113Stream streams,
cl_int  e,
cl_int  c 
)

See also
clrngAdvanceStreams()

◆ clrngLfsr113AllocStreams()

CLRNGAPI clrngLfsr113Stream* clrngLfsr113AllocStreams ( size_t  count,
size_t *  bufSize,
clrngStatus err 
)

See also
clrngAllocStreams()

◆ clrngLfsr113ChangeStreamsSpacing()

CLRNGAPI clrngStatus clrngLfsr113ChangeStreamsSpacing ( clrngLfsr113StreamCreator creator,
cl_int  e,
cl_int  c 
)

See also
clrngChangeStreamsSpacing()

◆ clrngLfsr113CopyOverStreams()

CLRNGAPI clrngStatus clrngLfsr113CopyOverStreams ( size_t  count,
clrngLfsr113Stream destStreams,
const clrngLfsr113Stream srcStreams 
)

See also
clrngCopyOverStreams()

◆ clrngLfsr113CopyStreamCreator()

CLRNGAPI clrngLfsr113StreamCreator* clrngLfsr113CopyStreamCreator ( const clrngLfsr113StreamCreator creator,
clrngStatus err 
)

See also
clrngCopyStreamCreator()

◆ clrngLfsr113CopyStreams()

CLRNGAPI clrngLfsr113Stream* clrngLfsr113CopyStreams ( size_t  count,
const clrngLfsr113Stream streams,
clrngStatus err 
)

See also
clrngCopyStreams()

◆ clrngLfsr113CreateOverStreams()

CLRNGAPI clrngStatus clrngLfsr113CreateOverStreams ( clrngLfsr113StreamCreator creator,
size_t  count,
clrngLfsr113Stream streams 
)

See also
clrngCreateOverStreams()

◆ clrngLfsr113CreateStreams()

CLRNGAPI clrngLfsr113Stream* clrngLfsr113CreateStreams ( clrngLfsr113StreamCreator creator,
size_t  count,
size_t *  bufSize,
clrngStatus err 
)

See also
clrngCreateStreams()

◆ clrngLfsr113DestroyStreamCreator()

CLRNGAPI clrngStatus clrngLfsr113DestroyStreamCreator ( clrngLfsr113StreamCreator creator)

See also
clrngDestroyStreamCreator()

◆ clrngLfsr113DestroyStreams()

CLRNGAPI clrngStatus clrngLfsr113DestroyStreams ( clrngLfsr113Stream streams)

See also
clrngDestroyStreams()

◆ clrngLfsr113DeviceRandomU01Array_()

CLRNGAPI clrngStatus clrngLfsr113DeviceRandomU01Array_ ( size_t  streamCount,
cl_mem  streams,
size_t  numberCount,
cl_mem  outBuffer,
cl_uint  numQueuesAndEvents,
cl_command_queue *  commQueues,
cl_uint  numWaitEvents,
const cl_event *  waitEvents,
cl_event *  outEvents,
cl_bool  singlePrecision 
)

◆ clrngLfsr113ForwardToNextSubstreams()

CLRNGAPI clrngStatus clrngLfsr113ForwardToNextSubstreams ( size_t  count,
clrngLfsr113Stream streams 
)

See also
clrngForwardToNextSubstreams()

◆ clrngLfsr113MakeOverSubstreams()

CLRNGAPI clrngStatus clrngLfsr113MakeOverSubstreams ( clrngLfsr113Stream stream,
size_t  count,
clrngLfsr113Stream substreams 
)

See also
clrngMakeOverSubstreams()

◆ clrngLfsr113MakeSubstreams()

CLRNGAPI clrngLfsr113Stream* clrngLfsr113MakeSubstreams ( clrngLfsr113Stream stream,
size_t  count,
size_t *  bufSize,
clrngStatus err 
)

See also
clrngMakeSubstreams()

◆ clrngLfsr113RandomInteger()

CLRNGAPI cl_int clrngLfsr113RandomInteger ( clrngLfsr113Stream stream,
cl_int  i,
cl_int  j 
)

See also
clrngRandomInteger()

◆ clrngLfsr113RandomInteger_cl_double()

CLRNGAPI cl_int clrngLfsr113RandomInteger_cl_double ( clrngLfsr113Stream stream,
cl_int  i,
cl_int  j 
)

◆ clrngLfsr113RandomInteger_cl_float()

CLRNGAPI cl_int clrngLfsr113RandomInteger_cl_float ( clrngLfsr113Stream stream,
cl_int  i,
cl_int  j 
)

◆ clrngLfsr113RandomIntegerArray()

CLRNGAPI clrngStatus clrngLfsr113RandomIntegerArray ( clrngLfsr113Stream stream,
cl_int  i,
cl_int  j,
size_t  count,
cl_int *  buffer 
)

See also
clrngRandomIntegerArray()

◆ clrngLfsr113RandomIntegerArray_cl_double()

CLRNGAPI clrngStatus clrngLfsr113RandomIntegerArray_cl_double ( clrngLfsr113Stream stream,
cl_int  i,
cl_int  j,
size_t  count,
cl_int *  buffer 
)

◆ clrngLfsr113RandomIntegerArray_cl_float()

CLRNGAPI clrngStatus clrngLfsr113RandomIntegerArray_cl_float ( clrngLfsr113Stream stream,
cl_int  i,
cl_int  j,
size_t  count,
cl_int *  buffer 
)

◆ clrngLfsr113RandomU01()

CLRNGAPI _CLRNG_FPTYPE clrngLfsr113RandomU01 ( clrngLfsr113Stream stream)

See also
clrngRandomU01()

◆ clrngLfsr113RandomU01_cl_double()

CLRNGAPI cl_double clrngLfsr113RandomU01_cl_double ( clrngLfsr113Stream stream)

◆ clrngLfsr113RandomU01_cl_float()

CLRNGAPI cl_float clrngLfsr113RandomU01_cl_float ( clrngLfsr113Stream stream)

◆ clrngLfsr113RandomU01Array()

CLRNGAPI clrngStatus clrngLfsr113RandomU01Array ( clrngLfsr113Stream stream,
size_t  count,
_CLRNG_FPTYPE buffer 
)

See also
clrngRandomU01Array()

◆ clrngLfsr113RandomU01Array_cl_double()

CLRNGAPI clrngStatus clrngLfsr113RandomU01Array_cl_double ( clrngLfsr113Stream stream,
size_t  count,
cl_double *  buffer 
)

◆ clrngLfsr113RandomU01Array_cl_float()

CLRNGAPI clrngStatus clrngLfsr113RandomU01Array_cl_float ( clrngLfsr113Stream stream,
size_t  count,
cl_float *  buffer 
)

◆ clrngLfsr113RewindStreamCreator()

CLRNGAPI clrngStatus clrngLfsr113RewindStreamCreator ( clrngLfsr113StreamCreator creator)

See also
clrngRewindStreamCreator()

◆ clrngLfsr113RewindStreams()

CLRNGAPI clrngStatus clrngLfsr113RewindStreams ( size_t  count,
clrngLfsr113Stream streams 
)

See also
clrngRewindStreams()

◆ clrngLfsr113RewindSubstreams()

CLRNGAPI clrngStatus clrngLfsr113RewindSubstreams ( size_t  count,
clrngLfsr113Stream streams 
)

See also
clrngRewindSubstreams()

◆ clrngLfsr113SetBaseCreatorState()

CLRNGAPI clrngStatus clrngLfsr113SetBaseCreatorState ( clrngLfsr113StreamCreator creator,
const clrngLfsr113StreamState baseState 
)

See also
clrngSetBaseCreatorState()

◆ clrngLfsr113WriteStreamInfo()

CLRNGAPI clrngStatus clrngLfsr113WriteStreamInfo ( const clrngLfsr113Stream stream,
FILE *  file 
)
See also
clrngWriteStreamInfo()