Package ibis.cashmere.constellation
Class Argument
- java.lang.Object
-
- ibis.cashmere.constellation.Argument
-
- Direct Known Subclasses:
ArrayArgument,DoubleArgument,FloatArgument,IntArgument
public class Argument extends java.lang.ObjectA class used for indicating directions of arguments to kernels.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArgument.DirectionTheDirectionenumeration contains constants for arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateBuffer(Device device, long size, Pointer hostPtr)Argument.DirectiongetDirection()PointergetPointer()voidscheduleReads(java.util.ArrayList<DeviceEvent> a, java.util.ArrayList<DeviceEvent> b, boolean async)DeviceEventwriteBufferNoCreateBuffer(Device device, CommandStream q, DeviceEvent[] waitEvents, long size, Pointer hostPtr)
-
-
-
Method Detail
-
scheduleReads
public void scheduleReads(java.util.ArrayList<DeviceEvent> a, java.util.ArrayList<DeviceEvent> b, boolean async)
-
getPointer
public Pointer getPointer()
-
writeBufferNoCreateBuffer
public DeviceEvent writeBufferNoCreateBuffer(Device device, CommandStream q, DeviceEvent[] waitEvents, long size, Pointer hostPtr)
-
getDirection
public Argument.Direction getDirection()
-
-