Generic interface to initialise sub-buffers on the device
Initialise an untyped sub-buffer from an existing buffer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclCommandQ), | intent(in), | target | :: | cmdq |
Queue with which to associate new buffer |
|
type(fclDeviceBuffer), | intent(inout) | :: | subBuffer |
Focal memory object to initialise as new sub-buffer |
||
class(fclDeviceBuffer), | intent(inout) | :: | sourceBuffer |
Focal memory object in which to create sub-buffer |
||
integer(kind=c_size_t), | intent(in) | :: | offset |
Offset in bytes of sub-buffer within sourceBuffer |
||
integer(kind=c_size_t), | intent(in) | :: | size |
Size in bytes of sub-buffer |
||
character(len=*), | intent(in), | optional | :: | profileName |
Descriptive name for profiling output |
|
character(len=*), | intent(in), | optional | :: | access |
Read/write access of kernels to buffer 'rw' = read&write (default), 'r'=read-only, 'w'=write-only |
Initialise an untyped sub-buffer from an existing buffer on the default command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclDeviceBuffer), | intent(inout) | :: | subBuffer |
Focal memory object to initialise as new sub-buffer |
||
class(fclDeviceBuffer), | intent(inout) | :: | sourceBuffer |
Focal memory object in which to create sub-buffer |
||
integer(kind=c_size_t), | intent(in) | :: | offset |
Offset in bytes of sub-buffer within sourceBuffer |
||
integer(kind=c_size_t), | intent(in) | :: | size |
Size in bytes of sub-buffer |
||
character(len=*), | intent(in), | optional | :: | profileName |
Descriptive name for profiling output |
|
character(len=*), | intent(in), | optional | :: | access |
Read/write access of kernels to buffer 'rw' = read&write (default), 'r'=read-only, 'w'=write-only |
Initialise a float sub-buffer from an existing float buffer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclCommandQ), | intent(in), | target | :: | cmdq |
Queue with which to associate new buffer |
|
type(fclDeviceFloat), | intent(inout) | :: | subBuffer |
Focal memory object to initialise as new sub-buffer |
||
type(fclDeviceFloat), | intent(inout) | :: | sourceBuffer |
Focal memory object in which to create sub-buffer |
||
integer, | intent(in) | :: | start |
Zero-based start element of sub-buffer within sourceBuffer |
||
integer, | intent(in) | :: | length |
Length (no. of elements) of sub-buffer |
||
character(len=*), | intent(in), | optional | :: | profileName |
Descriptive name for profiling output |
|
character(len=*), | intent(in), | optional | :: | access |
Read/write access of kernels to buffer 'rw' = read&write (default), 'r'=read-only, 'w'=write-only |
Initialise a float sub-buffer from an existing float buffer on the default command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclDeviceFloat), | intent(inout) | :: | subBuffer |
Focal memory object to initialise as new sub-buffer |
||
type(fclDeviceFloat), | intent(inout) | :: | sourceBuffer |
Focal memory object in which to create sub-buffer |
||
integer, | intent(in) | :: | start |
Zero-based start element of sub-buffer within sourceBuffer |
||
integer, | intent(in) | :: | length |
Length (no. of elements) of sub-buffer |
||
character(len=*), | intent(in), | optional | :: | profileName |
Descriptive name for profiling output |
|
character(len=*), | intent(in), | optional | :: | access |
Read/write access of kernels to buffer 'rw' = read&write (default), 'r'=read-only, 'w'=write-only |
Initialise a double sub-buffer from an existing float buffer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclCommandQ), | intent(in), | target | :: | cmdq |
Queue with which to associate new buffer |
|
type(fclDeviceDouble), | intent(inout) | :: | subBuffer |
Focal memory object to initialise as new sub-buffer |
||
type(fclDeviceDouble), | intent(inout) | :: | sourceBuffer |
Focal memory object in which to create sub-buffer |
||
integer, | intent(in) | :: | start |
Zero-based start element of sub-buffer within sourceBuffer |
||
integer, | intent(in) | :: | length |
Length (no. of elements) of sub-buffer |
||
character(len=*), | intent(in), | optional | :: | profileName |
Descriptive name for profiling output |
|
character(len=*), | intent(in), | optional | :: | access |
Read/write access of kernels to buffer 'rw' = read&write (default), 'r'=read-only, 'w'=write-only |
Initialise a double sub-buffer from an existing float buffer on the default command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclDeviceDouble), | intent(inout) | :: | subBuffer |
Focal memory object to initialise as new sub-buffer |
||
type(fclDeviceDouble), | intent(inout) | :: | sourceBuffer |
Focal memory object in which to create sub-buffer |
||
integer, | intent(in) | :: | start |
Zero-based start element of sub-buffer within sourceBuffer |
||
integer, | intent(in) | :: | length |
Length (no. of elements) of sub-buffer |
||
character(len=*), | intent(in), | optional | :: | profileName |
Descriptive name for profiling output |
|
character(len=*), | intent(in), | optional | :: | access |
Read/write access of kernels to buffer 'rw' = read&write (default), 'r'=read-only, 'w'=write-only |
Initialise a 32bit integer sub-buffer from an existing float buffer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclCommandQ), | intent(in), | target | :: | cmdq |
Queue with which to associate new buffer |
|
type(fclDeviceInt32), | intent(inout) | :: | subBuffer |
Focal memory object to initialise as new sub-buffer |
||
type(fclDeviceInt32), | intent(inout) | :: | sourceBuffer |
Focal memory object in which to create sub-buffer |
||
integer, | intent(in) | :: | start |
Zero-based start element of sub-buffer within sourceBuffer |
||
integer, | intent(in) | :: | length |
Length (no. of elements) of sub-buffer |
||
character(len=*), | intent(in), | optional | :: | profileName |
Descriptive name for profiling output |
|
character(len=*), | intent(in), | optional | :: | access |
Read/write access of kernels to buffer 'rw' = read&write (default), 'r'=read-only, 'w'=write-only |
Initialise a 32bit integer sub-buffer from an existing float buffer on the default command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclDeviceInt32), | intent(inout) | :: | subBuffer |
Focal memory object to initialise as new sub-buffer |
||
type(fclDeviceInt32), | intent(inout) | :: | sourceBuffer |
Focal memory object in which to create sub-buffer |
||
integer, | intent(in) | :: | start |
Zero-based start element of sub-buffer within sourceBuffer |
||
integer, | intent(in) | :: | length |
Length (no. of elements) of sub-buffer |
||
character(len=*), | intent(in), | optional | :: | profileName |
Descriptive name for profiling output |
|
character(len=*), | intent(in), | optional | :: | access |
Read/write access of kernels to buffer 'rw' = read&write (default), 'r'=read-only, 'w'=write-only |