Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IanButterworth opened this issue Mar 26, 2022 · 0 comments
Open

Comments

@IanButterworth
Copy link
Contributor

IanButterworth commented Mar 26, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant