[Rtk-users] building CUDA
Yang K Park
theday79 at gmail.com
Thu Feb 12 10:50:08 EST 2015
Hi Howard,
Attached is my Cmake capture image for RTK using CUDA6.5. (I’m using the default option of RTK w/o any manual modification).
Also, I’m using VS2013 / win7 64.
I found your second option “CUDA_ATTACH_VS_BUILD_RULE_TO_C “ is different from mine
(CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE).
And why don’t you use the newest version of CUDA (v6.5)? It may work fine regardless of the model of your NVIDIA graphic card (I’ve tested it for multiple computers w/ different graphic card models).
CUDA6.5 is convenient to install since a single installation file will be enough which is including the graphic driver, CUDA toolkit, SDK, etc. (not sure this is same as 5.5).
Yang
From: Rtk-users [mailto:rtk-users-bounces at public.kitware.com] On Behalf Of Howard
Sent: Thursday, February 12, 2015 10:05 AM
To: rtk-users at openrtk.org
Subject: [Rtk-users] building CUDA
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20150212/f96fe24b/attachment-0009.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cuda_RTK_Cmake.PNG
Type: image/png
Size: 43604 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20150212/f96fe24b/attachment-0009.png>
More information about the Rtk-users
mailing list