Interface ArrayInt
access this type via: io.compute.ArrayInt (provides, requires or uses)
--- extends:ExtMemory
This interface represents a integer type array stored on an external compute device
Functions
ArrayInt(storeCompute device, int length)
void write(int content[])
int[] read()
ArrayInt(storeCompute device, int length)
Creates the array with the given length on the given Compute device
void write(int content[])
Writes to the array starting at index 0 up to the length of the host array given by content
int[] read()
Reads the entire array stored on the external Compute device, returns this as a host array