MCPcopy Create free account
hub / github.com/ashvardanian/less_slow.cpp / round_to_multiple

Function round_to_multiple

less_slow.cpp:564–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562#include <omp.h> // `omp_get_max_threads`
563
564std::size_t round_to_multiple(std::size_t value, std::size_t multiple) {
565 return ((value + multiple - 1) / multiple) * multiple;
566}
567
568static void sorting_with_openmp(bm::State &state) {
569

Callers 1

sorting_with_openmpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected