File tree 2 files changed +7
-1
lines changed
src/graph/backend/dnnl/kernels
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -30,17 +30,22 @@ export ACL_ROOT_DIR=${ACL_ROOT_DIR:-"${PWD}/ComputeLibrary"}
30
30
31
31
CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:- " Release" }
32
32
ONEDNN_TEST_SET=SMOKE
33
+ ONEDNN_BUILD_GRAPH=1
33
34
34
35
# ACL is not built with OMP on macOS.
35
36
if [[ " $OS " == " Darwin" ]]; then
36
37
ONEDNN_THREADING=SEQ
38
+ if [[ " $CMAKE_BUILD_TYPE " == " Debug" ]]; then
39
+ # Darwin graph tests take a lot of time in debug mode.
40
+ ONEDNN_BUILD_GRAPH=0
41
+ fi
37
42
fi
38
43
39
44
set -x
40
45
cmake \
41
46
-Bbuild -S. \
42
47
-DDNNL_AARCH64_USE_ACL=ON \
43
- -DONEDNN_BUILD_GRAPH=0 \
48
+ -DONEDNN_BUILD_GRAPH=$ONEDNN_BUILD_GRAPH \
44
49
-DDNNL_CPU_RUNTIME=$ONEDNN_THREADING \
45
50
-DONEDNN_WERROR=ON \
46
51
-DDNNL_BUILD_FOR_CI=ON \
Original file line number Diff line number Diff line change 15
15
*******************************************************************************/
16
16
17
17
#include " graph/backend/dnnl/kernels/sdp_primitive_config.hpp"
18
+ #include " common/compiler_workarounds.hpp"
18
19
19
20
namespace dnnl {
20
21
namespace impl {
You can’t perform that action at this time.
0 commit comments