<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
{font-family:Wingdings}
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{}
@page WordSection1
{margin:70.85pt 70.85pt 70.85pt 70.85pt}
div.WordSection1
{}
ol
{margin-bottom:0cm}
ul
{margin-bottom:0cm}
-->
</style>
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I have a few questions regarding CUDA in RTK :</span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span lang="EN-US"><span style="">-<span style="font:7.0pt "Times New Roman"">
</span></span></span><span lang="EN-US">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().</span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span lang="EN-US"><span style="">-<span style="font:7.0pt "Times New Roman"">
</span></span></span><span lang="EN-US">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 ?
</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">==========================================</span></p>
<p class="MsoNormal"><span lang="EN-US">Cyril Mory</span></p>
<p class="MsoNormal"><span lang="EN-US">PhD student at Philips Medisys and CREATIS</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Groupement Hospitalier Est</span></p>
<p class="MsoNormal"><span lang="EN-US">Hô</span>pital Cardiologique Louis Pradel</p>
<p class="MsoNormal">Laboratoire CREATIS - Bât. B13</p>
<p class="MsoNormal">CNRS UMR5220, INSERM U1044, INSA-Lyon, Univ. Lyon 1</p>
<p class="MsoNormal">28, Avenue du Doyen LEPINE</p>
<p class="MsoNormal">69677 Bron cedex FRANCE</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">Office : +33 4 72 35 74 12</span></p>
<p class="MsoNormal"><span lang="EN-US">Cell : +33 6 69 46 73 79</span></p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">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.<br>
</font>
</body>
</html>