File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 78
78
#endif
79
79
#endif
80
80
81
- // Stringify an argument to pass it in _Pragma directive below.
82
- #ifndef __SYCL_STRINGIFY
83
- #define __SYCL_STRINGIFY (x ) #x
84
- #endif // __SYCL_STRINGIFY
85
-
86
81
static_assert (__cplusplus >= 201703L ,
87
82
" DPCPP does not support C++ version earlier than C++17." );
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ namespace detail {
24
24
#define SYCL_CONFIG_FILE_NAME " sycl.conf"
25
25
#endif // SYCL_CONFIG_FILE_NAME
26
26
27
+ // Stringify an argument to pass it in _Pragma directive below.
28
+ #ifndef __SYCL_STRINGIFY
29
+ #define __SYCL_STRINGIFY (x ) #x
30
+ #endif // __SYCL_STRINGIFY
31
+
27
32
#define CONFIG (Name, MaxSize, CompileTimeDef ) \
28
33
const char *SYCLConfigBase<Name>::MValueFromFile = nullptr ; \
29
34
char SYCLConfigBase<Name>::MStorage[MaxSize + 1 ]; \
You can’t perform that action at this time.
0 commit comments