fclMemWrite Interface

interface
public module subroutine fclMemWrite(memObject, hostBufferPtr, nBytes)

Arguments

Type IntentOptional Attributes Name
class(fclDeviceBuffer), intent(inout), target :: memObject

Focal memory object (target)

type(c_ptr), intent(in) :: hostBufferPtr

C Pointer to host array (source)

integer(kind=c_size_t), intent(in) :: nBytes

Size of buffers in bytes

Description

Transfer host buffer to device buffer