public class CPUScalarOpAction extends BaseCPUScalarOpAction
op
Constructor and Description |
---|
CPUScalarOpAction(ScalarOp op,
int threshold)
Constructor for doing task on entire NDArray
|
CPUScalarOpAction(ScalarOp op,
int threshold,
int tadIdx,
int tadDim)
Constructor for doing a 1d tensor first
|
CPUScalarOpAction(ScalarOp op,
int threshold,
int n,
int offsetX,
int offsetZ,
int incrX,
int incrZ)
Constructor for operating on subset of NDArray
|
Modifier and Type | Method and Description |
---|---|
Void |
call()
Compute the result immediately, in the current thread
|
protected void |
compute() |
blockUntilComplete, 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
public CPUScalarOpAction(ScalarOp op, int threshold, int n, int offsetX, int offsetZ, int incrX, int incrZ)
public CPUScalarOpAction(ScalarOp op, int threshold)
public CPUScalarOpAction(ScalarOp op, int threshold, int tadIdx, int tadDim)
public Void call()
Task
protected void compute()
compute
in class RecursiveAction
Copyright © 2016. All Rights Reserved.