Cycles: Improve denoising speed on GPUs with small tile sizes
[blender.git] / intern / cycles / device / opencl / opencl.h
index c02f8ffafe6f7c107cce7a87a10fbf26771e44a3..f38c2f65c1e7f450734e5ac1d9a08c5d2f243829 100644 (file)
@@ -353,7 +353,9 @@ public:
        void tex_free(device_memory& mem);
 
        size_t global_size_round_up(int group_size, int global_size);
-       void enqueue_kernel(cl_kernel kernel, size_t w, size_t h, size_t max_workgroup_size = -1);
+       void enqueue_kernel(cl_kernel kernel, size_t w, size_t h,
+                           bool x_workgroups = false,
+                           size_t max_workgroup_size = -1);
        void set_kernel_arg_mem(cl_kernel kernel, cl_uint *narg, const char *name);
        void set_kernel_arg_buffers(cl_kernel kernel, cl_uint *narg);