[Rtk-users] building CUDA

Simon Rit simon.rit at creatis.insa-lyon.fr
Thu Feb 12 17:16:17 CET 2015


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
>



More information about the Rtk-users mailing list