154 #define clrngPhilox432RandomU01 _CLRNG_TAG_FPTYPE(clrngPhilox432RandomU01) 155 #define clrngPhilox432RandomInteger _CLRNG_TAG_FPTYPE(clrngPhilox432RandomInteger) 156 #define clrngPhilox432RandomU01Array _CLRNG_TAG_FPTYPE(clrngPhilox432RandomU01Array) 157 #define clrngPhilox432RandomIntegerArray _CLRNG_TAG_FPTYPE(clrngPhilox432RandomIntegerArray) 220 #ifdef CLRNG_SINGLE_PRECISION 221 #define clrngPhilox432DeviceRandomU01Array(...) clrngPhilox432DeviceRandomU01Array_(__VA_ARGS__, CL_TRUE) 223 #define clrngPhilox432DeviceRandomU01Array(...) clrngPhilox432DeviceRandomU01Array_(__VA_ARGS__, CL_FALSE) 230 size_t numberCount, cl_mem outBuffer, cl_uint numQueuesAndEvents,
231 cl_command_queue* commQueues, cl_uint numWaitEvents,
232 const cl_event* waitEvents, cl_event* outEvents, cl_bool singlePrecision);
#define clrngPhilox432RandomInteger
Definition: philox432.h:155
Library definitions common to all RNG's.
CLRNGAPI clrngPhilox432Stream * clrngPhilox432AllocStreams(size_t count, size_t *bufSize, clrngStatus *err)
Definition: philox432.c:168
clrngPhilox432Counter ctr
Definition: philox432.h:64
struct clrngPhilox432Counter_ clrngPhilox432Counter
CLRNGAPI 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)
Definition: philox432.c:488
CLRNGAPI clrngStatus clrngPhilox432RewindSubstreams(size_t count, clrngPhilox432Stream *streams)
Definition: device/philox432.c.h:204
CLRNGAPI clrngStatus clrngPhilox432RandomIntegerArray_cl_double(clrngPhilox432Stream *stream, cl_int i, cl_int j, size_t count, cl_int *buffer)
clrngPhilox432StreamState initial
Definition: philox432.h:77
clrngPhilox432SB L
Definition: philox432.h:58
CLRNGAPI clrngStatus clrngPhilox432RandomIntegerArray_cl_float(clrngPhilox432Stream *stream, cl_int i, cl_int j, size_t count, cl_int *buffer)
CLRNGAPI clrngPhilox432Stream * clrngPhilox432CopyStreams(size_t count, const clrngPhilox432Stream *streams, clrngStatus *err)
Definition: philox432.c:252
enum clrngStatus_ clrngStatus
Error codes.
Definition: philox432.h:57
cl_uint lsb
Definition: philox432.h:54
CLRNGAPI clrngStatus clrngPhilox432WriteStreamInfo(const clrngPhilox432Stream *stream, FILE *file)
Definition: philox432.c:291
CLRNGAPI cl_float clrngPhilox432RandomU01_cl_float(clrngPhilox432Stream *stream)
CLRNGAPI clrngStatus clrngPhilox432RewindStreams(size_t count, clrngPhilox432Stream *streams)
Definition: device/philox432.c.h:181
CLRNGAPI clrngPhilox432Stream * clrngPhilox432CreateStreams(clrngPhilox432StreamCreator *creator, size_t count, size_t *bufSize, clrngStatus *err)
Definition: philox432.c:234
CLRNGAPI cl_int clrngPhilox432RandomInteger_cl_float(clrngPhilox432Stream *stream, cl_int i, cl_int j)
clrngPhilox432StreamState current
Definition: philox432.h:76
#define _CLRNG_FPTYPE
Definition: clRNG.h:314
CLRNGAPI clrngStatus clrngPhilox432DestroyStreams(clrngPhilox432Stream *streams)
Definition: philox432.c:193
cl_uint msb
Definition: philox432.h:54
CLRNGAPI clrngPhilox432StreamCreator * clrngPhilox432CopyStreamCreator(const clrngPhilox432StreamCreator *creator, clrngStatus *err)
Definition: philox432.c:82
clrngPhilox432StreamState substream
Definition: philox432.h:78
CLRNGAPI clrngStatus clrngPhilox432ChangeStreamsSpacing(clrngPhilox432StreamCreator *creator, cl_int e, cl_int c)
Definition: philox432.c:139
CLRNGAPI clrngStatus clrngPhilox432AdvanceStreams(size_t count, clrngPhilox432Stream *streams, cl_int e, cl_int c)
Definition: philox432.c:472
Definition: philox432.c:44
#define clrngPhilox432RandomU01
Definition: philox432.h:154
CLRNGAPI cl_int clrngPhilox432RandomInteger_cl_double(clrngPhilox432Stream *stream, cl_int i, cl_int j)
CLRNGAPI clrngStatus clrngPhilox432RandomU01Array_cl_float(clrngPhilox432Stream *stream, size_t count, cl_float *buffer)
#define clrngPhilox432RandomU01Array
Definition: philox432.h:156
CLRNGAPI clrngPhilox432Stream * clrngPhilox432MakeSubstreams(clrngPhilox432Stream *stream, size_t count, size_t *bufSize, clrngStatus *err)
Definition: philox432.c:273
CLRNGAPI clrngStatus clrngPhilox432CreateOverStreams(clrngPhilox432StreamCreator *creator, size_t count, clrngPhilox432Stream *streams)
Definition: philox432.c:219
CLRNGAPI clrngStatus clrngPhilox432RandomU01Array_cl_double(clrngPhilox432Stream *stream, size_t count, cl_double *buffer)
#define CLRNGAPI
Definition: clRNG.h:326
Definition: philox432.h:53
Definition: philox432.h:62
CLRNGAPI clrngStatus clrngPhilox432RewindStreamCreator(clrngPhilox432StreamCreator *creator)
Definition: philox432.c:113
CLRNGAPI clrngStatus clrngPhilox432MakeOverSubstreams(clrngPhilox432Stream *stream, size_t count, clrngPhilox432Stream *substreams)
Definition: device/philox432.c.h:242
cl_uint deckIndex
Definition: philox432.h:66
CLRNGAPI clrngStatus clrngPhilox432CopyOverStreams(size_t count, clrngPhilox432Stream *destStreams, const clrngPhilox432Stream *srcStreams)
Definition: device/philox432.c.h:72
#define clrngPhilox432RandomIntegerArray
Definition: philox432.h:157
CLRNGAPI cl_double clrngPhilox432RandomU01_cl_double(clrngPhilox432Stream *stream)
CLRNGAPI clrngStatus clrngPhilox432DestroyStreamCreator(clrngPhilox432StreamCreator *creator)
Definition: philox432.c:106
Definition: philox432.h:70
CLRNGAPI clrngStatus clrngPhilox432ForwardToNextSubstreams(size_t count, clrngPhilox432Stream *streams)
Definition: device/philox432.c.h:228
struct clrngPhilox432SB_ clrngPhilox432SB
CLRNGAPI clrngStatus clrngPhilox432SetBaseCreatorState(clrngPhilox432StreamCreator *creator, const clrngPhilox432StreamState *baseState)
Definition: philox432.c:121