public class CPUIndexAccumulationViaTensorTask extends BaseCPUTask<org.apache.commons.math3.util.Pair<Double,Integer>>
| Modifier and Type | Field and Description |
|---|---|
protected IndexAccumulation |
op |
protected boolean |
outerTask |
protected List<Task<org.apache.commons.math3.util.Pair<Double,Integer>>> |
subTasks |
| Constructor and Description |
|---|
CPUIndexAccumulationViaTensorTask(IndexAccumulation op,
int threshold,
boolean outerTask) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.math3.util.Pair<Double,Integer> |
blockUntilComplete()
Assuming invokeAsync() has been called, block until the execution completes
|
org.apache.commons.math3.util.Pair<Double,Integer> |
call()
Compute the result immediately, in the current thread
|
protected org.apache.commons.math3.util.Pair<Double,Integer> |
compute() |
doTensorFirst, invokeAsync, invokeBlockingexec, getRawResult, setRawResultadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkprotected final IndexAccumulation op
protected final boolean outerTask
public CPUIndexAccumulationViaTensorTask(IndexAccumulation op, int threshold, boolean outerTask)
public org.apache.commons.math3.util.Pair<Double,Integer> blockUntilComplete()
Taskpublic org.apache.commons.math3.util.Pair<Double,Integer> call()
TaskCopyright © 2016. All Rights Reserved.