[Bf-committers] split cycles cuda kernels from BF_NUMJOBS

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Dec 6 13:31:14 CET 2011


I've committed a trick now so it compiles one kernel at a time,
inserting dependencies between the kernels.

Brecht.

On Tue, Dec 6, 2011 at 9:54 AM, Nathan Letwory
<nathan at letworyinteractive.com> wrote:
> I'm not sure how easy it is to force scons building parts single-threaded
> in-process. BF_NUMJOBS is just a way to be able to set the number of
> threads to be used using your user-config.py. It does what -j does on
> command-line.
>
> /Nathan
>
> On Mon, Dec 5, 2011 at 7:10 PM, Yousef Hurfoush <bat3a at msn.com> wrote:
>
>>
>> usually each kernel thread needs 1.5 GB RAM, that means in case
>> of 4 threads i need 6GB only for compiling, still there are the OS, etc.
>> so you need at least 8GB of RAM in any machine that want to compile
>> blender with cycles!
>>
>> > Per default, we only build 3 kernels though, sm_13, 20 and 21.
>> > You can only build the one kernel for your card, that should use less
>> > memory.
>>
>> that is not the case if you are building for the masses
>>
>> can i hard code it in SConscript ?
>>
>>
>> Regards
>> Yousef Harfoush
>> bat3a at msn.com
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
>
> --
> Nathan Letwory
> Letwory Interactive
> http://www.letworyinteractive.com
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list