[Rtk-users] building CUDA

Julien Jomier julien.jomier at kitware.com
Thu Feb 12 11:23:10 EST 2015


To follow up, what do you mean by "no cuda applications were generated"? 
If you have the libraries compiled that means CMake found a working CUDA 
compatible device.

-Julien

On 12/02/2015 17:16, Simon Rit wrote:
> Hi,
> Cmake automatically checks if you have a cuda compatible GPU. If it
> cannot run a simple test, CUDA_HAVE_GPU is OFF and it won't compile
> applications. So there must be an issue with your graphic card. Check
> if you can compile and run has_cuda_gpu.c.
> Simon
>
> On Thu, Feb 12, 2015 at 4:04 PM, Howard <lomahu at gmail.com> wrote:
>> HI,
>>
>> I encountered a problem when building CUDA applications. CUDA 5.5 was
>> installed on our system. I set the following in ccmake
>>
>>   CUDA_64_BIT_DEVICE_CODE          ON
>>   CUDA_ATTACH_VS_BUILD_RULE_TO_C   ON
>> RTK_USE_CUDA                     ON
>>
>> I could build but no cuda applications were generated. In the bin folder I
>> saw libITKCudaCommon.a and librtkcuda.a.
>>
>> What did I miss? Anybody could shed light on this? Thanks,
>>
>> -howard
>>
>> _______________________________________________
>> 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
>



More information about the Rtk-users mailing list