Blender Git Commit Log

Git Commits -> Revision 4bdb54a

Revision 4bdb54a by Brecht Van Lommel (master)
May 27, 2013, 16:21 (GMT)
Cycles OpenCL: patch #35514 by Doug Gale

* Support using devices from all OpenCL platforms, so that you can use e.g. both
Intel and NVidia OpenCL implementations if you have them installed.
* Fix compile error due to missing fmodf after recent math node change.
* Enable advanced shading for Intel OpenCL.
* CYCLES_OPENCL_DEBUG environment variable for generating debug symbols so you
can debug with gdb. This crashes the compiler with Intel OpenCL on Linux though.
To make this work the preprocessed kernel source code is written out, as gdb
needs this.
* Show OpenCL compiler warnings even if the build succeeded.
* Some small fixes to initialize cdDevice to NULL, add missing NULL check when
creating buffer and add missing space at end of build options for Apple OpenCL.
* Fix crash with multi device + opencl, now e.g. CPU + GPU render should work.

I did a few tweaks to the code and also:

* Fix viewport render failing sometimes with Apple CPU OpenCL, was not taking
workgroup size limits into account properly.
* Add compile error when advanced shading in the Blender binary and OpenCL kernel
are not in sync.

Commit Details:

Full Hash: 4bdb54a76e3b15f99f2efc149b9d78aeef3203a4
SVN Revision: 57054
Parent Commit: 5460e31
Lines Changed: +246, -131

5 Modified Paths:

/intern/cycles/device/device_opencl.cpp (+221, -128) (Diff)
/intern/cycles/kernel/kernel_compat_opencl.h (+1, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+14, -2) (Diff)
/intern/cycles/util/util_path.cpp (+9, -1) (Diff)
/intern/cycles/util/util_path.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021