Skip to content

Commit

Permalink
STYLE: Cleanup useless code after CUDA function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit authored and SimonRit committed Apr 21, 2024
1 parent 5361f69 commit 1a2ca55
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/rtkCudaForwardWarpImageFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ CudaForwardWarpImageFilter ::GPUGenerateData()
xCompDVF = nullptr;
yCompDVF = nullptr;
zCompDVF = nullptr;

// The filter is inPlace
// pinVol = poutVol;
}

} // end namespace rtk
3 changes: 0 additions & 3 deletions src/rtkCudaWarpImageFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ CudaWarpImageFilter ::GPUGenerateData()
poutVol,
pDVF,
isLinear);

// The filter is inPlace
pinVol = poutVol;
}

} // end namespace rtk

0 comments on commit 1a2ca55

Please sign in to comment.