File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 82
82
endif ()
83
83
84
84
if (NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
85
- message (FATAL_ERROR "oneDNN supports 64 bit platforms only" )
85
+ message (WARNING "oneDNN officially supports 64 bit platforms only" )
86
86
endif ()
87
87
88
88
# Set the target architecture.
Original file line number Diff line number Diff line change @@ -93,7 +93,10 @@ inline int ilog2q(size_t v) {
93
93
p += pw; \
94
94
} \
95
95
} while (0 )
96
+
97
+ #if INTPTR_MAX == INT64_MAX
96
98
CP (32 );
99
+ #endif
97
100
CP (16 );
98
101
CP (8 );
99
102
CP (4 );
Original file line number Diff line number Diff line change @@ -64,9 +64,6 @@ namespace impl {
64
64
T (const T &) = delete ; \
65
65
T &operator =(const T &) = delete ;
66
66
67
- // Sanity check for 64 bits
68
- static_assert (sizeof (void *) == 8 , " oneDNN supports 64-bit architectures only" );
69
-
70
67
#define CHECK (f ) \
71
68
do { \
72
69
dnnl::impl::status_t _status_ = f; \
You can’t perform that action at this time.
0 commit comments