【异构】oneAPI并行计算

发布时间:2026/11/2 10:42:03
【异构】oneAPI并行计算
什么是oneAPI?

Oneapi应用——并行排序实践_oneapi和openmpi-CSDN博客

https://github.com/oneapi-src/oneTBB
https://oneapi-src.github.io/oneTBB/
https://www.oneapi.io/open-source/ // 其它异构工具平台

tbbmalloc:内存分配,类似于chrome的tcmalloc
map-reduce: 多线程并行计算
psort: 并行排序
auto test_vector = get_random_vector();
oneapi::tbb::parallel_sort(test_vector, std::greater<int>());
graph:流程任务图,任务前置,后置,依赖。
group:任务组
queue:串行任务队列
hash_map:并行查询插入容器

vs编译:
oneTBB\integration\windows\oneapi\vars.bat

https://github.com/AdaptiveCpp/AdaptiveCpp


创作不易,小小的支持一下吧!