[Beignet] [PATCH] Backend: Clang now support static, fix now
Xiuli Pan
xiuli.pan at intel.com
Tue Mar 22 06:08:34 UTC 2016
From: Pan Xiuli <xiuli.pan at intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
---
backend/src/libocl/include/ocl_types.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/backend/src/libocl/include/ocl_types.h b/backend/src/libocl/include/ocl_types.h
index 88e5642..2ae1562 100644
--- a/backend/src/libocl/include/ocl_types.h
+++ b/backend/src/libocl/include/ocl_types.h
@@ -37,8 +37,6 @@
#define PURE __attribute__((pure))
#define CONST __attribute__((const))
#define INLINE_OVERLOADABLE inline __attribute__((overloadable,always_inline))
-// FIXME, clang's opencl FE doesn't support static.
-#define static
/////////////////////////////////////////////////////////////////////////////
// OpenCL built-in scalar data types
--
2.5.0
More information about the Beignet
mailing list