The 'static' storage-class specifier is not supported in OpenCL.

This is documented in Section 6.8 (g) in OpenCL 1.1 specification.
This commit is contained in:
hujiajie
2016-03-03 15:59:47 +08:00
parent 51970941b4
commit ad6fb3afc1
15 changed files with 42 additions and 20 deletions

View File

@@ -35,6 +35,7 @@ static const char* solverUtilsCL= \
"#define b3Sqrt native_sqrt\n"
"#define b3Sin native_sin\n"
"#define b3Cos native_cos\n"
"#define B3_STATIC\n"
"#endif\n"
"#endif\n"
"#ifdef __cplusplus\n"