You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Use parallel unsequenced version of std::copy by providing std::execution::par_unseq execution policy tag as a first argument for std::copy function.
When I tried to use this policy, clang said:
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/pstl/parallel_backend_tbb.h:19:10: error: 'tbb/blocked_range.h' file not found [clang-diagnostic-error]
#include <tbb/blocked_range.h>
^
As I googled the problem, it means that we should link to Intel TBB library in out CMakeLists.txt. But what if the library will be used for non-Intel processors?
Use parallel unsequenced version of
std::copyby providingstd::execution::par_unseqexecution policy tag as a first argument forstd::copyfunction.When I tried to use this policy, clang said:
As I googled the problem, it means that we should link to Intel TBB library in out
CMakeLists.txt. But what if the library will be used for non-Intel processors?