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
7eee28ce
Unverified
Commit
7eee28ce
authored
Nov 29, 2023
by
Paul Fultz II
Committed by
GitHub
Nov 29, 2023
Browse files
Add find_dependency for TBB (#2483)
parent
a6d1540f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/CMakeLists.txt
src/CMakeLists.txt
+1
-0
No files found.
src/CMakeLists.txt
View file @
7eee28ce
...
@@ -290,6 +290,7 @@ find_package(TBB QUIET)
...
@@ -290,6 +290,7 @@ find_package(TBB QUIET)
if
(
TBB_FOUND
)
if
(
TBB_FOUND
)
check_execution_par
(
TBB_HAS_EXECUTION_PAR TBB::tbb
)
check_execution_par
(
TBB_HAS_EXECUTION_PAR TBB::tbb
)
if
(
TBB_HAS_EXECUTION_PAR
)
if
(
TBB_HAS_EXECUTION_PAR
)
list
(
APPEND PACKAGE_DEPENDS PACKAGE TBB
)
target_link_libraries
(
migraphx PUBLIC TBB::tbb
)
target_link_libraries
(
migraphx PUBLIC TBB::tbb
)
set
(
MIGRAPHX_HAS_EXECUTORS_DEFAULT On
)
set
(
MIGRAPHX_HAS_EXECUTORS_DEFAULT On
)
message
(
STATUS
"Using TBB for parallel execution"
)
message
(
STATUS
"Using TBB for parallel execution"
)
...
...
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