CreateProgram

Program tt::tt_metal::CreateProgram(distributed::MeshDevice &mesh_device)

Creates a Program object which is the main container that bundles kernels, circular buffers, and/or semaphores for execution on device

The Program is bound to the MetalEnv that owns mesh_device. All later operations on the Program (CreateKernel, CreateCircularBuffer, …) resolve their hardware description, runtime options, and build environment from that env. The Program can only be compiled and enqueued on devices from the same MetalEnv.

Return value: Program

Argument Description

mesh_device The mesh device whose MetalEnv the Program will be bound to