Generic interface to initialise buffers on the device
Initialise untyped buffer object on specified command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclCommandQ), | intent(in), | target | :: | cmdq |
Queue with which to associate new buffer |
|
type(fclDeviceBuffer), | intent(inout) | :: | buffer |
Focal memory object to initialise |
||
integer(kind=c_size_t), | intent(in) | :: | nBytes |
Size of buffer in bytes |
||
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 untyped buffer object on the default command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclDeviceBuffer), | intent(inout) | :: | buffer |
Focal memory object to initialise |
||
integer(kind=c_size_t), | intent(in) | :: | nBytes |
Size of buffer in bytes |
||
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 float buffer object on specific command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclCommandQ), | intent(in), | target | :: | cmdq |
Queue with which to associate new buffer |
|
type(fclDeviceFloat), | intent(inout) | :: | buffer |
Focal memory object to initialise |
||
integer, | intent(in) | :: | dim |
Dimension of 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 float buffer object on the default command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclDeviceFloat), | intent(inout) | :: | buffer |
Focal memory object to initialise |
||
integer, | intent(in) | :: | dim |
Dimension of 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 double buffer object on specific command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclCommandQ), | intent(in), | target | :: | cmdq |
Queue with which to associate new buffer |
|
type(fclDeviceDouble), | intent(inout) | :: | buffer |
Focal memory object to initialise |
||
integer, | intent(in) | :: | dim |
Dimension of 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 double buffer object on the default command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclDeviceDouble), | intent(inout) | :: | buffer |
Focal memory object to initialise |
||
integer, | intent(in) | :: | dim |
Dimension of 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 32bit integer buffer object on specific command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclCommandQ), | intent(in), | target | :: | cmdq |
Queue with which to associate new buffer |
|
type(fclDeviceInt32), | intent(inout) | :: | buffer |
Focal memory object to initialise |
||
integer, | intent(in) | :: | dim |
Dimension of 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 32bit integer buffer object on the default command queue
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fclDeviceInt32), | intent(inout) | :: | buffer |
Focal memory object to initialise |
||
integer, | intent(in) | :: | dim |
Dimension of 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 |