tinygrad runtime.ops_clang

Note

You likely want the upstream tinygrad, not tinygrab. Tinygrab contains AI generated docstrings for a tinygrad snapshot. Upstream: https://tinygrad.org

class tinygrad.runtime.ops_clang.ClangProgram(name: str, lib: bytes)[source]

Bases: object

A class representing a compiled Clang program.

name

The name of the Clang program.

Type:

str

lib

The compiled Clang program in bytes format.

Type:

bytes

fxn

The function object of the compiled Clang program.

Type:

Any

Note

Writes to disk for loading the compiled program.