Debian Codegraph @

src/thirdparty/Symforce-Caspar/generated/f32/sort_indices.h

raw
1 /* ----------------------------------------------------------------------------
2 * SymForce - Copyright 2025, Skydio, Inc.
3 * This source code is under the Apache 2.0 license found in the LICENSE file.
4 * ---------------------------------------------------------------------------- */
5
6 #pragma once
7
8 #include <cuda_runtime.h>
9
10 namespace caspar {
11
12 size_t SortIndicesGetTmpNbytes(size_t problem_size);
13
14 void SortIndices(void* tmp_storage, size_t tmp_storage_bytes, const uint* keys_in, uint* sorted_out,
15 uint* target_out, uint* argsort_out, size_t problem_size);
16
17 size_t SortKeysGetTmpNbytes(size_t problem_size);
18
19 void SortKeys(void* tmp_storage, size_t tmp_storage_bytes, const uint* keys_in, uint* sorted_out,
20 size_t problem_size);
21
22 void SelectIndex(const uint* const input, const uint* const selections, uint* const output,
23 size_t problem_size);
24
25 } // namespace caspar