Skip to content

Is it possible to get the current number of active FFTW threads? #234

Open
@IanButterworth

Description

@IanButterworth

For profiling purposes I'm interested in developing a julia tool that asynchronously monitors threading load and measure quality of threading balance.

That's simple now in julia 1.8 because profiling can identify which julia tasks/threads are awake.

Is there a way to do that asynchronously with FFTW? Crudely, just a count of active FFTW threads at a given time?


Answering my question partly, as on inspection I'm realizing that FFTW threads are managed by julia via @spawn

Threads.@spawn ccall(f, Ptr{Cvoid}, (Ptr{Cvoid},), fdata + elsize*i)

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