diff --git a/src/wrap_constants.cpp b/src/wrap_constants.cpp index 785ea7dc72bde51f26951fc3ca38fb43567196fb..fbd23f6368645a1e2baa917f10987b51bcdbec88 100644 --- a/src/wrap_constants.cpp +++ b/src/wrap_constants.cpp @@ -1133,8 +1133,8 @@ void pyopencl_expose_constants(py::module &m) { py::class_ cls(m, "device_enqueue_capabilities"); #if (PYOPENCL_CL_VERSION >= 0x3000) && defined(CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES) - ADD_ATTR(DEVICE_ENQUEUE, SUPPORTED); - ADD_ATTR(DEVICE_ENQUEUE, REPLACEABLE_DEFAULT); + ADD_ATTR(DEVICE_ENQUEUE_, SUPPORTED); + ADD_ATTR(DEVICE_ENQUEUE_, REPLACEABLE_DEFAULT); #endif }