java.lang.Object
au.notzed.zcl.CLDeviceProperty.PartitionByCounts
- All Implemented Interfaces:
CLDeviceProperty
,CLProperty
- Enclosing interface:
- CLDeviceProperty
public static class CLDeviceProperty.PartitionByCounts extends java.lang.Object implements CLDeviceProperty
-
Nested Class Summary
Nested classes/interfaces inherited from interface au.notzed.zcl.CLDeviceProperty
CLDeviceProperty.PartitionByCounts, CLDeviceProperty.TagValue
-
Constructor Summary
Constructors Constructor Description PartitionByCounts(int[] counts)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PartitionByCounts
public PartitionByCounts(int[] counts)
-
-
Method Details
-
getSize
public int getSize()- Specified by:
getSize
in interfaceCLProperty
-
toInt
public int toInt(jdk.incubator.foreign.MemoryAddress dst, int o)Description copied from interface:CLProperty
Encode this property as an integer array.- Specified by:
toInt
in interfaceCLProperty
- Parameters:
dst
- destinationo
- offset- Returns:
- updated o = (o + getSize())
-
toLong
public int toLong(jdk.incubator.foreign.MemoryAddress dst, int o)Description copied from interface:CLProperty
Encode this property as a long poke.- Specified by:
toLong
in interfaceCLProperty
- Parameters:
dst
- destinationo
- offset- Returns:
- updated o = (o + getSize()))
-