---
title: "TracingScope"
sidebar_label: "TracingScope"
description: "Kotlin binding reference: TracingScope."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[TracingScope](index.md)

# TracingScope

[common]\
class [TracingScope](index.md)

While open, the calling thread builds a LAZY graph: ops return unscheduled tensors that carry their lineage and no kernel runs; [Tensor.synchronize](../Tensor/synchronize.md) materializes one. Thread-local.

## Constructors

| | |
|---|---|
| [TracingScope](TracingScope.md) | [common]<br>constructor() |

## Functions

| Name | Summary |
|---|---|
| [close](close.md) | [common]<br>open fun [close](close.md)() |