VeloGraphX
High-performance dynamic graph analytics in C++20
Loading...
Searching...
No Matches
partitioner.hpp File Reference
#include "velographx/runtime/numa.hpp"
#include <algorithm>
#include <cstddef>
#include <optional>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  velographx::NumaVertexPartition
 

Namespaces

namespace  velographx
 

Functions

std::vector< std::pair< std::size_t, std::size_t > > velographx::contiguous_partitions (std::size_t n, std::size_t parts)
 
std::vector< NumaVertexPartitionvelographx::plan_numa_vertex_partitions (std::size_t vertex_count, const NumaInfo &info, NumaMode mode, std::size_t partitions=0)
 
std::optional< std::size_t > velographx::numa_node_for_vertex (std::size_t vertex, const std::vector< NumaVertexPartition > &partitions) noexcept