Skip to content

Default number of CPUs chosen looks at available memory in a way that doesn't really make sense #73

@KristofferC

Description

@KristofferC

On my M4 I get:

julia> using ParallelTestRunner

julia> ParallelTestRunner.default_njobs()
3

Running tests on this CPU with max 3 cores is very wasteful. The reason is some memory limitation at https://github.com/JuliaGPU/CUDA.jl/blob/c5145ab2043cca295b05e840fb2fc632797f1b9c/test/runtests.jl#L175 but the numbers there seem very arbitrary. I'd probably skip the memory consideration completely when chosing how many cores to use.

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