Intel Threading BuildingBlocks(Intel TBB)介绍

Intel Threading BuildingBlocksIntel TBB)是一个使用ISO C++代码实现的多平台、可扩展并行编程库。下边首先给出一个免费版本的TBB下载链接:打开链接


(1)what's  Intel Threading BuildingBlocksIntel TBB)?

         The Intel® Threading Building Blocks (Intel® TBB) library provides software developers with a solution for enabling parallelism in C++ applications and libraries. The well-known advantage of the Intel TBB library is that it makes parallel performance and scalability easily accessible to software developers writing loop- and task-based applications. The library includes a number of generic parallel algorithms, concurrent containers, support for dependency and data flow graphs, thread local storage, a work-stealing task scheduler for task based programming, synchronization primitives, a scalable memory allocator and more. 

(2)TBB的结构:

上图的内容可以分为以下几类:

  • 通用并行算法  TBB提供了parallel_forparallel_whileparallel_reduce等算法,应用于不同的并行算法场景
  • 并发容器   这是对常见容器的线程安全版本的实现,同时考虑到性能要求,提供了细粒度的锁机制,TBB2.0里提供的容器包括hash mapvectorqueue
  • 任务调度器:提供了task机制的封装
  • 同步原语:提供了原子操作、mutexlock等同步原语的封装
  • 内存分配:提供了对cache机制更友好的支持
更多详细资料参见:TBB 学习链接
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值