File size: 421 Bytes
c699c4c | 1 2 3 4 5 6 7 8 9 10 11 | // SPDX-FileCopyrightText: © 2026 Tenstorrent USA, Inc.
// SPDX-License-Identifier: Apache-2.0
// Waits until the compute kernel has packed the whole output shard (CB bound to it).
#include <stdint.h>
#include "api/dataflow/dataflow_api.h"
void kernel_main() {
constexpr uint32_t cb_out = get_compile_time_arg_val(0);
constexpr uint32_t npages = get_compile_time_arg_val(1);
cb_wait_front(cb_out, npages);
}
|