Skip to content

Adding auto-allocation logic for rocfft tests#993

Merged
regan-amd merged 1 commit into
developfrom
import/develop/regan-amd_rocFFT/auto_alloc_rocfft
Aug 27, 2025
Merged

Adding auto-allocation logic for rocfft tests#993
regan-amd merged 1 commit into
developfrom
import/develop/regan-amd_rocFFT/auto_alloc_rocfft

Conversation

@assistant-librarian
Copy link
Copy Markdown
Contributor

@assistant-librarian assistant-librarian Bot commented Jul 31, 2025

Following up here upon completion of ROCm/hipFFT#160.

Note:

  1. if auto-allocation is used, plans allocate resources at execution for rocFFT whereas they do it at plan generation for hipFFT;
  2. "default" auto-allocation flag for rocFFT tests is equivalent to "off", while "default" auto-allocation behavior for hipFFT tests is equivalent to "on", consistently with the above;
  3. If "on" auto-allocation flag is used for a rocFFT test, that would force the underlying plan to allocate resources at execution time. It might be best to have a warning printed by bench in that case?

🔁 Imported from ROCm/rocFFT#626
🧑‍💻 Originally authored by @regan-amd

NguyenNhuDi pushed a commit to NguyenNhuDi/rocm-libraries that referenced this pull request Aug 1, 2025
@regan-amd regan-amd removed the request for review from feizheng10 August 14, 2025 21:05
@regan-amd regan-amd force-pushed the import/develop/regan-amd_rocFFT/auto_alloc_rocfft branch from d70e95f to 05e9c9a Compare August 14, 2025 21:06
@regan-amd regan-amd requested a review from a team as a code owner August 14, 2025 21:06
@github-actions github-actions Bot added the project: none Does not target any component label Aug 14, 2025
@eidenyoshida eidenyoshida removed the project: none Does not target any component label Aug 15, 2025
@regan-amd regan-amd force-pushed the import/develop/regan-amd_rocFFT/auto_alloc_rocfft branch from 05e9c9a to a255112 Compare August 26, 2025 15:42
@regan-amd regan-amd merged commit de81b0b into develop Aug 27, 2025
13 of 15 checks passed
@regan-amd regan-amd deleted the import/develop/regan-amd_rocFFT/auto_alloc_rocfft branch August 27, 2025 21:55
assistant-librarian Bot pushed a commit to ROCm/rocFFT that referenced this pull request Aug 27, 2025
Adding auto-allocation logic for rocfft tests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Following up here upon completion of
ROCm/hipFFT#160.

Note:
1. if auto-allocation is used, plans allocate resources at execution for
rocFFT whereas they do it at plan generation for hipFFT;
2. "default" auto-allocation flag for rocFFT tests is equivalent to
"off", while "default" auto-allocation behavior for hipFFT tests is
equivalent to "on", consistently with the above;
3. If "on" auto-allocation flag is used for a rocFFT test, that would
force the underlying plan to allocate resources at execution time. It
might be best to have a warning printed by bench in that case?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants