#include "base/cs_base.h"#include "base/cs_dispatch.h"#include "base/cs_halo.h"#include "alge/cs_matrix.h"
Include dependency graph for cs_algorithm.h:Go to the source code of this file.
Namespaces | |
| namespace | cs |
| namespace | cs::algorithm |
Functions | |
| CS_F_HOST_DEVICE cs_lnum_t | l_binary_search (cs_lnum_t l_id_array_size, cs_lnum_t l_id, const cs_lnum_t l_id_array[]) |
| Binary search for a given local id in a given array of ordered local ids, when the id might not be present. More... | |
| void | count_to_index (cs_dispatch_context &ctx, cs_lnum_t n, cs_lnum_t a[], size_t tmp_size=0, void *tmp_storage=nullptr) |
| cs_gnum_t | count_reduce_sum (cs_dispatch_context &ctx, cs_lnum_t n, short counter[]) |
| Sum a local counter. More... | |