fclInitBuffer Interface

public interface fclInitBuffer

Generic interface to initialise buffers on the device


Contents


Subroutines

public module subroutine fclInitBufferUntyped_1(cmdq, buffer, nBytes, profileName, access)

Initialise untyped buffer object on specified command queue

Arguments

Type IntentOptional 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

public module subroutine fclInitBufferUntyped_2(buffer, nBytes, profileName, access)

Initialise untyped buffer object on the default command queue

Arguments

Type IntentOptional 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

public module subroutine fclInitBufferFloat_1(cmdq, buffer, dim, profileName, access)

Initialise float buffer object on specific command queue

Arguments

Type IntentOptional 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

public module subroutine fclInitBufferFloat_2(buffer, dim, profileName, access)

Initialise float buffer object on the default command queue

Arguments

Type IntentOptional 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

public module subroutine fclInitBufferDouble_1(cmdq, buffer, dim, profileName, access)

Initialise double buffer object on specific command queue

Arguments

Type IntentOptional 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

public module subroutine fclInitBufferDouble_2(buffer, dim, profileName, access)

Initialise double buffer object on the default command queue

Arguments

Type IntentOptional 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

public module subroutine fclInitBufferInt32_1(cmdq, buffer, dim, profileName, access)

Initialise 32bit integer buffer object on specific command queue

Arguments

Type IntentOptional 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

public module subroutine fclInitBufferInt32_2(buffer, dim, profileName, access)

Initialise 32bit integer buffer object on the default command queue

Arguments

Type IntentOptional 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