Skip to content
Snippets Groups Projects
Commit 7adb5ff8 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix compilation against CL1.0 (Issue #131)

parent 82295549
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,13 @@ typedef struct _cl_image_desc {
typedef cl_bitfield cl_mem_migration_flags;
#endif
#ifndef CL_VERSION_1_1
typedef struct _cl_buffer_region {
size_t origin;
size_t size;
} cl_buffer_region;
#endif
#ifndef cl_ext_migrate_memobject
typedef cl_bitfield cl_mem_migration_flags_ext;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment