Task

Type

Create

Base.copyMethod
copy(t::AbstractComputeTask)

Return a copy of the given compute task.

source
Base.copyMethod
copy(t::AbstractDataTask)

Fallback implementation of the copy of an abstract data task, throwing an error.

source

Compare

Base.:==Method
==(t1::AbstractComputeTask, t2::AbstractComputeTask)

Equality comparison between two compute tasks.

source
Base.:==Method
==(t1::AbstractDataTask, t2::AbstractDataTask)

Equality comparison between two data tasks.

source
Base.:==Method
==(t1::AbstractTask, t2::AbstractTask)

Fallback implementation of equality comparison between two abstract tasks. Always returns false. For equal specific types of t1 and t2, a more specific comparison is called instead, doing an actual comparison.

source

Compute

ComputableDAGs.get_function_callMethod
get_function_call(n::Node)
get_function_call(t::AbstractTask, device::AbstractDevice, in_symbols::AbstractVector, out_symbol::Symbol)

For a node or a task together with necessary information, return a vector of FunctionCalls for the computation of the node or task.

For ordinary compute or data tasks the vector will contain exactly one element.

source

Properties

Base.copyMethod
copy(t::DataTask)

Copy the data task and return it.

source
ComputableDAGs.computeFunction
compute(t::AbstractTask; data...)

Fallback implementation of the compute function of a compute task, throwing an error.

source
ComputableDAGs.dataMethod
data(t::AbstractComputeTask)

Return the data of a compute task, always zero, regardless of the specific task.

source
ComputableDAGs.dataMethod
data(t::AbstractDataTask)

Return the data of a data task. Given by the task's .data field.

source