Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
aeb7862b
Unverified
Commit
aeb7862b
authored
May 10, 2023
by
Daniil Sizov
Committed by
GitHub
May 10, 2023
Browse files
[Misc] Exclude libxsmm on unsupported platforms (#5668)
parent
8e73c75f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
CMakeLists.txt
CMakeLists.txt
+5
-0
No files found.
CMakeLists.txt
View file @
aeb7862b
...
@@ -103,6 +103,11 @@ if(USE_OPENMP)
...
@@ -103,6 +103,11 @@ if(USE_OPENMP)
message
(
STATUS
"Build with OpenMP."
)
message
(
STATUS
"Build with OpenMP."
)
endif
(
USE_OPENMP
)
endif
(
USE_OPENMP
)
if
(
NOT CMAKE_SYSTEM_PROCESSOR MATCHES
"(x86)|(X86)|(amd64)|(AMD64)"
)
message
(
STATUS
"Disabling LIBXSMM on
${
CMAKE_SYSTEM_PROCESSOR
}
."
)
set
(
USE_LIBXSMM OFF
)
endif
()
if
(
USE_LIBXSMM
)
if
(
USE_LIBXSMM
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-DUSE_LIBXSMM -DDGL_CPU_LLC_SIZE=40000000"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-DUSE_LIBXSMM -DDGL_CPU_LLC_SIZE=40000000"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-DUSE_LIBXSMM -DDGL_CPU_LLC_SIZE=40000000"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-DUSE_LIBXSMM -DDGL_CPU_LLC_SIZE=40000000"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment