- 博客(4)
- 资源 (17)
- 收藏
- 关注
原创 CUDA(10)之深入理解threadIdx
摘要本文主要讲述CUDA的threadIdx。 1. Grid,Block和Thread三者的关系其中,一个grid包含多个blocks,这些blocks的组织方式可以是一维,二维或者三维。任何一个block包含有多个Threads,这些Threads的组织方式也可以是一维,二维或者三维。举例来讲:比如上图中,任何一个block中有10个Thread,那么,Block(0,0)...
2016-06-21 21:20:42 17656 2
原创 CUDA(9)之并行计算之CUDA
摘要本文主要谈谈CUDA编程的一些特点。 1. CUDA擅长做什么?CUDA主要擅长可并行性的计算,以及浮点计算。换句话说,如果你的程序可并行化的程度较高,或者需要大量的浮点运算,那么你的程序如果在GPU上运行的话,可以有比较显然的性能的提升。 2. CUDA编程等价于GPU编程么?CUDA编程不完全等价于GPU编程,CUDA其实是CPU程序和GPU程序的结合。其中,C...
2016-06-19 16:23:53 1230
原创 CUDA(8)之显卡驱动自动中断服务并恢复问题解决
摘要本文主要讲述CUDA程序运行时,显卡驱动服务超时而自动中断的问题。 1. 错误的案例运行下面程序,CUDA占用DEVICE时间过长就会自动被操作系统中断服务。 #include "cuda_runtime.h"#include "device_launch_parameters.h"#include <stdio.h>#include <ios...
2016-06-06 11:55:54 3184
原创 CUDA(7)之A poor simple sample to perfectly introduce how to program in CUDA
AbstractThis article talks about how to program in CUDA. 1. ".CU" filesCUDA C code is written into a text document in your project with the ".CU" extension. The ".CU" extension tells Visual St...
2016-06-04 16:15:20 553
hyperledger-fabric-readthedocs-io-en-v2.2.1.pdf
2021-01-27
LibreOffice Draw 之网络图示模板 VRTnetworkequipment_1.2.0-lo
2018-08-01
1999年到2018年香港房地产走势数据
2018-04-02
GeoIP Databases of Country and City
2017-06-06
Performance analysis of the Blockchain
2017-01-19
An introduction to Blockchain that is a supporting technology of Bitcoin.
2017-01-03
Linux Kervel Version 1.0 (open source)
2017-01-03
GPU与MATLAB混合编程之书本实现代码
2016-07-15
Totem拓扑数据
2016-05-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人