CUDA(10)之深入理解threadIdx

摘要 本文主要讲述CUDA的threadIdx。   1. Grid,Block和Thread三者的关系 其中,一个grid包含多个blocks,这些blocks的组织方式可以是一维,二维或者三维。任何一个block包含有多个Threads,这些Threads的组织方式也可以是一维,二...

2016-06-21 21:20:42

阅读数 8819

评论数 2

CUDA(9)之并行计算之CUDA

摘要 本文主要谈谈CUDA编程的一些特点。   1. CUDA擅长做什么? CUDA主要擅长可并行性的计算,以及浮点计算。换句话说,如果你的程序可并行化的程度较高,或者需要大量的浮点运算,那么你的程序如果在GPU上运行的话,可以有比较显然的性能的提升。   2. CUDA编程等价于GP...

2016-06-19 16:23:53

阅读数 724

评论数 0

TOEFL speaking——phrasal verbs

Abstract  This article will try to help you speak in more common phrasal verbs instead of formal verbs, in which you might have a better knowledge o...

2016-06-19 15:37:50

阅读数 239

评论数 0

TOEFL speaking——phrasal verbs

Abstract This article will show you 13 phrasal verbs of important. 1. Get out to leave eg: Sorry, I must get out of here right now. 2. Come by  t...

2016-06-17 10:22:10

阅读数 291

评论数 0

TOEFL speaking——verbs & phrasal verbs

Abstract  This article might try to help you tell the difference between verbs and phrasal verbs, and have a better knowledge of them. 1. Verbs...

2016-06-16 19:34:04

阅读数 286

评论数 0

TOEFL writing——causative verbs

Abstract This article talks about how to use causative verbs. 1. Make Make sb so sth. eg: She made me wash the dishes. (She forced me to wash th...

2016-06-07 20:54:54

阅读数 227

评论数 0

CUDA(8)之显卡驱动自动中断服务并恢复问题解决

摘要 本文主要讲述CUDA程序运行时,显卡驱动服务超时而自动中断的问题。   1. 错误的案例 运行下面程序,CUDA占用DEVICE时间过长就会自动被操作系统中断服务。   #include "cuda_runtime.h" #include &...

2016-06-06 11:55:54

阅读数 1804

评论数 0

CUDA(7)之A poor simple sample to perfectly introduce how to program in CUDA

Abstract This article talks about how to program in CUDA.   1. ".CU" files CUDA C code is written into a text document in your ...

2016-06-04 16:15:20

阅读数 351

评论数 0

提示
确定要删除当前文章?
取消 删除