Group propsΒΆ
-
group
props
Defines
-
GA_CTX_PROP_DEVNAME
Get the device name for the context.
Type:
char [256]
-
GA_CTX_PROP_MAXLSIZE
Get the maximum block size (also known as local size) for a kernel call in the context.
Type:
size_t
-
GA_CTX_PROP_LMEMSIZE
Get the local memory size available for a call in the context.
Type:
size_t
-
GA_CTX_PROP_NUMPROCS
Number of compute units in this context.
compute units times local size is more or less the expected parallelism available on the device, but this is a very rough estimate.
Type:
unsigned int
-
GA_CTX_PROP_MAXGSIZE
Get the maximum group size for a kernel call in this context.
Type:
size_t
-
GA_CTX_PROP_BLAS_OPS
Get the vector of blas ops for the context.
This may differ from one context to the other in the same backend depending of the availability and performance of various BLAS libraries.
Type:
const gpuarray_blas_ops *
-
GA_CTX_PROP_BIN_ID
Get the compatibility ID for the binaries generated with this context.
Those binaries should work with any context which has the same ID.
Type:
const char *
-
GA_CTX_PROP_ERRBUF
Get a pre-allocated 8 byte buffer for kernel ops.
This buffer is initialized to 0 on allocation and must always be returned to that state after using it.
This only to avoid the overhead of an allocation when calling a kernel that may error out. It does not preclude the need for synchronization and transfers.
Type:
gpudata *
-
GA_CTX_PROP_TOTAL_GMEM
Get the total size of global memory on the device.
Type:
size_t
-
GA_CTX_PROP_FREE_GMEM
Get the size of free global memory on the device.
Type:
size_t
-
GA_CTX_PROP_NATIVE_FLOAT16
Get the status of native float16 support on the device.
Type:
int
-
GA_CTX_PROP_MAXGSIZE0
Get the maximum global size for dimension 0.
Type:
size_t
-
GA_CTX_PROP_MAXGSIZE1
Get the maximum global size for dimension 1.
Type:
size_t
-
GA_CTX_PROP_MAXGSIZE2
Get the maximum global size for dimension 2.
Type:
size_t
-
GA_CTX_PROP_MAXLSIZE0
Get the maximum local size for dimension 0.
Type:
size_t
-
GA_CTX_PROP_MAXLSIZE1
Get the maximum local size for dimension 1.
Type:
size_t
-
GA_CTX_PROP_MAXLSIZE2
Get the maximum loca size for dimension 2.
Type:
size_t
-
GA_CTX_PROP_COMM_OPS
Get the vector of collective ops for the context.
Type:
const gpuarray_comm_ops *
-
GA_CTX_PROP_PCIBUSID
Get the device PCI Bus ID for the context.
Type:
char [16]
-
GA_CTX_PROP_LARGEST_MEMBLOCK
Get the largest single block of memory that can be allocted.
Type:
size_t
-
GA_BUFFER_PROP_START
-
GA_BUFFER_PROP_CTX
Get the context in which this buffer was allocated.
Type:
gpucontext *
-
GA_BUFFER_PROP_REFCNT
The reference count of the buffer. Use only for debugging purposes.
Type:
unsigned int
-
GA_BUFFER_PROP_SIZE
Size of the buffer on the device.
This may be larger than the requested allocation size due to a number of factors.
Type:
size_t
-
GA_KERNEL_PROP_START
-
GA_KERNEL_PROP_CTX
Get the context for which this kernel was compiled.
Type:
gpucontext *
-
GA_KERNEL_PROP_MAXLSIZE
Get the maximum block size (also known as local size) for a call of this kernel.
Type:
size_t
-
GA_KERNEL_PROP_PREFLSIZE
Get the prefered multiple of the block size for a call to this kernel.
Type:
size_t
-
GA_KERNEL_PROP_NUMARGS
Get the number of kernel arguments.
Type
unsigned int
-
GA_KERNEL_PROP_TYPES
Get the list of argument types for a kernel.
This list is the same length as the number of arguments to the kernel. Do not modify the returned list.
Type:
const int *
-