[Rtk-users] Hi rtk-users/developpers,
Simon Rit
simon.rit at creatis.insa-lyon.fr
Fri Jun 19 02:46:47 EDT 2015
Hi Mathieu,
That was not easy but I have pushed a fix that should allow the use of CUDA
in SimpleRTK. I have included your json file in the repository and added an
example that works for me:
https://github.com/SimonRit/RTK/blob/master/utilities/SimpleRTK/Examples/RTKFirstCudaReconstruction.py
It would be great if some other users can test it.
Simon
On Wed, Apr 1, 2015 at 2:47 PM, Julien Jomier <julien.jomier at kitware.com>
wrote:
> Hi Mathieu,
>
> It's actually a little more complicated than just modifying the CMakeLists
> files, because we define a new image type itk::CudaImage which is not
> currently handled by the wrapping. We'll see if we can add this soon.
>
> Julien
>
>
> On 30/03/2015 11:14, Mathieu DUPONT wrote:
>
>> Hi rtk-users/developpers,
>>
>>
>> I want to use RTK in a python workflow, and for this I want to use
>> CudaFDKConeBeamReconstructionFilter class. For this, I created a json file
>> in "utilities/SimpleRTK/Code/BasicFilters/json" directory. I join this file
>> with this email. But when I try to build, I get an error about "cuda.h"
>> file missing.
>>
>>
>> "
>> [ 65%] Building CXX object
>> Code/BasicFilters/src/CMakeFiles/SimpleRTKBasicFilters1.dir/srtkCudaFDKConeBeamReconstructionFilter.cxx.o
>> cd
>> /data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/src
>> && /usr/bin/c++ -DSimpleRTKBasicFilters1_EXPORTS
>> -DSimpleRTKBasicFilters_EXPORTS -fPIC -fPIC
>> -I/data/mdupont/Compile/openrtk/bin-rtk
>> -I/image/mdupont/soft/RTK/utilities/ITKCudaCommon/include
>> -I/image/mdupont/soft/RTK/code -I/data/soft/include/ITK-4.7/Algorithms
>> -I/data/soft/include/ITK-4.7
>> -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/Common/include
>> -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/Registration
>> -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/BasicFilters/include
>> -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/IO/include
>> -I/data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/include
>> -I/data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/Common/include
>> -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/BasicFilters/src -o
>> CMakeFiles/SimpleRTKBasicFilters1.dir/srtkCudaFDKConeBeamReconstructionFilter.cxx.o
>> -c /data/mdupont/Compile/openrtk
>>
> /bin-rt
>
> k/SimpleRTK-build/Code/BasicFilters/src/srtkCudaFDKConeBeamReconstructionFilter.cxx
>
>> In file included from
>> /image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaImageDataManager.h:25,
>> from
>> /image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaImage.h:22,
>> from
>> /image/mdupont/soft/RTK/code/rtkCudaFDKWeightProjectionFilter.h:25,
>> from
>> /image/mdupont/soft/RTK/code/rtkCudaFDKConeBeamReconstructionFilter.h:23,
>> from
>> /data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/src/srtkCudaFDKConeBeamReconstructionFilter.cxx:34:
>> /image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaUtil.h:33:
>> fatal error: cuda.h: No such file or directory
>> "
>>
>> How to modify cmakelists files in order to use cuda classes with
>> SimpleRTK ?
>>
>> Thanks for your help,
>> Mathieu Dupont
>>
>>
>>
>> _______________________________________________
>> Rtk-users mailing list
>> Rtk-users at public.kitware.com
>> http://public.kitware.com/mailman/listinfo/rtk-users
>>
>> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> http://public.kitware.com/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20150619/a7778193/attachment.html>
More information about the Rtk-users
mailing list