public class CpuBroadcastOp extends BaseCPUAction
| Modifier and Type | Field and Description |
|---|---|
protected BroadcastOp |
op |
| Constructor and Description |
|---|
CpuBroadcastOp(BroadcastOp 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, 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 BroadcastOp op
public CpuBroadcastOp(BroadcastOp op, int threshold)
public Void blockUntilComplete()
TaskblockUntilComplete in interface Task<Void>blockUntilComplete in class BaseCPUActionpublic Void call()
Taskprotected void compute()
compute in class RecursiveActionCopyright © 2016. All Rights Reserved.