<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Where exactly does that memory requirement come from? Is it the&nbsp;</div>
<div>ShaderData bssrdf_sd[BSSRDF_MAX_HITS];</div>
</div>
</div>
<div>Array, which I believe is pre-allocated per thread in CUDA local memory, or are there any other areas that contribute significantly to memory usage? From my superficial studying of the code, I was wondering if it was possible to only have ShaderData struct
 in memory at a time and have subsurface_scatter_multi_step() fill out an array of Intersections instead of ShaderDatas? One would have to move the BSSRDF evaluation to&nbsp;kernel_branched_path_subsurface_scatter() /&nbsp;kernel_path_subsurface_scatter() then instead.
 It may be that I’m overlooking something though.</div>
<div><br>
</div>
<div>-Stefan</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&lt;<a href="mailto:bf-cycles-bounces@blender.org">bf-cycles-bounces@blender.org</a>&gt; on behalf of Thomas Dinges<br>
<span style="font-weight:bold">Reply-To: </span>Discussion list to assist Cycles render engine developers<br>
<span style="font-weight:bold">Date: </span>Tuesday, September 15, 2015 at 11:56 AM<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:bf-cycles@blender.org">bf-cycles@blender.org</a>&quot;<br>
<span style="font-weight:bold">Subject: </span>Re: [Bf-cycles] still memory problem with cuLaunch on GTX780Ti 3GB with empty scene<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">This is pretty much a known issue, since day 1 of the experimental kernel. We added the experimental kernel for features such as SSS, which are the cause of the memory peak (or rather SSS enabled as part of our mega kernel).<br>
The only real solution here will be the CUDA split kernel. That split might still happen later this year, it's on our todo list.<br>
<br>
Until then, as Brecht said, use it at your own risk.<br>
<br>
Am 15.09.2015 um 19:54 schrieb Piotr Arlukowicz:<br>
</div>
<blockquote cite="mid:CAHHkAb94_hHBR9ezoFGj6kx--0i-6oZcUPvnmGmeVOH&#43;W&#43;kKfg@mail.gmail.com" type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(12,52,61)">
Thank you Brecht, I understand this and that's OK with memory, but... still 1.5GB is not enough even for empty scene... ? Come on! :)<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(12,52,61)">
I was so desperate that I started to look which GTX should I buy. Surely 980Ti with 6GiB is a great graphics card, but WILL it work?<br>
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(12,52,61)">
Few months ago Cycles worked in experimental mode just very well and as I don't require it to be bulletproof, this memory lag just kicks me out :( Sorry for sharing personal mood on the list. I hope somebody can advice what to do. Because I don't know if 6GB
 will be enough, and then there is also Titan with 12GB...<br>
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(12,52,61)">
regards<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(12,52,61)">
pio<br>
<br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">​Piotr
<div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(12,52,61);display:inline">
​ Arlukowicz, BFCT​</div>
<br>
<div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(12,52,61)">
​<span style="color:rgb(204,204,204)"><b><span style="font-family:trebuchet ms,sans-serif"><b><span style="font-family: 'trebuchet ms', sans-serif;">YT:</span></b><span style="color:rgb(162,196,201)"><span style="font-family:arial
                              narrow,sans-serif"><span style="color:rgb(208,224,227)"><u>/user/piotao?feature=guide</u></span></span></span></span></b></span>
<div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(12,52,61);display:inline">
<span style="color:rgb(204,204,204)">&nbsp;<b><span style="font-family: 'trebuchet ms', sans-serif;">FB:</span></b><span style="color:rgb(208,224,227)"><span style="font-family: 'arial narrow', sans-serif;"><u>/polskikursblendera</u></span></span><b><span style="font-family: 'trebuchet ms', sans-serif;">TW:</span></b></span><span style="font-family:arial narrow,sans-serif"><u><span style="color:rgb(19,79,92)"><span style="color:rgb(208,224,227)">/piotao</span><br>
</span></u></span></div>
<span style="color:rgb(153,153,153)"><b><span style="font-family: 'trebuchet ms', sans-serif;">Blender Network:</span></b><b><span style="color:rgb(118,165,175)"><span style="font-family: 'arial narrow', sans-serif;"><a moz-do-not-send="true" href="https://www.blendernetwork.org/piotr-arlukowicz" target="_blank"></a><a class="moz-txt-link-freetext" href="https://www.blendernetwork.org/piotr-arlukowicz">https://www.blendernetwork.org/piotr-arlukowicz</a></span></span></b></span><br>
</div>
<span style="color:rgb(102,102,102)"><b><span style="font-family: 'trebuchet ms', sans-serif;">Polski Kurs Blendera:</span></b></span><span style="color:rgb(11,83,148)"><span style="font-family: verdana, sans-serif;"><a moz-do-not-send="true" href="http://polskikursblendera.pl" target="_blank"></a><a class="moz-txt-link-freetext" href="http://polskikursblendera.pl">http://polskikursblendera.pl</a></span></span><br>
<br>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2015-09-15 18:08 GMT&#43;02:00 Brecht Van Lommel <span dir="ltr">
&lt;<a moz-do-not-send="true" href="mailto:brechtvanlommel@pandora.be" target="_blank">brechtvanlommel@pandora.be</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
Experimental mode uses significantly more memory. I don't know if this<br>
is more than expected at the moment, but it wouldn't surprise me.<br>
<br>
This memory usage is one of the main reasons it's called experimental<br>
mode, if all the features there worked well they would not be called<br>
experimental. I know a lot of users enable this but it's really at<br>
your own risk.<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</span>
</body>
</html>