#ifndef BLUE_NOISE_HPP
#define BLUE_NOISE_HPP
+#if DITHERING_OPENCL_ENABLED == 1
#include <CL/opencl.h>
+#endif
#include <sys/sysinfo.h>
#include <cassert>
namespace internal {
std::vector<unsigned int> blue_noise_impl(int width, int height,
int threads = 1);
+#if DITHERING_OPENCL_ENABLED == 1
std::vector<unsigned int> blue_noise_cl_impl(const int width, const int height,
const int filter_size,
cl_context context,
cl_device_id device,
cl_program program);
+#endif
inline std::vector<bool> random_noise(int size, int subsize) {
std::vector<bool> pbp(size);