10 #ifndef CLQMC_TEMPLATE_H
11 #define CLQMC_TEMPLATE_H
13 #error This file is a template for point sets; it should not be included as is. Use a distribution-specific header such as poisson.h instead.
cl_uint clqmcDimension(const clqmcPointset *pointset)
Return the dimension of the point set [device].
cl_uint clqmcForwardToNextPoint(clqmcPointsetStream *stream)
Advance a stream to the next point [device].
cl_uint clqmcNumPoints(const clqmcPointset *pointset)
Return the number of point in the point set [device].
clqmcStatus clqmcCreateOverStream(clqmcPointsetStream *stream, const clqmcPointset *pointset, cl_uint partCount, cl_uint partIndex, const RandType *randomization)
Attach a new stream to a point set object in already allocated memory [device].
struct clqmcPointset_ clqmcPointset
Point set object [device].
Definition: clQMC_template.h:44
clqmcStatus clqmcDestroyStream(clqmcPointsetStream *stream)
Destroy a stream object.
clqmcPointset * clqmcCreate(..., size_t *objectSize, clqmcStatus *err)
Create a new point set object.
struct clqmcPointsetStream_ clqmcPointsetStream
Point set stream object [device].
Definition: clQMC_template.h:52
cl_uint clqmcCurrentPointIndex(const clqmcPointsetStream *stream)
Return the current point index of a stream [device].
clqmcPointsetStream * clqmcCreateStream(const clqmcPointset *pointset, cl_uint partCount, cl_uint partIndex, const double *shift, clqmcStatus *err)
Attach a new stream to a point set object.
clqmcStatus clqmcDestroy(clqmcPointset *pointset)
Destroy a point set object.
double clqmcNextCoordinate(clqmcPointsetStream *stream)
Return the value of the next coordinate [device].
cl_uint clqmcNextPoint(clqmcPointsetStream *stream, double *coords)
Retrieve all coordinates of the next point [device].
clqmcStatus clqmcWriteInfo(const clqmcPointset *pointset, FILE *file)
Write information about a point set object.
cl_uint clqmcCurrentCoordIndex(const clqmcPointsetStream *stream)
Return the current coordinate index of a stream [device].