• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
baowenbo
博客园 首页 新随笔 联系 订阅 订阅 管理

2014年3月23日

CUDA并行运算,block ,thread计算测试
摘要: http://www.cnblogs.com/dubing/archive/2011/10/10/2085742.html学习了"熬夜的虫子"这位同学的各种线程,各种block情况下的,速度比较。在他的博文指导下,做了比较重要的几点点的修正,如下:1.在运行一个kernel(即.cu文件中带有__global__标志的函数)后,加上了cudaDeviceSynchronize();进行同步,否则6中方式计算得到的数据会不一致。2.对6种计算方法的非kernel部分代码,全部进行了重写。各自代码,不共用。3.对多block 、多线程、带线程同步的方法6,__share__ 共 阅读全文
posted @ 2014-03-23 16:34 baowenbo 阅读(596) 评论(0) 推荐(0)
 
 

2013年2月27日

SOPC自定义外设(IP)的地址对齐
摘要: Native Addressing In versions of the SOPC Builder software before v8.0, a slave interface could specify that it had native addressing. When a master port addresses a slave port with the native address alignment property, all slave data is aligned on native masteraddress boundaries. When a master p.. 阅读全文
posted @ 2013-02-27 12:28 baowenbo 阅读(281) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3