适用于 Android 和 iOS 的英特尔 TBB

发布于 2024-12-05 05:57:30 字数 92 浏览 0 评论 0原文

只是想知道是否有适用于 Android 和 iOS 的多线程库。

另外,英特尔的 TBB 有什么破解方法可以使其在 Android 和 iOS 上运行吗?

Just wondering if there are any multi-threading libraries for Android and iOS.

Also, any hack for Intel's TBB to making it run on Android and iOS??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情独悲 2024-12-12 05:57:30

OpenCV 项目包含用于在 Android 上构建 TBB 的 CMake 配方:
http://code.opencv.org/svn /opencv/branches/2.4/opencv/3rdparty/tbb/CMakeLists.txt

ACM Queue 刚刚发表了一些 NVIDIA 和 OpenCV 研究人员的论文,其中包含在 ARM Tegra 3 平台上使用 TBB 运行 OpenCV 的数据,因此至少可以使用 TBB 进行高性能使用:http://queue.acm.org/detail.cfm?id=2206309

The OpenCV project includes a CMake recipe for building TBB on Android:
http://code.opencv.org/svn/opencv/branches/2.4/opencv/3rdparty/tbb/CMakeLists.txt.

The ACM Queue just published a paper from some NVIDIA and OpenCV researchers that includes data running OpenCV using TBB on an ARM Tegra 3 platform, so it's at least possible to use TBB for high-performance use: http://queue.acm.org/detail.cfm?id=2206309.

把昨日还给我 2024-12-12 05:57:30

目前我找到的唯一信息是:

您好,实际上我们的初始版本只是一个 hack。我们简单地
注释了所有特定于平台的代码并进行 TBB 编译
安卓。但它不起作用。目前,在您留言后
GCC 泛型,我们决定尝试使用它们。最终我们得到了TBB
编译。即使是一个小的 TBB 示例也可以在多核 ARM 上成功运行。
但是 TBB 无法创建多个线程并且它已链接
静态地,因为我们在动态链接方面存在一些问题。所以,我们
希望通过线程创建和链接来解决这些问题。比,在
如果成功,我们将向您发送补丁。

来源:http://software.intel.com/en-us /forums/showthread.php?t=79566

所以没有官方支持,但似乎是可能的。然而,谷歌上没有任何关于英特尔表示他们计划针对 Android 和 IOS 的信息。太糟糕了。但我想无论如何他们总有一天会这么做。

Currently the only information I found is this :

Hello, actually our initial version is just a hack. We simply
commented all the platform specific code and get TBB compiled for
Android. But it was not functional. Currently, after you message about
GCC generics, we decided to try to use them. Finally we get TBB
compiled. Even a small TBB sample runs successfully on multicore ARM.
BUT TBB can't create several threads and it has been linked
statically, because we have some problems with dynamic linkage. So, we
want to solve these issues with threads creation and linkage. Than, in
the case of success, we will send you a patch.

source : http://software.intel.com/en-us/forums/showthread.php?t=79566

So there is no official support, but it seems possible. However, no trace on google about Intel saying they plan to target Android and IOS. Too bad. But I guess they will have to do it anyway some day.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文