Module tornado.api

Interface TornadoTaskGraphInterface

All Superinterfaces:
ProfilerInterface

public interface TornadoTaskGraphInterface extends ProfilerInterface
  • Method Details

    • getTask

      SchedulableTask getTask(String taskNameID)
    • getDevice

      TornadoDevice getDevice()
    • setDevice

      void setDevice(TornadoDevice device)
    • updatePersistedObjectState

      void updatePersistedObjectState()
    • setDevice

      void setDevice(String taskName, TornadoDevice device)
    • getDeviceForTask

      TornadoDevice getDeviceForTask(String id)
    • addInner

      void addInner(SchedulableTask task)
    • isLastDeviceListEmpty

      boolean isLastDeviceListEmpty()
    • scheduleInner

      void scheduleInner()
    • withBatch

      void withBatch(String batchSize)
    • withMemoryLimit

      void withMemoryLimit(String memoryLimit)
    • withoutMemoryLimit

      void withoutMemoryLimit()
    • apply

      void apply(Consumer<SchedulableTask> consumer)
    • mapAllToInner

      void mapAllToInner(TornadoDevice device)
    • dumpTimes

      void dumpTimes()
    • dumpProfiles

      void dumpProfiles()
    • dumpEvents

      void dumpEvents()
    • clearProfiles

      void clearProfiles()
    • waitOn

      void waitOn()
    • transferToDevice

      void transferToDevice(int mode, Object... objects)
    • transferToHost

      void transferToHost(int mode, Object... objects)
    • consumeFromDevice

      void consumeFromDevice(String uniqueTaskGraphName, Object... objects)
    • consumeFromDevice

      void consumeFromDevice(Object... objects)
    • dump

      void dump()
    • withPreCompilation

      void withPreCompilation(ExecutorFrame executionPackage)
    • freeDeviceMemory

      void freeDeviceMemory()
    • syncRuntimeTransferToHost

      void syncRuntimeTransferToHost(Object... objects)
    • syncRuntimeTransferToHost

      void syncRuntimeTransferToHost(Object objects, long offset, long partialCopySize)
    • getId

      String getId()
    • meta

    • execute

      TornadoTaskGraphInterface execute(ExecutorFrame executionPackage)
    • addTask

      void addTask(TaskPackage taskPackage)
    • addPrebuiltTask

      void addPrebuiltTask(TaskPackage taskPackage)
    • getTaskGraphName

      String getTaskGraphName()
    • useDefaultThreadScheduler

      void useDefaultThreadScheduler(boolean use)
    • isFinished

      boolean isFinished()
    • getArgumentsLookup

      Set<Object> getArgumentsLookup()
    • getOutputs

      Collection<?> getOutputs()
    • createImmutableTaskGraph

      TornadoTaskGraphInterface createImmutableTaskGraph()
    • enableProfiler

      void enableProfiler(ProfilerMode profilerMode)
    • disableProfiler

      void disableProfiler()
    • withConcurrentDevices

      void withConcurrentDevices()
    • withoutConcurrentDevices

      void withoutConcurrentDevices()
    • withThreadInfo

      void withThreadInfo()
    • withoutThreadInfo

      void withoutThreadInfo()
    • withPrintKernel

      void withPrintKernel()
    • withoutPrintKernel

      void withoutPrintKernel()
    • withGridScheduler

      void withGridScheduler(GridScheduler gridScheduler)
    • getCurrentDeviceMemoryUsage

      long getCurrentDeviceMemoryUsage()
    • getPersistedTaskToObjectsMap

      Map<String,List<Object>> getPersistedTaskToObjectsMap()
    • withCompilerFlags

      void withCompilerFlags(TornadoVMBackendType backendType, String compilerFlags)
    • mapOnDeviceMemoryRegion

      void mapOnDeviceMemoryRegion(Object destArray, Object srcArray, long offset, TornadoTaskGraphInterface taskGraphSrc)
    • updateObjectAccess

      void updateObjectAccess()
    • setLastExecutedTaskGraph

      void setLastExecutedTaskGraph(TornadoTaskGraphInterface lastExecutedTaskGraph)
    • isGridRegistered

      boolean isGridRegistered()