diff --git a/src/occa/internal/modes/opencl/utils.hpp b/src/occa/internal/modes/opencl/utils.hpp index eb435872f..343de3d2b 100644 --- a/src/occa/internal/modes/opencl/utils.hpp +++ b/src/occa/internal/modes/opencl/utils.hpp @@ -20,7 +20,7 @@ namespace occa { info_t(); }; - constexpr cl_device_type default_device_type = (CL_DEVICE_TYPE_CPU | CL_DEVICE_TYPE_GPU); + constexpr cl_device_type default_device_type = CL_DEVICE_TYPE_ALL; bool isEnabled();