public interface TaskContextInterface
-
Method Summary
Modifier and TypeMethodDescriptionintintlong[]long[]longgetProfiles(long executionPlanId) booleanvoidvoidsetCompiledGraph(Object graph) voidsetCompilerFlags(TornadoVMBackendType backendType, String flags) voidsetDevice(TornadoDevice device) voidsetGlobalWork(long[] global) voidsetLocalWork(long[] local) voidsetNumThreads(long threads) voidsetPrintKernelFlag(boolean printKernelEnabled)
-
Method Details
-
getProfiles
-
setCompilerFlags
-
setGlobalWork
void setGlobalWork(long[] global) -
setLocalWork
void setLocalWork(long[] local) -
getGlobalWork
long[] getGlobalWork() -
getLocalWork
long[] getLocalWork() -
setNumThreads
void setNumThreads(long threads) -
getNumThreads
long getNumThreads() -
setCompiledGraph
-
getCompiledResolvedJavaMethod
Object getCompiledResolvedJavaMethod() -
getBackendIndex
int getBackendIndex() -
getDeviceIndex
int getDeviceIndex() -
setDevice
-
isPrintKernelEnabled
boolean isPrintKernelEnabled() -
setPrintKernelFlag
void setPrintKernelFlag(boolean printKernelEnabled) -
resetThreadBlocks
void resetThreadBlocks()
-