<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I'd start by using a smaller dataset. Perhaps downsample your dataset to 256x256x150 to see if that works on your card. <br><br>Jim</div><div><br>On Dec 5, 2014, at 8:39 PM, Xiaopeng Yang <<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:SimSun;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"批注框文本 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:SimSun;}
span.Char
{mso-style-name:"批注框文本 Char";
mso-style-priority:99;
mso-style-link:批注框文本;
font-family:SimSun;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#44546A;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#44546A;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#44546A;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Hi Jim,<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">So you mean I need to change graphics card or set some parameters? How to allocate the memory of graphics card? <o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Thanks,<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Xiaopeng<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"><o:p> </o:p></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jim Miller [<a href="mailto:millerjv@gmail.com">mailto:millerjv@gmail.com</a>] <br><b>Sent:</b> Saturday, December 06, 2014 10:11 AM<br><b>To:</b> Xiaopeng Yang<br><b>Cc:</b> John Drescher; Insight-Users@Itk. Org<br><b>Subject:</b> Re: [ITK-users] GPU Implementation<o:p></o:p></span></p></div></div><p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p><div><p class="MsoNormal"><span lang="EN-US">I estimate that you would need over 2GB on your graphics card to run the demons algorithm on that size of a dataset. <br><br>Jim<o:p></o:p></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><br>On Dec 5, 2014, at 6:45 PM, Xiaopeng Yang <<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>> wrote:<o:p></o:p></span></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Dear Jim,</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">The images are quite large: 512 * 512 *300. </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">I did not build test when I compile ITK.</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Thanks,</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Xiaopeng</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jim Miller [<a href="mailto:millerjv@gmail.com">mailto:millerjv@gmail.com</a>] <br><b>Sent:</b> Friday, December 05, 2014 11:15 PM<br><b>To:</b> Xiaopeng Yang<br><b>Cc:</b> John Drescher; Insight-Users@Itk. Org<br><b>Subject:</b> Re: [ITK-users] GPU Implementation</span><span lang="EN-US"><o:p></o:p></span></p></div></div><p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p><div><p class="MsoNormal"><span lang="EN-US">How large are the images that you are using?<br><br>Jim<o:p></o:p></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><br>On Dec 5, 2014, at 2:43 AM, Xiaopeng Yang <<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>> wrote:<o:p></o:p></span></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Hi John,</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Sorry I mean the program got crashed after showing #define T float. </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Thanks,</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Xiaopeng</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> John Drescher [<a href="mailto:drescherjm@gmail.com">mailto:drescherjm@gmail.com</a>] <br><b>Sent:</b> Friday, December 05, 2014 4:24 PM<br><b>To:</b> Xiaopeng Yang<br><b>Cc:</b> Jim Miller; Insight-Users@Itk. Org<br><b>Subject:</b> Re: [ITK-users] GPU Implementation</span><span lang="EN-US"><o:p></o:p></span></p></div><p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p><div><p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p><div><p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p><div><p class="MsoNormal"><span lang="EN-US">On Fri, Dec 5, 2014 at 12:41 AM, Xiaopeng Yang <<a href="mailto:yxp233@postech.ac.kr" target="_blank">yxp233@postech.ac.kr</a>> wrote:<o:p></o:p></span></p><div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Dear Jim,</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Thanks for your help. I built the test successfully, but I met an error when I run the program. Please see the attached image file. </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Best,</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A">Xiaopeng</span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"><image001.png></span><span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A"> </span><span lang="EN-US"><o:p></o:p></span></p></div></div></div><p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">Is that an error? <o:p></o:p></span></p></div><div><p class="MsoNormal"><span lang="EN-US">John <o:p></o:p></span></p></div></div></div></blockquote></div></blockquote></div></div></blockquote></body></html>