commit | 98ca71fb9f8484f1cd1999f55224bf9e8d18693b | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Sep 08 19:05:24 2020 -0400 |
committer | GitHub <noreply@github.com> | Tue Sep 08 16:05:24 2020 -0700 |
tree | d09de221d9ac3e7d14e3308e818baed7aabb24b0 | |
parent | 1d12be05763dd231ab14a63f6b52895ed7b876e7 [diff] |
Define CL_USE_DEPRECATED_OPENCL_2_{1,2}_APIS (#122)
diff --git a/loader/icd_dispatch.h b/loader/icd_dispatch.h index 84a3e30..c1adbfa 100644 --- a/loader/icd_dispatch.h +++ b/loader/icd_dispatch.h
@@ -35,6 +35,14 @@ #define CL_USE_DEPRECATED_OPENCL_2_0_APIS #endif +#ifndef CL_USE_DEPRECATED_OPENCL_2_1_APIS +#define CL_USE_DEPRECATED_OPENCL_2_1_APIS +#endif + +#ifndef CL_USE_DEPRECATED_OPENCL_2_2_APIS +#define CL_USE_DEPRECATED_OPENCL_2_2_APIS +#endif + // cl.h #include <CL/cl.h>