-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
WIP: PERF: Performance acceleration via GPU-accelerated FFT's #1331
Draft
thewtex
wants to merge
3
commits into
ANTsX:master
Choose a base branch
from
thewtex:perf-fft
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,11 @@ if(NOT DEFINED ${extProjName}_DIR AND NOT ${USE_SYSTEM_${extProjName}}) | |
-DModule_ITKMINC:BOOL=ON | ||
) | ||
endif() | ||
if(${extProjName}_BUILD_VKFFT_SUPPORT) | ||
set(${proj}_MINC_ARGS | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this should be "${proj}_VKFFT_ARGS" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't get to testing this build and fixing it up yet. |
||
-DModule_VkFFTBackend:BOOL=ON | ||
) | ||
endif() | ||
|
||
set(${proj}_WRAP_ARGS) | ||
#if(foo) | ||
|
@@ -136,6 +141,7 @@ if(NOT DEFINED ${extProjName}_DIR AND NOT ${USE_SYSTEM_${extProjName}}) | |
${${proj}_FFTWF_ARGS} | ||
${${proj}_FFTWD_ARGS} | ||
${${proj}_MINC_ARGS} | ||
${${proj}_VKFFT_ARGS} | ||
) | ||
|
||
if( USE_VTK STREQUAL "ON" ) | ||
|
@@ -151,9 +157,10 @@ if(NOT DEFINED ${extProjName}_DIR AND NOT ${USE_SYSTEM_${extProjName}}) | |
|
||
|
||
### --- End Project specific additions | ||
set(${proj}_REPOSITORY ${git_protocol}://github.com/InsightSoftwareConsortium/ITK.git) | ||
# set(${proj}_REPOSITORY ${git_protocol}://github.com/InsightSoftwareConsortium/ITK.git) | ||
set(${proj}_REPOSITORY ${git_protocol}://github.com/thewtex/ITK.git) | ||
# set(${proj}_REPOSITORY ${git_protocol}://github.com/stnava/ITK.git) | ||
set(${proj}_GIT_TAG v5.3rc03) # Official ITK release version 5.3.0 rc 03 # Many modern code updates for performance | ||
set(${proj}_GIT_TAG d5abe809e26043e888a887d4dafc39fabb0fb2b3) # Official ITK release version 5.3.0 rc 03 # Many modern code updates for performance | ||
set(ITK_VERSION_ID ITK-5.3) ### NOTE: When updating GIT_TAG, also update ITK_VERSION_ID | ||
|
||
ExternalProject_Add(${proj} | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block breaks the default SuperBuild for me. It's asking for ITK components that aren't built by default:
VkFFTBackend
ITKFEM
ITKVTK
ITKVtkGlue
I don't know about ITKFEM, but the others should be required only if the relevant build options are turned on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ITKFEM is because
Temporary/
has includes which use it.VkFFTBackend is the code which supports this new feature.
ITKVTK and ITKVTK need to be wrapped so they only are required if the USE_VTK is on.
I'm working on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also
Examples/ConformalMapping.cxx
andExamples/ANTSConformalMapping.cxx
but it appears these are not built, since ITKFEM module hasn't been enabled and the build still works.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was working on this as well, but I could not build with vkFFT support. It stops with this error
Have you been able to compile with the vtFFT module on?