Sergey Sharybin
fd397a7d28
Cycles: Add utility macro ccl_ref
...
It is defined to & for CPU side compilation, and defined to an empty for any GPU
platform. The idea here is to use this macro instead of #ifdef block with bunch
of duplicated lines just to make it so CPU code is efficient.
Eventually we might switch to references on CUDA as well, but that would require
some intensive testing.
2017-08-08 15:27:25 +02:00
..
2017-08-07 20:53:30 +02:00
2017-07-23 23:25:12 +02:00
2017-08-07 14:47:51 +02:00
2017-08-07 20:53:30 +02:00
2017-08-08 07:12:04 -04:00
2017-07-11 22:39:51 +02:00
2017-07-22 23:58:51 +02:00
2017-08-08 07:12:04 -04:00
2017-07-22 23:58:51 +02:00
2017-08-07 20:53:30 +02:00
2017-07-18 09:46:21 +02:00
2017-02-25 03:12:53 +01:00
2017-03-08 00:52:41 -05:00
2017-05-24 17:23:54 +02:00
2017-08-08 15:27:25 +02:00
2017-08-08 15:27:25 +02:00
2017-01-12 13:44:35 +01:00
2015-05-09 19:52:40 +05:00
2017-03-27 10:46:03 +02:00
2015-04-28 00:38:32 +05:00
2017-08-08 07:12:04 -04:00
2017-08-08 07:12:04 -04:00
2017-05-09 17:07:17 +02:00
2017-05-07 14:40:58 +02:00
2017-03-29 13:41:11 +02:00
2014-03-29 13:03:49 +01:00
2017-06-13 10:26:45 +02:00
2017-08-07 17:54:26 +02:00
2017-03-29 13:41:11 +02:00
2017-08-07 17:54:26 +02:00
2017-03-27 10:46:28 +02:00
2017-05-17 12:24:16 +02:00
2017-05-07 14:40:58 +02:00
2017-08-07 17:54:26 +02:00
2017-05-07 14:40:58 +02:00
2017-06-10 03:51:18 -04:00
2017-04-25 11:43:20 +02:00
2017-08-07 20:53:30 +02:00
2017-08-07 17:54:26 +02:00
2017-06-13 10:26:45 +02:00
2017-08-08 07:12:04 -04:00
2017-08-07 17:54:26 +02:00
2017-06-13 10:26:45 +02:00
2017-03-08 00:52:41 -05:00
2017-05-07 14:40:58 +02:00