Skip to main content

ClikaRT::TracingScope

class

Header: ClikaRT/compute/scope.h

While alive, the calling thread builds a LAZY graph: ops return Unscheduled placeholder tensors carrying lineage, and NO kernel runs. Call Tensor::synchronize() to materialize the graph in one pass. Outside the scope execution is eager (the default). Non-copyable, non-movable.

Member functions​

TracingScope()​

TracingScope()

Enter: this thread records ops symbolically (no kernels run) until exit.

Declared in ClikaRT/compute/scope.h, line 71

~TracingScope()​

~TracingScope()

Exit: restores eager execution on this thread.

Declared in ClikaRT/compute/scope.h, line 73

TracingScope(TracingScope)​

TracingScope(const TracingScope&) =delete

Declared in ClikaRT/compute/scope.h, line 74

operator=()​

TracingScope& operator=(const TracingScope&) =delete

Declared in ClikaRT/compute/scope.h, line 75