Class INTELMemForceHostMemory

java.lang.Object
org.lwjgl.opencl.INTELMemForceHostMemory

public final class INTELMemForceHostMemory extends Object
Native bindings to the intel_mem_force_host_memory extension.

This extension allows an application to override driver heuristics to force allocation of a buffer memory object in host memory. Host memory is described in the cl_intel_unified_shared_memory extension.

Allocating a buffer memory object in host memory trades off wide accessibility and transfer benefits for higher per-access costs. Buffer memory objects in host memory may also be subject to additional usage restrictions.

Requires OpenCL 1.2.

  • Field Details

    • CL_MEM_FORCE_HOST_MEMORY_INTEL

      public static final int CL_MEM_FORCE_HOST_MEMORY_INTEL
      Flag of type cl_mem_flags, used when creating a buffer object to force allocation of a buffer memory object in host memory.
      See Also: