Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | Static Public Attributes | List of all members
BatchBase Class Reference

Class representing an engine. More...

Public Member Functions

def saveState
 
def loadState
 
def leapfrog
 
def skipAhead
 
def clone
 
- Public Member Functions inherited from AlgorithmImpl
def computeNoThrow
 
def compute
 
def checkComputeParams
 
def checkResult
 
def setupCompute
 
def resetCompute
 
def enableResetOnCompute
 
def hostApp
 
def setHostApp
 
- Public Member Functions inherited from Algorithm
def checkComputeParams
 
def getBaseParameter
 
- Public Member Functions inherited from AlgorithmIfaceImpl
def enableChecks
 
def isChecksEnabled
 
- Public Member Functions inherited from AlgorithmIface
def checkComputeParams
 
def checkResult
 
def getMethod
 

Static Public Attributes

 input = ...
 

Detailed Description

Member Function Documentation

def clone (   self)

Returns a pointer to the newly allocated engine with a copy of input objects and parameters of this engine

Returns
Pointer to the newly allocated engine
def leapfrog (   self,
  threadIdx,
  nThreads 
)

Enables the usage of current engine in parallel regions of code with leapfrog method

Parameters
threadIdxIndex of the thread
nThreadsNumber of threads
Returns
Status of computations
def loadState (   self,
  src 
)

Rewrites current state with source one

Parameters
srcSource state
Returns
Status of computations
def saveState (   self,
  dest 
)

Saves current engine state to destination

Parameters
destDestination to save the state
Returns
Status of computations
def skipAhead (   self,
  nSkip 
)

Enables the usage of current engine in parallel regions of code with skipAhead method

Parameters
nSkipNumber of elements that will be skipped
Returns
Status of computations

Member Data Documentation

input = ...
static

Input of the engine


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.