gpt4 book ai didi

c++ - 什么是英特尔 IPP 库中的外线程?

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:47:31 26 4
gpt4 key购买 nike

我正在阅读英特尔的 Integrated Performance Primitives C 和 C++ 库。他们提到外线程是新功能之一。

New API’s for external threading is more effective than internal threading. source

什么是外线程,它与 C++ 中的 std::thread 有什么关系?

最佳答案

在 IPP 中:
内部线程 - 在原语中
外线程 - 在应用程序级别

Intel IPP 8.2 continues deprecation of internal threading that was started in version 7.1. The threaded static libraries will be available as a separate download, and code developed with these libraries will still work as before. The ThreadedFunctionsList.txt file in ...\Documentation\en_US\ipp\ lists functions that are available in an internally threaded format. However, multi-threaded libraries are deprecated and moving to external threading is recommended for the following reasons:

Internal (inside a primitive) threading is significantly less effective than external (at the application level) threading.

source

std::thread 外线程无关。

关于c++ - 什么是英特尔 IPP 库中的外线程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32251786/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com