superpoint-p150 / code /kernels /sp_pool /pool2x2_reader.cpp
changh95's picture
Optimized build (2026-10-03): trace 3.73 -> 0.50 ms
c699c4c verified
Raw History Blame Contribute Delete
452 Bytes
// 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);
}