<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Simon,<div><br></div><div>Thank you again for the prompt reply and for catching the issue.<div>I have opened a <a href="https://github.com/RTKConsortium/RTK/issues/594">new issue</a> on Github.</div><div>Thanks!</div><div><br></div><div>Best,</div><div>Obaid<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Apr 29, 2024, at 11:40 AM, Simon Rit <simon.rit@creatis.insa-lyon.fr> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div dir="ltr">Thanks. I think I understood the issue. Your code indicates this line for the initial error:</div><div dir="ltr"><a href="https://urldefense.us/v2/url?u=https-3A__github.com_SimonRit_RTK_blob_86d1e83d5341a6a7a85400d550d4759b46653522_src_rtkCudaUtilities.cu-23L115&d=DwMFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=J7uT21mkGp7aMwIrHQkTLGwy72wKx_bOB0IkoGp__bQ&m=dX-bgc0aI76oeRMh3MT7_0hyVzTmxOdz7j3ilY3C85ebAPukM8PNxaaKOMC36gHw&s=lQAUBe9IGLcHtcPqqiWGjq1BYkPWmQBQsyqrbZGZssA&e=">https://github.com/SimonRit/RTK/blob/86d1e83d5341a6a7a85400d550d4759b46653522/src/rtkCudaUtilities.cu#L115</a></div><div>The numel variable two lines above is computed as an int, which max value (2^31-1=<span class="gmail-qv3Wpe" id="gmail-cwos">2147483647) is below </span>1264*1356*1356=<span class="gmail-qv3Wpe" id="gmail-cwos">2324162304. Larger GPU memory comes with new bugs! Can you report your issue on github and I'll fix this quickly?</span></div><div><span class="gmail-qv3Wpe" id="gmail-cwos">Thanks in advance,<br></span></div><div><span class="gmail-qv3Wpe" id="gmail-cwos">Simon<br></span></div></div>
</div></blockquote></div><br></div></div></body></html>