JuliaSIMD / JuliaSIMD/Polyester.jl

Confusion about `per` documentation

Open
#157 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
285
Forks
20
PR merge metrics
No merged PRs in 30d

Description

I am a bit confused by the [documentation of the `per` option](https://github.com/JuliaSIMD/Polyester.jl?tab=readme-ov-file#percores--perthreads):

> The `per` keyword argument can be used to limit the number of Julia threads to be used by a `@batch` block. Specifically, `per=core` will use only `max(num_cores, nthreads())` many of the Julia threads.

My understanding of this is the following:

The `per` keyword argument can be used to limit the number of Julia threads to be used by a `@batch` block. Specifically, `per=core` will use only `min(num_cores, nthreads())` many of the Julia threads.

What is correct?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.