Download code/kernels/sp_pool/pool2x2_writer.cpp from changh95/superpoint-p150: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/changh95/superpoint-p150/resolve/main/code/kernels/sp_pool/pool2x2_writer.cpp
- Command line
-
hf download hf://changh95/superpoint-p150/code/kernels/sp_pool/pool2x2_writer.cpp
-
curl -L -o pool2x2_writer.cpp https://huggingface.co/changh95/superpoint-p150/resolve/main/code/kernels/sp_pool/pool2x2_writer.cpp
421 Bytes
| // 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). | |
| 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); | |
| } | |