Skip to content

Confusion about per documentation #157

@DanielDoehring

Description

@DanielDoehring

I am a bit confused by the documentation of the per option:

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions