File size: 452 Bytes
c699c4c | 1 2 3 4 5 6 7 8 9 10 11 12 | // SPDX-FileCopyrightText: © 2026 Tenstorrent USA, Inc.
// SPDX-License-Identifier: Apache-2.0
// Marks the whole input shard (CB bound to it) as available to the compute kernel.
#include <stdint.h>
#include "api/dataflow/dataflow_api.h"
void kernel_main() {
constexpr uint32_t cb_in = get_compile_time_arg_val(0);
constexpr uint32_t npages = get_compile_time_arg_val(1);
cb_reserve_back(cb_in, npages);
cb_push_back(cb_in, npages);
}
|