blender/intern/cycles/util
Brecht Van Lommel 4ce9785e01 Cycles: Support multithreaded compilation of kernels
This patch implements a workaround to get the multithreaded compilation from D2231 working.
So far, it only works for Blender, not for Cycles Standalone. Also, I have only tested the Linux codepath in the helper function.
Depends on D2231.

Reviewers: brecht, dingto, sergey, juicyfruit, lukasstockner97

Reviewed By: brecht

Subscribers: Loner, jbakker, candreacchio, 3dLuver, LazyDodo, bliblubli

Differential Revision: https://developer.blender.org/D2264
2019-02-15 08:49:25 +01:00
..
CMakeLists.txt Fix Cycles standalone build as part of Blender. 2019-01-27 20:05:25 +01:00
util_algorithm.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_aligned_malloc.cpp
util_aligned_malloc.h Fix T53830: Cycles OpenCL debug assert on macOS, 2018-01-19 11:35:07 +01:00
util_args.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_array.h Cycles: Cleanup, split array from vector 2018-11-09 11:54:24 +01:00
util_atomic.h Cycles: Cleanup, space after (void) 2018-11-09 12:08:51 +01:00
util_avxb.h Cleanup: trailing space 2018-09-19 12:04:34 +10:00
util_avxf.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_boundbox.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_color.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_debug.cpp Cycles: Cleanup, whitespace after keyword 2018-08-30 17:34:11 +02:00
util_debug.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_defines.h Cleanup: fix ATTR_FALLTHROUGH warnings. 2018-12-21 17:02:04 +01:00
util_foreach.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_function.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_guarded_allocator.cpp Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_guarded_allocator.h Fix T61457, T61489, T61482: build errors and memory warning in Cycles. 2019-02-13 14:00:36 +01:00
util_half.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_hash.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_ies.cpp Cycles: Fix/workaround for gcc-7.2 2018-11-12 12:16:07 +01:00
util_ies.h Cleanup: Typos in comments (to to) 2019-02-04 01:23:48 +01:00
util_image_impl.h Fix Cycles incorrect resize and CMYK conversion of uint16/half images. 2018-07-15 18:38:09 +02:00
util_image.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_list.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_logging.cpp Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_logging.h Cycles: Cleanup, space after (void) 2018-11-09 12:08:51 +01:00
util_map.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_math_cdf.cpp
util_math_cdf.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_math_fast.h Cleanup: remove redundant, invalid info from headers 2019-02-02 02:40:00 +11:00
util_math_float2.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_math_float3.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_math_float4.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_math_int2.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_math_int3.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_math_int4.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_math_intersect.h Merge branch 'master' into blender2.8 2018-11-09 14:34:33 +01:00
util_math_matrix.h Cycles Denoising: Don't use atomics in the accumulation kernel on CPUs 2018-05-24 18:44:56 +02:00
util_math.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_md5.cpp Cleanup: strip trailing space for cycles 2018-07-06 10:17:58 +02:00
util_md5.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_murmurhash.cpp Cleanup: remove redundant, invalid info from headers 2019-02-02 02:40:00 +11:00
util_murmurhash.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_opengl.h Merge branch 'master' into blender2.8 2018-11-09 14:34:33 +01:00
util_optimization.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_param.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_path.cpp Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_path.h Cleanup: strip trailing space for cycles 2018-07-06 10:17:58 +02:00
util_profiling.cpp Cycles: Add sample-based runtime profiler that measures time spent in various parts of the CPU kernel 2018-11-29 02:45:24 +01:00
util_profiling.h Fix internal compiler error when building with VS 2017 (15.9.3). 2018-11-29 16:42:52 +01:00
util_progress.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_projection.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_queue.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_rect.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_set.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_simd.cpp
util_simd.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_sky_model_data.h
util_sky_model.cpp Cleanup: strip trailing space for cycles 2018-07-06 10:17:58 +02:00
util_sky_model.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_sseb.h Cycles: Use proper mask for vectrorized boolean print 2018-09-17 18:02:01 +02:00
util_ssef.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_ssei.h Cleanup: strip trailing space for cycles 2018-07-06 10:17:58 +02:00
util_stack_allocator.h Cycles: Proper comment for closing header guard 2018-11-12 11:02:10 +01:00
util_static_assert.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_stats.h Fix T58183: crash with CPU + GPU rendering after profiling changes. 2018-11-29 23:43:27 +01:00
util_string.cpp Cycles: Util, add to_string() with some helper 2018-08-09 15:51:23 +02:00
util_string.h Cleanup: remove redundant, invalid info from headers 2019-02-02 02:40:00 +11:00
util_system.cpp Cycles: Support multithreaded compilation of kernels 2019-02-15 08:49:25 +01:00
util_system.h Cycles: Support multithreaded compilation of kernels 2019-02-15 08:49:25 +01:00
util_task.cpp Cleanup: add clarifying comments for recent NUMA fixes. 2019-01-21 10:54:19 +01:00
util_task.h Cleanup: strip trailing space for cycles 2018-07-06 10:17:58 +02:00
util_texture.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_thread.cpp Fix Cycles Embree crash on macOS, due to too small thread stack size. 2019-02-14 17:21:55 +01:00
util_thread.h Fix Cycles Embree crash on macOS, due to too small thread stack size. 2019-02-14 17:21:55 +01:00
util_time.cpp Cleanup: strip trailing space for cycles 2018-07-06 10:17:58 +02:00
util_time.h Cleanup: strip trailing space for cycles 2018-07-06 10:17:58 +02:00
util_transform.cpp Cleanup: strip trailing space for cycles 2018-07-06 10:17:58 +02:00
util_transform.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_types_float2_impl.h Cycles: Split vectorized math utilities to a dedicated files 2017-04-25 10:33:26 +02:00
util_types_float2.h Cycles: Split vectorized math utilities to a dedicated files 2017-04-25 10:33:26 +02:00
util_types_float3_impl.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_float3.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_float4_impl.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_float4.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_float8_impl.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_float8.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_int2_impl.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_int2.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_int3_impl.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_int3.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_int4_impl.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_int4.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_types_uchar2_impl.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_uchar2.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_uchar3_impl.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_uchar3.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_uchar4_impl.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_uchar4.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_uint2_impl.h Cycles: Fix strict compiler flags 2017-04-25 14:12:14 +02:00
util_types_uint2.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_uint3_impl.h Cycles: Fix strict compiler flags 2017-04-25 14:12:14 +02:00
util_types_uint3.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_uint4_impl.h Cycles: Fix strict compiler flags 2017-04-25 14:12:14 +02:00
util_types_uint4.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_ushort4.h Cycles: Adding native support for UINT16 textures. 2018-07-05 13:53:34 +02:00
util_types_vector3_impl.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types_vector3.h Cycles: Split vectorized types into separate files 2017-04-25 10:33:26 +02:00
util_types.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_unique_ptr.h Update code to be compatible with OIIO 2.0 2018-12-11 15:50:02 +01:00
util_vector.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_version.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00
util_view.cpp Merge branch 'master' into blender2.8 2018-11-09 14:34:33 +01:00
util_view.h Cycles: Cleanup, don't use strict C prototypes 2018-11-09 12:04:41 +01:00
util_windows.h Fix T59874: Cycles CPU 25% load only during rendering 2018-12-27 19:12:59 +01:00
util_xml.h Cycles: Cleanup, spacing after preprocessor 2018-11-09 11:34:54 +01:00