Repository navigation
feat(hipfft): implement JIT callback API, deprecate function pointer API - #10875
Conversation
a79f088 to
2cb31bf
Compare
✅ All Checks Passed — Ready for Review
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🎉 All checks passed! This PR is ready for review. |
2cb31bf to
3c882c9
Compare
3c882c9 to
29973f1
Compare
29973f1 to
4badd37
Compare
regan-amd
left a comment
There was a problem hiding this comment.
- The multi-gpu label was added to the PR, FYI.
- I believe we should reset the default
callback_probto 0.1 in hipfft-test.
regan-amd
left a comment
There was a problem hiding this comment.
Just some extra suggestions/thoughts about the latest changes: I let you judge about them.
anisha-amd
left a comment
There was a problem hiding this comment.
Minor comments and suggestions, thank you!!
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #10875 +/- ##
===========================================
+ Coverage 69.35% 69.68% +0.33%
===========================================
Files 2810 2810
Lines 464609 464722 +113
Branches 68557 68585 +28
===========================================
+ Hits 322227 323816 +1589
+ Misses 118866 117383 -1483
- Partials 23516 23523 +7
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
regan-amd
left a comment
There was a problem hiding this comment.
Just another suggestion if we have bandwidth for it.
JIRA ID: AIFFT-5 New APIs to allow specifying JIT callbacks: - hipFFT: * hipfftXtSetJITCallback In rocFFT-backed hipFFT, the callback function is specified as SPIR-V bitcode. cuFFT-backed hipFFT accepts LTO-IR bitcode. Enabled JIT callback tests and removed the running of function pointer callback tests by default. Function pointer callbacks may still be explicitly requested for manual tests with --callback=funcptr.
- consistently say SPIR-V is bitcode - clang++ -> amdclang++ - add section with description and example for passing data to callbacks - align load/store API docs
- don't talk about plan descriptions in changelog - clarify deprecation message - allow clearing JIT callbacks
08f24aa to
79945c3
Compare
anisha-amd
left a comment
There was a problem hiding this comment.
Single suggestion comment, thank you!!
…t_callback_api_hipfft
Also put the multi-GPU + callback kernels in the same place as the other coverage kernels, since the db is designed to be appended to. Might save some compilation time.
TheRock Submodule Bump ActivityNewest first
|
Motivation
JIRA ID: AIFFT-9
New APIs to allow specifying JIT callbacks:
Technical Details
In rocFFT-backed hipFFT, the callback function is specified as SPIR-V bitcode. cuFFT-backed hipFFT accepts LTO-IR bitcode.
Enabled JIT callback tests and removed the running of function pointer callback tests by default. Function pointer callbacks may still be explicitly requested for manual tests with --callback=funcptr.
Test Plan
New test cases cover JIT callbacks.
Test Result
Tests pass.
Submission Checklist