Blender Git Loki

Git Commits -> Revision 2d0a586

Revision 2d0a586 by Brecht Van Lommel (master)
May 31, 2013, 16:19 (GMT)
Cycles OpenCL: keep the opencl context and program around for quicker rendering
the second time, as for example Intel CPU startup time is 9 seconds.

* Adds an cache for contexts and programs for each platform and device pair,
which also ensure now no two threads try to compile and write the binary cache
file at the same time.
* Change clFinish to clFlush so we don't block until the result is done, instead
it will block at the moment we copy back memory.
* Fix error in Cycles time_sleep implementation, does not affect any active code
though.
* Adds some (disabled) debugging code in the task scheduler.

Patch #35559 by Doug Gale.

Commit Details:

Full Hash: 2d0a586c29e482d646dec0cf62880f577ff77657
SVN Revision: 57160
Parent Commit: db42a59
Lines Changed: +309, -56

4 Modified Paths:

/intern/cycles/device/device_opencl.cpp (+267, -48) (Diff)
/intern/cycles/util/util_opencl.cpp (+7, -2) (Diff)
/intern/cycles/util/util_task.cpp (+21, -3) (Diff)
/intern/cycles/util/util_time.cpp (+14, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021