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
missing file : clients/rocFFT/shared/arithmetic.h #83
Comments
Hi @trixirt - hipFFT has rocFFT as a submodule (in Can you confirm that this is the rocFFT commit you have checked out for the submodule? Does |
It should be buildable, it was earlier in 5.7.1 |
More context. |
One thing that changed between 5.7.1 and 6.0.0 is that the core library started using header files from the submodule. So this same situation would have occurred, if the hipFFT client programs were packaged in 5.7.1. You mentioned Builds from a git clone will need to have submodules initialized. It seems that the submodule was not included in the files in the release tarball. |
This is an issue for Debian packaging, too. It can be worked around, but it's a bit troublesome. My preference would be to either include the specific files shared between the repos directly in each repository (e.g., using
This is why hipfft from ROCm 5.5.1 is packaged for Debian, but the tests are not.
Embedding the full source to rocFFT in the hipFFT tarball is not ideal. I'm not sure Debian would use it, as that is against the recommendations on embedded copies. |
Sorry for the fedora-ism.. here is the spec file The tarball is created from the url on line 28. hipfft is built against an already built and installed rocfft. Likewise for fedora, embedding the full source of rocFFT would not work. |
The wip workaround is Use rocfft shared headers But this requires hacking the rocfft install . |
What is the expected behavior
What actually happens
[ 50%] Building CXX object library/CMakeFiles/hipfft.dir/src/amd_detail/hipfft.cpp.o
/home/trix/rocm/hipFFT/library/src/amd_detail/hipfft.cpp:30:10: fatal error: ../../../clients/rocFFT/shared/arithmetic.h: No such file or directory
30 | #include "../../../clients/rocFFT/shared/arithmetic.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [library/CMakeFiles/hipfft.dir/build.make:76: library/CMakeFiles/hipfft.dir/src/amd_detail/hipfft.cpp.o] Error 1
How to reproduce
git checkout rocm-6.0.0
cmake
make
Environment
The text was updated successfully, but these errors were encountered: