COMP: Fix GPU modules PrintSelf compiler errors#3928
COMP: Fix GPU modules PrintSelf compiler errors#3928dzenanz merged 5 commits intoInsightSoftwareConsortium:masterfrom
PrintSelf compiler errors#3928Conversation
|
I am building locally. The commit I pushed was an obvious fix which I did before providing you the rest of the errors. |
|
Output-Build.txt |
Will fail if you do not comment |
6f7a807 to
024bb14
Compare
@dzenanz Please test locally when you have time. We may need to change to but I want to see if that is strictly necessary. |
024bb14 to
7e97e85
Compare
7e97e85 to
3c6c357
Compare
|
My last commit makes it compile cleanly, but 3 tests now fail: I will look into it next week, unless someone else takes a look over the weekend. |
Thanks @dzenanz 💯. Sorry for not having addressed all.
I will not be able to look into this. |
c029d5d to
3d80bac
Compare
|
The latest force-push fixes all test errors for me. Feel free to merge this into other commits, or otherwise reorganize PR. |
Restore the `PrintSelf` method override in `itkGPUPDEDeformableRegistrationFilter.h`. Fixes: ``` GPUPDEDeformableRegistrationFilterKernel.cxx Modules\Registration\GPUPDEDeformable\include\itkGPUPDEDeformableRegistrationFilter.hxx(78,104): error C2995: 'void itk::GPUDenseFiniteDifferenceImageFilter<TInputImage,TOutputImage,TParentImageFilter>::PrintSelf(std::ostream &,itk::Indent) const': function template has already been defined Modules\Core\GPUFiniteDifference\include\itkGPUDenseFiniteDifferenceImageFilter.h(105): message : see declaration of 'itk::GPUDenseFiniteDifferenceImageFilter<TInputImage,TOutputImage,TParentImageFilter>::PrintSelf' Modules\Registration\GPUPDEDeformable\include\itkGPUPDEDeformableRegistrationFilter.hxx(118,1): error C2977: 'itk::GPUDenseFiniteDifferenceImageFilter<TInputImage,TOutputImage,TParentImageFilter>': too many template arguments ``` Removed inadvertently in commit c44f9c1. Fix the associated compilation errors in the `PrintSelf` method implementation.
Provide prefix-less member name as the argument to the `itkPrintSelfObjectMacro` macro in `itkGPUPDEDeformableRegistrationFilter.hxx`. Introduced inadvertently in commit c47ed1c.
Fix boolean member print statement in `itk::GPUDataManager`: add missing opening parenthesis. Missed inadvertently in commit c47ed1c.
Provide with printing ability to time resource classes. Fixes: ``` Modules\Core\GPUFiniteDifference\include\itkGPUFiniteDifferenceImageFilter.hxx(298,1): error C2679: binary '<<': no operator found which takes a right-hand operand of type 'itk::TimeProbe' (or there is no acceptable conversion) ```
Provide with the `Superclass` type alias to `itk::GPUGradientAnisotropicDiffusionImageFilter`. Exercise the basic object methods.
3d80bac to
b3139d1
Compare
Done. Thanks @dzenanz 💯. |
|
/azp run ITK.macOS |
|
/azp run ITK.Linux |
PrintSelfin itkGPUPDEDeformableRegistrationFilter.hitkPrintSelfObjectMacroitk::GPUDataManagerPR Checklist