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
5d3da4bc
Unverified
Commit
5d3da4bc
authored
Dec 21, 2020
by
Zihao Ye
Committed by
GitHub
Dec 21, 2020
Browse files
[hotfix] Enable AVX optimization by default. (#2438)
parent
baace710
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
cmake/config.cmake
cmake/config.cmake
+1
-1
No files found.
CMakeLists.txt
View file @
5d3da4bc
...
@@ -24,7 +24,7 @@ endif()
...
@@ -24,7 +24,7 @@ endif()
# Alernatively, use cmake -DOPTION=VALUE through command-line.
# Alernatively, use cmake -DOPTION=VALUE through command-line.
dgl_option
(
USE_CUDA
"Build with CUDA"
OFF
)
dgl_option
(
USE_CUDA
"Build with CUDA"
OFF
)
dgl_option
(
USE_OPENMP
"Build with OpenMP"
ON
)
dgl_option
(
USE_OPENMP
"Build with OpenMP"
ON
)
dgl_option
(
USE_AVX
"Build with AVX optimization"
O
FF
)
dgl_option
(
USE_AVX
"Build with AVX optimization"
O
N
)
dgl_option
(
BUILD_CPP_TEST
"Build cpp unittest executables"
OFF
)
dgl_option
(
BUILD_CPP_TEST
"Build cpp unittest executables"
OFF
)
dgl_option
(
LIBCXX_ENABLE_PARALLEL_ALGORITHMS
"Enable the parallel algorithms library. This requires the PSTL to be available."
OFF
)
dgl_option
(
LIBCXX_ENABLE_PARALLEL_ALGORITHMS
"Enable the parallel algorithms library. This requires the PSTL to be available."
OFF
)
dgl_option
(
USE_S3
"Build with S3 support"
OFF
)
dgl_option
(
USE_S3
"Build with S3 support"
OFF
)
...
...
cmake/config.cmake
View file @
5d3da4bc
...
@@ -41,4 +41,4 @@ set(BUILD_CPP_TEST OFF)
...
@@ -41,4 +41,4 @@ set(BUILD_CPP_TEST OFF)
set
(
USE_OPENMP ON
)
set
(
USE_OPENMP ON
)
# Whether to enable Intel's avx optimized kernel
# Whether to enable Intel's avx optimized kernel
set
(
USE_AVX O
FF
)
set
(
USE_AVX O
N
)
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