Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
Chameleon
Commits
ba45baf5
Commit
ba45baf5
authored
Apr 16, 2018
by
PRUVOST Florent
Browse files
add an option to force looking for parallel kernels -> Intel MKL multithreaded
parent
a0696a6b
Changes
1
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ba45baf5
...
...
@@ -243,6 +243,10 @@ if(CHAMELEON_SCHED_STARPU)
endif
(
CHAMELEON_ENABLE_PRUNING_STATS
)
endif
()
# Option for parallel kernels
# ---------------------------
option
(
CHAMELEON_KERNELS_PAR
"Enable parallel kernels (requires Intel MKL)"
OFF
)
# Initially we need to generate files for different precisions
# TODO: use this option to avoid generate multiple precisions each time we launch cmake
#option(CHAMELEON_GEN_PREC "Generate source files precisions" ON)
...
...
@@ -253,6 +257,11 @@ if (CMAKE_C_COMPILER_ID MATCHES "Intel" AND (NOT BLA_VENDOR OR BLA_VENDOR STREQU
set
(
BLA_VENDOR
"Intel10_64lp_seq"
)
endif
()
# If parallel kernels ON we need the parallel MKL version
if
(
CHAMELEON_KERNELS_PAR
)
set
(
BLA_VENDOR
"Intel10_64lp"
)
endif
()
###############################################################################
# Build dependency HQR library #
################################
...
...
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