ocl

Package using OpenCL for parallelization of (SIMD) computations, selectively using available OpenCL hardware

Select category:

OCL matrix transfer functions for OpenCL storage

oclArray
Construct an OCL matrix from an octave matrix, preserving the elements' data type.
gpuArray
Construct an OCL matrix from an octave matrix, preserving the elements' data type.
ocl_to_octave
Transfer the data from an OCL matrix into an octave matrix of corresponding type.
gather
Transfer the data from an OCL matrix into an octave matrix of corresponding type.

OCL matrix constructors for specific types

ocl_double
Construct an OCL matrix of specific type from an octave matrix.
ocl_single
Construct an OCL matrix of specific type from an octave matrix.
ocl_int8
Construct an OCL matrix of specific type from an octave matrix.
ocl_int16
Construct an OCL matrix of specific type from an octave matrix.
ocl_int32
Construct an OCL matrix of specific type from an octave matrix.
ocl_int64
Construct an OCL matrix of specific type from an octave matrix.
ocl_uint8
Construct an OCL matrix of specific type from an octave matrix.
ocl_uint16
Construct an OCL matrix of specific type from an octave matrix.
ocl_uint32
Construct an OCL matrix of specific type from an octave matrix.
ocl_uint64
Construct an OCL matrix of specific type from an octave matrix.

OCL matrix generators

ocl_ones
Return an OCL matrix or N-dimensional OCL array whose elements are all 1.
ocl_zeros
Return an OCL matrix or N-dimensional OCL array whose elements are all 0.
ocl_eye
Return an identity matrix as OCL matrix.
ocl_linspace
Return an OCL row vector with N linearly spaced elements between BASE and LIMIT.
ocl_logspace
Return an OCL row vector with N elements logarithmically spaced from 10^A to 10^B.
ocl_cat
Return the concatenation of the N-dimensional OCL array objects, OCL_ARRAY1, OCL_ARRAY2, ..., OCL_ARRAYN along dimension DIM.

OCL program constructors for OpenCL programs

ocl_program
Construct and compile an OCL program from an OpenCL C source code string.
ocl_program_file
Construct and compile an OCL program from an OpenCL C source code file.

OpenCL context management functions

ocl_context
Manage the OpenCL Context.

OpenCL library management functions

ocl_lib
Manage dynamic loading/unloading of OpenCL Library.

OpenCL constants functions

ocl_constant
Translate an OpenCL constant.

OCL test and documentation functions

ocl_tests
Perform tests of OCL functions and with all OCL data types.

Package: ocl