Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi threading #201

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Multi threading #201

wants to merge 18 commits into from

Commits on Sep 14, 2023

  1. libsamplerate multi-thread (OpenMP) implementation

    compiled and tested on
    --
    FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
    Target: x86_64-unknown-freebsd13.2
    Thread model: posix
    --
    ss3git committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    516b1b4 View commit details
    Browse the repository at this point in the history
  2. MT disable by default.

    ss3git committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    df1aaae View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    8c0f676 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. some more optimize

    ss3git committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    2799ec3 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. correct indentation

    ss3git committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    797a807 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. - Windows (MSVC) support

    - eliminate redundant buffer
    ss3git committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    9c9959d View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. ensure the number of threads actually used by omp to have the barrier…

    … logic work correctly.
    ss3git committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    7c3ec94 View commit details
    Browse the repository at this point in the history
  2. change threading strategy because overhead of allocating extra work b…

    …uffer for each thread seems to be larger in fewer channel process cases.
    ss3git committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    58c7d5f View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. allow odd numbers of threads

    prefetch coefft to cache memory
    ss3git committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    9bce93e View commit details
    Browse the repository at this point in the history
  2. format style

    ss3git committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    6d3132a View commit details
    Browse the repository at this point in the history
  3. fix for debug build

    ss3git committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    99d4396 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    7348582 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd6aec3 View commit details
    Browse the repository at this point in the history
  3. fix type and clarify zero

    ss3git committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    0738d4d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1c01a77 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. change _WIN32 to _MSC_VER

    ss3git committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    6d4abeb View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. loop termination condition fix

    ss3git committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    c0aa879 View commit details
    Browse the repository at this point in the history
  2. undo loop termination condition fix, and make the decision equivalent…

    … to the single-thread version.
    
    note: the (single-thread) implementation may have some underlying bug here because the number of output frames is seemingly
    inconsistent depending on the combinations of src_ratio, input frames, and number of channels.
    The fix should be out of scope for this PR (MultiThreading).
    ss3git committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    d509240 View commit details
    Browse the repository at this point in the history