java.lang.Object
uk.ac.manchester.tornado.api.DataRange
Data Range Class provides a set of utilities to perform partial copies between
the accelerator (e.g., a GPU) and the CPU.
- Since:
- v1.0.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArray()longlongvoidCompute offset and size based on the information we have.withOffset(long offset) withSize(long size)
-
Constructor Details
-
DataRange
-
-
Method Details
-
withOffset
-
withSize
-
getOffset
public long getOffset() -
getPartialSize
public long getPartialSize() -
materialize
public void materialize()Compute offset and size based on the information we have. -
getArray
-