[Rtk-users] RTK and CUDA

MORY, CYRIL Cyril.Mory at philips.com
Tue May 28 10:24:43 EDT 2013


Hi,

I have a few questions regarding CUDA in RTK :

-          In rtkCudaForwardProjectImageFilter.cu, which I'm using as a starting point, suppose I want to set to zero all elements of the 3D array allocated by cudaMalloc3DArray(). Do you know of a Cuda function that would do it ? I've been unable to make it using CudaMemset3D(), which seems to work only when memory has been allocated with CudaMalloc3D(), not with CudaMalloc3DArray().

-          I get a "CUDA ERROR : Unknown error" in the execution of the line "cudaBindTexture (0, tex_matrix, dev_matrix, 12*sizeof(float) );" in my program. I really do not have a clue why. I'd like to use the cuda debugger to understand what I'm doing wrong. Is it possible via CMake ? How should I modify the CMake files to do so ?

Regards,

==========================================
Cyril Mory
PhD student at Philips Medisys and CREATIS

Groupement Hospitalier Est
Hôpital Cardiologique Louis Pradel
Laboratoire CREATIS - Bât. B13
CNRS UMR5220, INSERM U1044, INSA-Lyon, Univ. Lyon 1
28, Avenue du Doyen LEPINE
69677 Bron cedex FRANCE

Office : +33 4 72 35 74 12
Cell : +33 6 69 46 73 79


________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20130528/e778fb9f/attachment-0008.html>


More information about the Rtk-users mailing list