Commited an option in 42465, to not use that trick if enabled, for those who have much RAM and don't want to wait longer than needed. Enable "WITH_BF_CYCLES_CUDA_THREADED_COMPILE" to still build with several flags.
Am 06.12.2011 15:36, schrieb Nathan Letwory: > That's a nice trick indeed! > > On Tue, Dec 6, 2011 at 2:31 PM, Brecht Van Lommel< > [email protected]> wrote: > >> 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 >> <[email protected]> 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<[email protected]> 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 >>>> [email protected] >>>> >>>> _______________________________________________ >>>> Bf-committers mailing list >>>> [email protected] >>>> http://lists.blender.org/mailman/listinfo/bf-committers >>>> >>> >>> >>> -- >>> Nathan Letwory >>> Letwory Interactive >>> http://www.letworyinteractive.com >>> _______________________________________________ >>> Bf-committers mailing list >>> [email protected] >>> http://lists.blender.org/mailman/listinfo/bf-committers >> _______________________________________________ >> Bf-committers mailing list >> [email protected] >> http://lists.blender.org/mailman/listinfo/bf-committers >> > > -- Thomas Dinges Blender Developer, Artist and Musician www.dingto.org _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
