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
gaoqiong
MIGraphX
Commits
69b5b2cb
Commit
69b5b2cb
authored
Nov 24, 2023
by
Artur Wojcik
Browse files
fix merge error
parent
bfe935a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/CMakeLists.txt
src/CMakeLists.txt
+2
-1
No files found.
src/CMakeLists.txt
View file @
69b5b2cb
...
...
@@ -267,6 +267,7 @@ target_link_libraries(migraphx PUBLIC Threads::Threads)
function
(
check_execution_par RESULT
)
set
(
CMAKE_REQUIRED_LIBRARIES
${
ARGN
}
)
set
(
CMAKE_REQUIRED_FLAGS
)
if
(
NOT MSVC
)
set
(
CMAKE_REQUIRED_FLAGS
"-std=c++17"
)
endif
()
string
(
MD5 _flags_hash
"
${
CMAKE_REQUIRED_FLAGS
}
${
CMAKE_REQUIRED_LIBRARIES
}
"
)
...
...
@@ -283,7 +284,7 @@ int main() {
endfunction
()
set
(
MIGRAPHX_HAS_EXECUTORS_DEFAULT Off
)
find_package
(
TBB
)
find_package
(
TBB
QUIET
)
if
(
TBB_FOUND
)
check_execution_par
(
TBB_HAS_EXECUTION_PAR TBB::tbb
)
if
(
TBB_HAS_EXECUTION_PAR
)
...
...
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