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.Object
A class used for indicating directions of arguments to kernels.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Argument.Direction
TheDirection
enumeration contains constants for arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createBuffer(Device device, long size, Pointer hostPtr)
Argument.Direction
getDirection()
Pointer
getPointer()
void
scheduleReads(java.util.ArrayList<DeviceEvent> a, java.util.ArrayList<DeviceEvent> b, boolean async)
DeviceEvent
writeBufferNoCreateBuffer(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()
-
-