public class CPUVectorOp extends BaseCPUAction
Constructor and Description |
---|
CPUVectorOp(VectorOp op,
int threshold) |
Modifier and Type | Method and Description |
---|---|
Void |
blockUntilComplete()
Assuming invokeAsync() has been called, block until the execution completes
|
Void |
call()
Compute the result immediately, in the current thread
|
protected void |
compute() |
doTensorFirst, invokeAsync, invokeBlocking
exec, getRawResult, setRawResult
adapt, 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, tryUnfork
protected final VectorOp op
public CPUVectorOp(VectorOp op, int threshold)
public Void blockUntilComplete()
Task
blockUntilComplete
in interface Task<Void>
blockUntilComplete
in class BaseCPUAction
public Void call()
Task
protected void compute()
compute
in class RecursiveAction
Copyright © 2015. All Rights Reserved.