并行计算
文章平均质量分 78
maowenge
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
测试cuda的unified memory和cudaMemcpy的if判断
// //#include //#include //#include //#include //using namespace std; // //const int N=1001569; //const int threadPerBlock=256; // // //__global__ void aplusb(int *a,int *b,float *c) //{原创 2014-10-28 17:29:42 · 1020 阅读 · 0 评论 -
测试cuda的unified memory和cudaMemcpy的加减乘除及空间申请时间对比
#include #include #include #include using namespace std; const int N=1234567; const int sample=100; const int threads=256; __global__ void judge(int *da,int *data,int sam) { cons原创 2014-10-28 17:28:43 · 1130 阅读 · 0 评论
分享