19 #if AF_API_VERSION >= 33 35 const dim4 dims,
const dim4 strides,
40 #if AF_API_VERSION >= 33 50 #if AF_API_VERSION >= 33 60 #if AF_API_VERSION >= 33 72 #if AF_API_VERSION >= 33 82 #if AF_API_VERSION >= 33 99 #if AF_API_VERSION >= 33 117 const unsigned ndims,
118 const dim_t *
const dims,
119 const dim_t *
const strides,
124 #if AF_API_VERSION >= 33 137 #if AF_API_VERSION >= 33 147 #if AF_API_VERSION >= 33 159 #if AF_API_VERSION >= 33 169 #if AF_API_VERSION >= 33 179 #if AF_API_VERSION >= 35 Definition: algorithm.h:14
AFAPI af_err af_get_strides(dim_t *s0, dim_t *s1, dim_t *s2, dim_t *s3, const af_array arr)
AFAPI af_err af_get_offset(dim_t *offset, const af_array arr)
AFAPI void * getRawPtr(const array &in)
AFAPI af_err af_create_strided_array(af_array *arr, const void *data, const dim_t offset, const unsigned ndims, const dim_t *const dims, const dim_t *const strides, const af_dtype ty, const af_source location)
AFAPI dim_t getOffset(const array &in)
AFAPI af_err af_is_owner(bool *result, const af_array arr)
AFAPI bool isOwner(const array &in)
AFAPI af_err af_is_linear(bool *result, const af_array arr)
af_err
Definition: defines.h:63
AFAPI bool isLinear(const array &in)
af_source
Definition: defines.h:214
long long dim_t
Definition: defines.h:50
#define AFAPI
Definition: defines.h:31
AFAPI array createStridedArray(const void *data, const dim_t offset, const dim4 dims, const dim4 strides, const af::dtype ty, const af::source location)
AFAPI af_err af_get_raw_ptr(void **ptr, const af_array arr)
static af::array array(af::dim4 idims, cl_mem buf, af::dtype type, bool retain=false)
Create an af::array object from an OpenCL cl_mem buffer.
Definition: opencl.h:327
void * af_array
Definition: defines.h:222
AFAPI dim4 getStrides(const array &in)
AFAPI af_err af_get_allocated_bytes(size_t *bytes, const af_array arr)
af_dtype
Definition: defines.h:195