[Rtk-users] RTK + OPEN CL 64bits

Simon Rit simon.rit at creatis.insa-lyon.fr
Thu Sep 26 08:05:44 EDT 2013


Hi,
Please send your questions in English on the RTK mailing list.
In general, we keep the OpenCL filters to not lose previous
developments but the current version is extremely slow and the CPU
version is probably better. Try to find a machine with a Cuda
compatible graphics card (NVidia) if you want faster reconstruction...
(you can use CREATIS cluster since you're a member).
I have no idea what is the problem you are encountering with 64 bits
but my guess is that your OpenCL drivers are 32 bits.
For volumes that are too large, you can automatically have it divided
in pieces by using the option --divisions. But 64 bits would indeed be
preferable to be able to use more that 2 Go of RAM on Windows.
Simon

2013/9/26 psperceval <psperceval at kyxar.fr>:
> Bonjour,
>
> 1) Windows 7 x64, compile 64bit
> J’ai compilé une version 64bit de ITK/RTK.
> Pas de soucis sans OpenCL (CPU only).
> Si dans le Cmake j’active l’openCL (pointant sur la version 64bit de openCL)
> la configuration semble ok:
>>>>“Found OpenCL: ....”
>
> Mais pendant la configuration de CMake un programme “TryCompil...” s’execute
> et plante.
> Malgré ca, Cmake fini correctement la configuration ainsi que la generation.
> Ensuite la commande make genere l’application RTK OK.
>
> Enfin si j’appelle “rtkfdk --hardware cpu” pas de soucis.
> mais “rtkfdk –hardware opencl” plante et une fenetre popup apparait
> “rtkfdk.exe a cessé de fonctionner”.
>
>
> Question:
>
> 2) Compile 32bits
> Dans un deuxieme temps j’ai essayé la meme chose mais avec ITK/RTK en
> 32bits.
> Cette fois si toute la partie Cmake et make se fait sans problemes.
> La commande “rtkfdk --hardware cpu” passe sans soucis.
>
>
> Par contre la commande “rtkfdk--hardware opencl” coince avec des images
> d’une taile >500x500x360  mais cette fois ci l’executable retourne l’erreur
> suivante:
>
> “”””
> rtkfdk -p . -r scan1.mha -o scan1_CT.tif -g geometry.xml --spacing 1
> --dimension=560,609,360 --hann 1.0 --hardware opencl
> ExceptionObject caught with writer->Update()
>
> itk::ExceptionObject (0x353bbe8)
> Location: "unknown"
> File:
> C:\PSLwork\Tomography\RTK\code\rtkOpenCLFDKBackProjectionImageFilter.cxx
> Line: 69
> Description: itk::ERROR: OpenCLFDKBackProjectionImageFilter(0x3537e90):
> Could not allocate OpenCL volume buffer, error code: -6
> “”””
>
> or
>
> “”””
> ExceptionObject caught with writer->Update()
>
> itk::MemoryAllocationError (0x37d5910)
> Location: "unknown"
> File:
> C:/PSLwork/Tomography/ITK/Modules/Core/Common/include/itkImportImageContainer.hxx
> Line: 191
> Description: Failed to allocate memory for image.
> “””
>
>
> Question:
>
> 1) Comment traiter des stacks d’images de taille >600x600 (x360)?  (avec ou
> sans openCL)
> 2) “RTKFDK – opencl” est-il compatible avec une compilation 64bit (RTK64 +
> OpenCL64)
>
>
> Merci pour votre aide.
> Cordialement,
> Perceval
>
>



More information about the Rtk-users mailing list