Cuda 相关库的介绍
来源:互联网 发布:中国战争潜力知乎 编辑:程序博客网 时间:2024/04/29 05:46
Cuda 相关库的介绍
Cuda在努力构造一个类似CPP的完整的编程环境,所以他提供了一系列的库。
http://docs.nvidia.com/cuda/index.html
1) math API
类比C的math库有三角函数、对数、指数等基本的函数。
2) thrust
STL类似的Cuda实现,可以实现快速的排序,变换等操作。
http://docs.nvidia.com/cuda/thrust/index.html
3) 科学计算和图像视频处理相关的库,满足科学计算加速的基本需求。
如BLAS FFT SPARSE等。
4) 面向CUDA编程的device API 和 runtime API
这两个是不同层次的编程环境,彼此互斥,device的更底层。各有所长看需求。
It is composed of two APIs:
- A low-level API called the CUDA driver API,
- A higher-level API called the CUDA runtime API that is implemented on top of the CUDA driver API.
These APIs are mutually exclusive: An application should use either one or the other.
The CUDA runtime eases device code management by providing implicit initialization, context management, and module management. The C host code generated by nvcc is based on the CUDA runtime (see Section 4.2.5), so applications that link to this code must use the CUDA runtime API.
In contrast, the CUDA driver API requires more code, is harder to program and debug, but offers a better level of control and is language-independent since it only deals with cubin objects (see Section 4.2.5). In particular, it is more difficult to configure and launch kernels using the CUDA driver API, since the execution configuration and kernel parameters must be specified with explicit function calls instead of the execution configuration syntax described in Section 4.2.3. Also, device emulation (see Section 4.5.2.9) does not work with the CUDA driver API.
- Cuda 相关库的介绍
- Cuda 相关库的介绍
- 【Cuda并行编程之一】二分查找的探究以及Cuda的简单实现&&相关面试题介绍
- 【Cuda并行编程之一】二分查找的探究以及Cuda的简单实现&&相关面试题介绍
- cuda相关
- cuda相关
- 【CUDA】CUDA框架介绍
- CUDA介绍
- CUDA介绍
- cuda介绍
- openGL相关库的介绍
- Tensorflow的CUDA升级,以及相关配置
- 介绍cuda的一个好文章
- 介绍一篇不错的CUDA入门博客
- OpenCV相关代码库的介绍
- Amfphp相关的介绍
- ACE_Message_Block相关的介绍
- iperf的相关介绍
- Lab 2: Return-to-libc
- 你站在桥上看风景,看风景的人在楼上看你
- ubuntu14.04 LTS系统上android开发环境搭建
- 1026. Table Tennis (30)
- HDU1390_Binary Numbers【水题】【位运算】
- Cuda 相关库的介绍
- MFC多线程之购票系统
- 简单总结一下计算机科学(CS)的课程体系
- 海选女主角
- 多线程下内存分配方式的比较(TCMalloc vs mt_alloc)
- java 学习day06
- 欢迎交流!
- NamNode文件租约分析LeaseManager(1)
- 一些博弈经典模型的总结