Interface Compute
access this type via: io.compute.Compute (provides, requires or uses)
This interface allows the user to interact with compute devices available to the system
Functions
Compute(char device[], storeComputeArray computeArr)
char[] getPlatform()
char[] getDevice()
void runProgram(Program p)
Compute(char device[], storeComputeArray computeArr)
Create an instance to interact with the device identified by the name 'device'. The computeArr is how this compute device is bound to the native API
char[] getPlatform()
Identifies which compute platform this device belongs to, e.g. CUDA
char[] getDevice()
Identifies the device by name
void runProgram(Program p)
Runs program p on this compute device