Uses of Interface
uk.ac.manchester.tornado.api.memory.DeviceBufferState
Packages that use DeviceBufferState
-
Uses of DeviceBufferState in uk.ac.manchester.tornado.api.common
Methods in uk.ac.manchester.tornado.api.common with parameters of type DeviceBufferStateModifier and TypeMethodDescriptionlongTornadoDevice.allocate(Object object, long batchSize, DeviceBufferState state, Access access) It allocates an object in the pre-defined heap of the target device.longTornadoDevice.allocateObjects(Object[] objects, long batchSize, DeviceBufferState[] states, Access[] accesses) longTornadoDevice.deallocate(DeviceBufferState state) TornadoDevice.ensurePresent(long executionPlanId, Object object, DeviceBufferState objectState, int[] events, long batchSize, long hostOffset) It allocates and copy in the content of the object to the target device.voidTornadoDevice.mapDeviceRegion(long executionPlanId, Object destArray, Object srcArray, DeviceBufferState deviceStateSrc, DeviceBufferState deviceStateDest, long offset) TornadoDevice.streamIn(long executionPlanId, Object object, long batchSize, long hostOffset, DeviceBufferState objectState, int[] events) It always copies in the input data (object) from the host to the target device.intTornadoDevice.streamOut(long executionPlanId, Object object, long hostOffset, DeviceBufferState objectState, int[] events) It copies a device buffer from the target device to the host.intTornadoDevice.streamOutBlocking(long executionPlanId, Object object, long hostOffset, DeviceBufferState objectState, int[] events) It copies a device buffer from the target device to the host. -
Uses of DeviceBufferState in uk.ac.manchester.tornado.api.memory
Methods in uk.ac.manchester.tornado.api.memory that return DeviceBufferState