Module notzed.zcl
Package au.notzed.zcl

Class CLDevice

java.lang.Object

public class CLDevice
extends CLExtendable
Interface for cl_device_id.
  • Constructor Details

    • CLDevice

      public CLDevice​(jdk.incubator.foreign.MemoryAddress p)
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • initPlatform

      protected CLPlatform initPlatform()
      Description copied from class: CLExtendable
      Retrieve the platform. This should not cache the lookup. It cannot return null by definition. This should not be called by any implementing class.
      Specified by:
      initPlatform in class CLExtendable
      Returns:
    • PARTITION_EQUALLY

      public static CLDeviceProperty PARTITION_EQUALLY​(int n)
      Create a property representing CL_DEVICE_PARTITION_EQUALLY.
      Parameters:
      n - target value.
      Returns:
      Since:
      OpenCL 1.2
    • PARTITION_BY_COUNTS

      public static CLDeviceProperty PARTITION_BY_COUNTS​(int... counts)
      Create a property representing CL_DEVICE_PARTITION_BY_COUNTS.
      Parameters:
      counts - Array of counts. Do not include COUNTS_LIST_END.
      Returns:
      Since:
      OpenCL 1.2
    • PARTITION_BY_AFFINITY_DOMAIN

      public static CLDeviceProperty PARTITION_BY_AFFINITY_DOMAIN​(int domain)
      Create a property representing CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN.
      Parameters:
      domain - target value from CL_DEVICE_AFFINITY_DOMAIN* constants.
      Returns:
      Since:
      OpenCL 1.2
    • getType

      public long getType()
      get CL_DEVICE_TYPE
      Returns:
      CL_DEVICE_TYPE_*
    • getVendorID

      public int getVendorID()
      get CL_DEVICE_VENDOR_ID
      Returns:
      Unique vendor identifier.
    • getMaxComputeUnits

      public int getMaxComputeUnits()
      get CL_DEVICE_MAX_COMPUTE_UNITS
      Returns:
      Maximum compute units.
    • getMaxWorkItemDimensions

      public int getMaxWorkItemDimensions()
    • getMaxWorkItemSizes

      public long[] getMaxWorkItemSizes()
    • getMaxWorkGroupSize

      public long getMaxWorkGroupSize()
    • getPreferredVectorWidthChar

      public int getPreferredVectorWidthChar()
    • getPreferredVectorWidthShort

      public int getPreferredVectorWidthShort()
    • getPreferredVectorWidthInt

      public int getPreferredVectorWidthInt()
    • getPreferredVectorWidthLong

      public int getPreferredVectorWidthLong()
    • getPreferredVectorWidthFloat

      public int getPreferredVectorWidthFloat()
    • getPreferredVectorWidthDouble

      public int getPreferredVectorWidthDouble()
    • getPreferredVectorWidthHalf

      public int getPreferredVectorWidthHalf()
    • getNativeVectorWidthChar

      public int getNativeVectorWidthChar()
    • getNativeVectorWidthShort

      public int getNativeVectorWidthShort()
    • getNativeVectorWidthInt

      public int getNativeVectorWidthInt()
    • getNativeVectorWidthLong

      public int getNativeVectorWidthLong()
    • getNativeVectorWidthFloat

      public int getNativeVectorWidthFloat()
    • getNativeVectorWidthDouble

      public int getNativeVectorWidthDouble()
    • getNativeVectorWidthHalf

      public int getNativeVectorWidthHalf()
    • getMaxClockFrequency

      public int getMaxClockFrequency()
    • getAddressBits

      public int getAddressBits()
    • getMaxMemAllocSize

      public long getMaxMemAllocSize()
    • getImageSupport

      public boolean getImageSupport()
    • getMaxReadImageArgs

      public int getMaxReadImageArgs()
    • getMaxWriteImageArgs

      public int getMaxWriteImageArgs()
    • getImage2DMaxWidth

      public long getImage2DMaxWidth()
    • getImage2DMaxHeight

      public long getImage2DMaxHeight()
    • getImage3DMaxWidth

      public long getImage3DMaxWidth()
    • getImage3DMaxHeight

      public long getImage3DMaxHeight()
    • getImage3DMaxDepth

      public long getImage3DMaxDepth()
    • getImageMaxBufferSize

      public long getImageMaxBufferSize()
    • getImageMaxArraySize

      public long getImageMaxArraySize()
    • getMaxSamplers

      public int getMaxSamplers()
    • getMaxParameterSize

      public long getMaxParameterSize()
    • getMemBaseAddrAlign

      public int getMemBaseAddrAlign()
    • getSinglFPConfig

      public long getSinglFPConfig()
    • getDoubleFPConfig

      public long getDoubleFPConfig()
    • getGlobalMemCacheType

      public int getGlobalMemCacheType()
    • getGlobalMemCachelineSize

      public int getGlobalMemCachelineSize()
    • getGlobalMemCacheSize

      public long getGlobalMemCacheSize()
    • getGlobalMemSize

      public long getGlobalMemSize()
    • getMaxConstantBufferSize

      public long getMaxConstantBufferSize()
    • getMaxConstantArgs

      public int getMaxConstantArgs()
    • getLocalMemType

      public int getLocalMemType()
    • getLocalMemSize

      public long getLocalMemSize()
    • getErrorCorrectionSupport

      public boolean getErrorCorrectionSupport()
    • getHostUnifiedMemory

      public boolean getHostUnifiedMemory()
    • getProfilingTimerResolution

      public long getProfilingTimerResolution()
    • getEndianLittle

      public boolean getEndianLittle()
    • getAvailable

      public boolean getAvailable()
    • getCompilerAvailable

      public boolean getCompilerAvailable()
    • getLinkerAvailable

      public boolean getLinkerAvailable()
    • getExecutionCapabilities

      public long getExecutionCapabilities()
    • getQueueProperties

      public long getQueueProperties()
    • getBuiltInKernels

      public java.lang.String getBuiltInKernels()
    • getPlatform

      public CLPlatform getPlatform()
      Overrides:
      getPlatform in class CLExtendable
    • getName

      public java.lang.String getName()
    • getVendor

      public java.lang.String getVendor()
    • getDriverVersion

      public java.lang.String getDriverVersion()
    • getProfile

      public java.lang.String getProfile()
    • getVersion

      public java.lang.String getVersion()
    • getOpenCLCVersion

      public java.lang.String getOpenCLCVersion()
    • getDeviceExtensions

      public java.lang.String getDeviceExtensions()
    • getPrintfBufferSize

      public long getPrintfBufferSize()
    • getPreferredInteropUserSync

      public boolean getPreferredInteropUserSync()
    • getParentDevice

      public CLDevice getParentDevice()
    • getPartitionMaxSubDevices

      public int getPartitionMaxSubDevices()
    • getPartitionProperties

      public CLDeviceProperty[] getPartitionProperties()
    • getPartitionAffinityDomain

      public long getPartitionAffinityDomain()
    • getPartitionType

      public CLDeviceProperty[] getPartitionType()