[Rtk-users] RTK + OPEN CL 64bits

Simon Rit simon.rit at creatis.insa-lyon.fr
Thu Sep 26 09:12:28 EDT 2013


Hi,
I don't think it's related to the processor. Maybe you haven't
installed the nvidia drivers for your graphic card? If yes, the best
is probably to investigate this issue on the nvidia website / forums.
Simon

On Thu, Sep 26, 2013 at 3:05 PM, psperceval <psperceval at kyxar.fr> wrote:
> Hi Simon,
>
> Thanks for your quick answer.
> Ok I will forgot about openCL.
>
> I've just downloaded the CUDA installer
> (cuda_5.5.20_winvista_win7_win8_general_64.exe)
> My graphic card is a GeForce-GT-555M listed as GPU compatible on NVIDIA
> website.
> My computer is Win7-64, Intel-i5 proc.
>
> Unfortunatelly in the very first steps of the CUDA installation, the
> installer says that it can't see a CUDA compatible graphic card.
>
> Any idea about that?
> Do you know if intel i5 processor graphic capacities may prevent the NVIDIA
> Card detection by CUDA installer?
>
> best regards,
> Perceval
>
>
>
>
>
>
>
>
> -----Message d'origine----- From: Simon Rit
> Sent: Thursday, September 26, 2013 2:05 PM
> To: psperceval
> Cc: rtk-users at openrtk.org
> Subject: Re: RTK + OPEN CL 64bits
>
> 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