pthreadpool icon indicating copy to clipboard operation
pthreadpool copied to clipboard

Portable (POSIX/Windows/Emscripten) thread pool for C/C++

Results 18 pthreadpool issues
Sort by recently updated
recently updated
newest added

see https://issuetracker.google.com/211696118 for the original bug report. the code's moved about and is at https://github.com/Maratyszcza/pthreadpool/blob/a134dd5d4cee80cce15db81a72e7f929d71dd413/src/memory.c#L27 now, but the bug's still there. probably wants to be something like this instead: ```...

Summary: This PR adds a way use fewer threads than configured with in pthreadpool. Occassionaly it has been seen that using the # of thredas = logical core is not...

pthreadpool lacks a pthreadpool.pc pkg-config file for the build system like CMake and Meson to find it as an external dependencies. If pthreadpool only use cmake, I can help add...

Similar to the work done in https://github.com/pytorch/pytorch/pull/37137, this adds the following CMake options: - `USE_SYSTEM_LIBS` - `USE_SYSTEM_GOOGLEBENCHMARK` - `USE_SYSTEM_GOOGLETEST` - `USE_SYSTEM_FXDIV` This is particularly useful in the context of Nix,...

pthreadpool_interface will cause some error when we want to export target pthreadpool for find_package(pthreadpool), and it's unnecessary(i think just aligned with bazel?), so remove it.

Hi, While fuzzing we triggered crash that was reported in #21 and https://issuetracker.google.com/issues/211696118 Code has changed a bit since then, but problem is the same.

Add assert to check `divisor` is not 0 in `divide_round_up`. This can be triggered if `tile_j` or `tile_k` parameters of `pthreadpool_parallelize_3d_tile_2d` are zero.

I presume that the Travis CI file in the repository has long since died, as no CI has run on any job recently. For anyone wishing to contribute, this seems...