GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
philox432.c File Reference
#include <clRNG/philox432.h>
#include "private.h"
#include <stdlib.h>
#include "clRNG/private/philox432.c.h"

Classes

struct  clrngPhilox432StreamCreator_
 

Macros

#define BASE_CREATOR_STATE
 Default initial seed of the first stream. More...
 
#define BASE_CREATOR_JUMP_DISTANCE   {{ 16, 0},{ 0, 0 }}
 Jump Struc for $2^{100}$ steps forward. More...
 

Functions

clrngPhilox432StreamCreatorclrngPhilox432CopyStreamCreator (const clrngPhilox432StreamCreator *creator, clrngStatus *err)
 
clrngStatus clrngPhilox432DestroyStreamCreator (clrngPhilox432StreamCreator *creator)
 
clrngStatus clrngPhilox432RewindStreamCreator (clrngPhilox432StreamCreator *creator)
 
clrngStatus clrngPhilox432SetBaseCreatorState (clrngPhilox432StreamCreator *creator, const clrngPhilox432StreamState *baseState)
 
clrngStatus clrngPhilox432ChangeStreamsSpacing (clrngPhilox432StreamCreator *creator, cl_int e, cl_int c)
 
clrngPhilox432StreamclrngPhilox432AllocStreams (size_t count, size_t *bufSize, clrngStatus *err)
 
clrngStatus clrngPhilox432DestroyStreams (clrngPhilox432Stream *streams)
 
clrngStatus clrngPhilox432CreateOverStreams (clrngPhilox432StreamCreator *creator, size_t count, clrngPhilox432Stream *streams)
 
clrngPhilox432StreamclrngPhilox432CreateStreams (clrngPhilox432StreamCreator *creator, size_t count, size_t *bufSize, clrngStatus *err)
 
clrngPhilox432StreamclrngPhilox432CopyStreams (size_t count, const clrngPhilox432Stream *streams, clrngStatus *err)
 
clrngPhilox432StreamclrngPhilox432MakeSubstreams (clrngPhilox432Stream *stream, size_t count, size_t *bufSize, clrngStatus *err)
 
clrngStatus clrngPhilox432WriteStreamInfo (const clrngPhilox432Stream *stream, FILE *file)
 
void clrngPhilox432AdvanceStream_ (clrngPhilox432Stream *stream, cl_int e, cl_int c)
 
clrngStatus clrngPhilox432AdvanceStreams (size_t count, clrngPhilox432Stream *streams, cl_int e, cl_int c)
 
clrngStatus clrngPhilox432DeviceRandomU01Array_ (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)
 

Macro Definition Documentation

◆ BASE_CREATOR_JUMP_DISTANCE

#define BASE_CREATOR_JUMP_DISTANCE   {{ 16, 0},{ 0, 0 }}

Jump Struc for $2^{100}$ steps forward.

◆ BASE_CREATOR_STATE

#define BASE_CREATOR_STATE
Value:
{ \
{0, 0}, \
{{ 0, 0},{ 0, 1}}, \
{ 0, 0, 0, 0 }, \
0 }

Default initial seed of the first stream.

Function Documentation

◆ clrngPhilox432AdvanceStream_()

void clrngPhilox432AdvanceStream_ ( clrngPhilox432Stream stream,
cl_int  e,
cl_int  c 
)

◆ clrngPhilox432AdvanceStreams()

clrngStatus clrngPhilox432AdvanceStreams ( size_t  count,
clrngPhilox432Stream streams,
cl_int  e,
cl_int  c 
)

See also
clrngAdvanceStreams()

◆ clrngPhilox432AllocStreams()

clrngPhilox432Stream* clrngPhilox432AllocStreams ( size_t  count,
size_t *  bufSize,
clrngStatus err 
)

See also
clrngAllocStreams()

◆ clrngPhilox432ChangeStreamsSpacing()

clrngStatus clrngPhilox432ChangeStreamsSpacing ( clrngPhilox432StreamCreator creator,
cl_int  e,
cl_int  c 
)

See also
clrngChangeStreamsSpacing()

◆ clrngPhilox432CopyStreamCreator()

clrngPhilox432StreamCreator* clrngPhilox432CopyStreamCreator ( const clrngPhilox432StreamCreator creator,
clrngStatus err 
)

See also
clrngCopyStreamCreator()

◆ clrngPhilox432CopyStreams()

clrngPhilox432Stream* clrngPhilox432CopyStreams ( size_t  count,
const clrngPhilox432Stream streams,
clrngStatus err 
)

See also
clrngCopyStreams()

◆ clrngPhilox432CreateOverStreams()

clrngStatus clrngPhilox432CreateOverStreams ( clrngPhilox432StreamCreator creator,
size_t  count,
clrngPhilox432Stream streams 
)

See also
clrngCreateOverStreams()

◆ clrngPhilox432CreateStreams()

clrngPhilox432Stream* clrngPhilox432CreateStreams ( clrngPhilox432StreamCreator creator,
size_t  count,
size_t *  bufSize,
clrngStatus err 
)

See also
clrngCreateStreams()

◆ clrngPhilox432DestroyStreamCreator()

clrngStatus clrngPhilox432DestroyStreamCreator ( clrngPhilox432StreamCreator creator)

See also
clrngDestroyStreamCreator()

◆ clrngPhilox432DestroyStreams()

clrngStatus clrngPhilox432DestroyStreams ( clrngPhilox432Stream streams)

See also
clrngDestroyStreams()

◆ clrngPhilox432DeviceRandomU01Array_()

clrngStatus clrngPhilox432DeviceRandomU01Array_ ( 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 
)

◆ clrngPhilox432MakeSubstreams()

clrngPhilox432Stream* clrngPhilox432MakeSubstreams ( clrngPhilox432Stream stream,
size_t  count,
size_t *  bufSize,
clrngStatus err 
)

See also
clrngMakeSubstreams()

◆ clrngPhilox432RewindStreamCreator()

clrngStatus clrngPhilox432RewindStreamCreator ( clrngPhilox432StreamCreator creator)

See also
clrngRewindStreamCreator()

◆ clrngPhilox432SetBaseCreatorState()

clrngStatus clrngPhilox432SetBaseCreatorState ( clrngPhilox432StreamCreator creator,
const clrngPhilox432StreamState baseState 
)

See also
clrngSetBaseCreatorState()

◆ clrngPhilox432WriteStreamInfo()

clrngStatus clrngPhilox432WriteStreamInfo ( const clrngPhilox432Stream stream,
FILE *  file 
)

See also
clrngWriteStreamInfo()