"test/old-api/spectests.cpp" did not exist on "2fe7e8d5257a3661e67e7c124b9ce708dff89185"
Unverified Commit 7eee28ce authored by Paul Fultz II's avatar Paul Fultz II Committed by GitHub
Browse files

Add find_dependency for TBB (#2483)

parent a6d1540f
......@@ -290,6 +290,7 @@ find_package(TBB QUIET)
if(TBB_FOUND)
check_execution_par(TBB_HAS_EXECUTION_PAR TBB::tbb)
if(TBB_HAS_EXECUTION_PAR)
list(APPEND PACKAGE_DEPENDS PACKAGE TBB)
target_link_libraries(migraphx PUBLIC TBB::tbb)
set(MIGRAPHX_HAS_EXECUTORS_DEFAULT On)
message(STATUS "Using TBB for parallel execution")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment