-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
build itk with ITK_USE_CUFFTW ITK_USE_GPU ON gets error #3744
Comments
None of your images have uploaded properly. |
sor, i have updated the images |
@zhusihan-python thanks for the report.
We are finalizing itk-5.3.0, at which time we will build packages for itk-montage but also itk-vkfftbackend, which provides GPU acceleration and you will be able to pip install both. |
It looks like the problem is that GPU filters are not wrapped for Python. I guess that Matt's suggested solution is easier. |
Sir dzenaz, i tried to set wrap_python to OFF, still got the same error, i notice that the tag 5.3.0 is released yesterday, i tried on this tag, got the same build warnings and errors too, just FYI. |
This is clearly Python-related. Did you turn off Also possibly look at #1809 (comment). |
with ITK_WRAP_PYTHON OFF, ITK_USE_GPU ON, ITK_USE_CUFFTW ON
then add ITK_USE_FFTWD_DEFAULT ON, ITK_USE_FFTWF_DEFAULT ON, ITK_USE_SYSTEM_FFTW_DEFAULT ON build success. |
MKL and cuFFT impersonate FFTW, so ITK_USE_FFTWD_DEFAULT ON, ITK_USE_FFTWF_DEFAULT ON, ITK_USE_SYSTEM_FFTW_DEFAULT ON are needed as a side-effect of build-system simplification. I don't remember whether Python is supposed to work with cuFFTW, or even just any GPU filters. @tbirdso and/or @thewtex might know. |
@dzenanz yes, FFTW should work with Python. This does sound like a bug. |
Interestingly, in attempting to reproduce with
|
update |
@dzenanz should this be kept open? My understanding is the build passed for v5.2.1 but failed for v5.3.0. |
@zhusihan-python can reopen if the issue was not fixed, and further clarify the problem if it is something other than "build passed for v5.2.1 but failed for v5.3.0". |
Re-opening this issue, @zhusihan-python has confirmed in InsightSoftwareConsortium/ITKVkFFTBackend#64 that the issue persists in ITK v5.3.0. Platform and build environment details are available in InsightSoftwareConsortium/ITKVkFFTBackend#64. |
build itk master on windows 10 cmake 3.23.1 vs 2022 cuda 11.8 got errors
Description
Steps to Reproduce
1、set option ITK_USE_GPU=ON ITK_USE_CUFFTW=ON in CmakeList.txt
![18af6a41eee9b13f8c0d019c5a6927b](https://user-images.githubusercontent.com/23504604/202070383-cf04c688-a868-483d-ac27-a65fe6e2c6c1.png)
2、configure cmake
got some warnings as below
![4751fbde926bdac8f18a81189e33f84](https://user-images.githubusercontent.com/23504604/202068737-64024edc-fc31-4a86-b2ea-10213353afaf.png)
all wrap_* has been turn on, still got the warnings, so i just ignore it and continue generate
Expected behavior
build successful, then i can build itk montage using cufft acclerated itk
Actual behavior
build failed
Reproducibility
Versions
master branch commit id 38696b2
Environment
windows 10 cmake 3.23.1 vs 2022 cuda 11.8 python 3.10.8
Additional Information
The text was updated successfully, but these errors were encountered: