User`s guide
10 Objects — Alphabetical List
10-8
Property Name Description
corresponding element in the vector of the MaxGridSize property
of the GPUDevice object.
SharedMemorySize The amount of dynamic shared memory (in bytes) that each thread
block can use. Each thread block has an available shared memory
region. The size of this region is limited in current cards to ~16kB,
and is shared with registers on the multiprocessors. As with all
memory, this needs to be allocated before the kernel is launched.
It is also common for the size of this shared memory region to be
tied to the size of the thread block. Setting this value on the kernel
ensures that each thread in a block can access this available shared
memory region.
EntryPoint (read-only) A string containing the actual entry point name in the
PTX code that this kernel is going to call. An example might look
like '_Z13returnPointerPKfPy'.
MaxNumLHSArguments (read-only) The maximum number of left hand side arguments that
this kernel supports. It cannot be greater than the number of right
hand side arguments, and if any inputs are constant or scalar it
will be less.
NumRHSArguments (read-only) The required number of right hand side arguments
needed to call this kernel. All inputs need to define either the scalar
value of an input, the elements for a vector input/output, or the size
of an output argument.
ArgumentTypes (read-only) Cell array of strings, the same length as
NumRHSArguments. Each of the strings indicates what the expected
MATLAB type for that input is (a numeric type such as uint8,
single, or double followed by the word scalar or vector to
indicate if we are passing by reference or value). In addition, if that
argument is only an input to the kernel, it is prefixed by in; and
if it is an input/output, it is prefixed by inout. This allows you to
decide how to efficiently call the kernel with both MATLAB arrays
and gpuArray, and to see which of the kernel inputs are being
treated as outputs.