Define CL_USE_DEPRECATED_OPENCL_2_{1,2}_APIS (#122)
authorJames Price <jrprice@google.com>
Tue, 8 Sep 2020 23:05:24 +0000 (19:05 -0400)
committerGitHub <noreply@github.com>
Tue, 8 Sep 2020 23:05:24 +0000 (16:05 -0700)
loader/icd_dispatch.h

index 84a3e305a72de3948d1054167ac69f1c2c2a9c79..c1adbfa78aa0b7f7089aea04fa973d815b93734e 100644 (file)
 #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>