Blender Git Commit Log

Git Commits -> Revision cb3b197

Revision cb3b197 by Sergey Sharybin (master)
July 11, 2016, 11:58 (GMT)
Cycles: Use utility define for restrict pointers

This way restrict can be used for CUDA and OpenCL as well.

From quick tests in areas i've been testing this it might give some
barely measurable %% of speedup, but it increases registers pressure.

So use of this qualifier is still really limited.

Commit Details:

Full Hash: cb3b19730c4fa402c065e288330f4f1f197026ab
Parent Commit: cf82b49
Lines Changed: +24, -21

4 Modified Paths:

/intern/cycles/kernel/bvh/qbvh_nodes.h (+21, -21) (Diff)
/intern/cycles/kernel/kernel_compat_cuda.h (+1, -0) (Diff)
/intern/cycles/kernel/kernel_compat_opencl.h (+1, -0) (Diff)
/intern/cycles/util/util_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021