Go to file
Sergey Sharybin 84ad20acef Fix T44833: Can't use ccl_local space in non-kernel functions
This commit re-shuffles code in split kernel once again and makes it so common
parts which is in the headers is only responsible to making all the work needed
for specified ray index. Getting ray index, checking for it's validity and
enqueuing tasks are now happening in the device specified part of the kernel.

This actually makes sense because enqueuing is indeed device-specified and i.e.
with CUDA we'll want to enqueue kernels from kernel and avoid CPU roundtrip.

TODO:
- Kernel comments are still placed in the common header files, but since queue
  related stuff is not passed to those functions those comments might need to
  be split as well.

  Just currently read them considering that they're also covering the way how
  all devices are invoking the common code path.

- Arguments might need to be wrapped into KernelGlobals, so we don't ened to
  pass all them around as function arguments.
2015-05-26 22:54:02 +05:00
build_files SCons: install Python executable when its bundled 2015-05-19 16:44:19 +10:00
doc BGE: Some changes for the constraint document 2015-05-20 18:49:18 +02:00
extern doxygen: corrections/updates 2015-05-20 14:12:22 +10:00
intern Fix T44833: Can't use ccl_local space in non-kernel functions 2015-05-26 22:54:02 +05:00
release Cleanup: python 2015-05-26 23:53:47 +10:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source Fix T44497: Crash on deleting curve handle with hook modifier 2015-05-26 22:36:18 +05:00
tests RNA defaults test 2015-05-01 01:15:55 +10:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Revert "ignore conflict files" 2014-08-08 06:00:49 +10:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt CMake: install Python executable when its bundled 2015-05-19 16:44:19 +10:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile tweaks to packman build 2015-03-24 07:49:17 +11:00
SConstruct Cycles: Restructure kernel files organization 2015-05-22 16:31:34 +05:00