User Tools

Site Tools


api:dk11:delphi:gisopencl.tgis_openclmemoryflag

Table of Contents

TGIS_OpenCLMemoryFlag enum

DK11 for Delphi | GisOpenCL.TGIS_OpenCLMemoryFlag | Enums

Memory flags for defining OpenCL buffers.

Available also on: ActiveX.

Syntax

// Delphi
type
  TGIS_OpenCLMemoryFlag = (
    ReadWrite, WriteOnly, ReadOnly, UseHostPtr, AllocHostPtr, CopyHostPtr, HostWriteOnly, 
    HostReadOnly, HostNoAccess
  );
// C++ Builder
enum DECLSPEC_DENUM TGIS_OpenCLMemoryFlag unsigned short {
  ReadWrite, WriteOnly, ReadOnly, UseHostPtr, AllocHostPtr, CopyHostPtr, HostWriteOnly, 
  HostReadOnly, HostNoAccess
};

Members

Name Value Description
ReadWrite The buffer is readable and writable for the kernel.
WriteOnly The buffer is write-only for the kernel.
ReadOnly The buffer is read-only for the kernel.
UseHostPtr The buffer uses host memory referenced by the pointer.
AllocHostPtr The buffer is allocated in the host accessible memory.
CopyHostPtr The buffer is initialized with the content specified by the host pointer.
HostWriteOnly The buffer is write-only for the host.
HostReadOnly The buffer is read-only for the host.
HostNoAccess The host has no access to the buffer.

2019/07/19 22:43