Skip to content

TPC: fix initialization of FFTW arrays in aggregator-ft#15538

Open
ehellbar wants to merge 1 commit into
AliceO2Group:devfrom
ehellbar:pr15538
Open

TPC: fix initialization of FFTW arrays in aggregator-ft#15538
ehellbar wants to merge 1 commit into
AliceO2Group:devfrom
ehellbar:pr15538

Conversation

@ehellbar

@ehellbar ehellbar commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@ehellbar

Copy link
Copy Markdown
Collaborator Author

@matthias-kleiner

@ehellbar

ehellbar commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator Author

with a4bd6bc, --nthreads, which sets the dimension of the FT vectors, was moved to a local spec level option. Therefore, setNThreads() is now called in the init() after the FT vectors were already initialized in the constructor via initFFTW3Members().

This PR makes initFFTW3Members() a public function which resizes the vectors according to sNThreads. It is now called in init() after setNThreads().

NB: whenever using this class standalone, one needs to call initFFTW3Members() explicitly after constructing the object in order allocate the fftw vectors (before it was done in the constructor).

@matthias-kleiner

Copy link
Copy Markdown
Contributor

Thanks for fixing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants