projects
/
platform
/
upstream
/
OpenCL-ICD-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d12be0
)
Define CL_USE_DEPRECATED_OPENCL_2_{1,2}_APIS (#122)
author
James Price
<jrprice@google.com>
Tue, 8 Sep 2020 23:05:24 +0000
(19:05 -0400)
committer
GitHub
<noreply@github.com>
Tue, 8 Sep 2020 23:05:24 +0000
(16:05 -0700)
loader/icd_dispatch.h
patch
|
blob
|
history
diff --git
a/loader/icd_dispatch.h
b/loader/icd_dispatch.h
index 84a3e305a72de3948d1054167ac69f1c2c2a9c79..c1adbfa78aa0b7f7089aea04fa973d815b93734e 100644
(file)
--- 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>