diff --git a/src/c_wrapper/wrap_cl.h b/src/c_wrapper/wrap_cl.h index 3bbcdec51eecebc849d732e326cf3df088bdb979..cd2c2b9bc82d392689e24b7520866156808fca5f 100644 --- a/src/c_wrapper/wrap_cl.h +++ b/src/c_wrapper/wrap_cl.h @@ -59,12 +59,15 @@ #endif -#ifndef cl_ext_migrate_memobject -typedef cl_bitfield cl_mem_migration_flags_ext; -#endif - #if PYOPENCL_CL_VERSION < 0x1020 typedef intptr_t cl_device_partition_property; +typedef cl_uint cl_kernel_arg_info; +typedef struct _cl_image_desc cl_image_desc; +typedef cl_bitfield cl_mem_migration_flags; +#endif + +#ifndef cl_ext_migrate_memobject +typedef cl_bitfield cl_mem_migration_flags_ext; #endif #ifndef cl_ext_device_fission