novtb

Crates.ionovtb
lib.rsnovtb
version0.1.6
created_at2025-06-06 15:56:48.382942+00
updated_at2025-06-07 17:24:43.501421+00
descriptionSimple Zoned Data-Parallelism with Core Affinity
homepagehttps://github.com/awxkee/novtb
repositoryhttps://github.com/awxkee/novtb.git
max_upload_size
id1703209
size33,473
Radzivon Bartoshyk (awxkee)

documentation

https://github.com/awxkee/novtb

README

Simple Zoned Data-Parallelism with Core Affinity

Library does simple brute-force region data-parallelism with core pinning.

Some examples

let pool = novtb::ThreadPool::new(thread_count as usize);
pool.parallel_for(|thread_index| {
    // some heavy work
);
let pool = novtb::ThreadPool::new(thread_count as usize);
dst.tb_par_chunks_mut(dst_stride as usize * tile_size)
    .for_each_enumerated(&pool, |cy, dst_rows| {
        // some heavy work
    });

This project is licensed under either of

  • BSD-3-Clause License (see LICENSE)
  • Apache License, Version 2.0 (see LICENSE)

at your option.

Commit count: 0

cargo fmt