We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b7bab6 commit 62192a6Copy full SHA for 62192a6
sycl/source/detail/scheduler/commands.cpp
@@ -30,11 +30,14 @@
30
#include <string>
31
#include <vector>
32
33
-#ifdef __GNUG__
+#ifdef __has_include
34
+#if __has_include(<cxxabi.h>)
35
+#define __SYCL_ENABLE_GNU_DEMANGLING
36
#include <cstdlib>
37
#include <cxxabi.h>
38
#include <memory>
39
#endif
40
+#endif
41
42
#ifdef XPTI_ENABLE_INSTRUMENTATION
43
#include "xpti_trace_framework.hpp"
@@ -49,7 +52,7 @@ namespace detail {
49
52
extern xpti::trace_event_data_t *GSYCLGraphEvent;
50
53
51
54
55
+#ifdef __SYCL_ENABLE_GNU_DEMANGLING
56
struct DemangleHandle {
57
char *p;
58
DemangleHandle(char *ptr) : p(ptr) {}
0 commit comments