POPPUR爱换

 找回密码
 注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

搜索
查看: 3739|回复: 7
打印 上一主题 下一主题

Komrade :C++ STL for CUDA

 关闭 [复制链接]
跳转到指定楼层
1#
发表于 2009-6-18 21:40 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式


http://code.google.com/p/komrade/wiki/Tutorial

  • What is Komrade?
    • Komrade is a C++ template library for CUDA. Komrade allows you to program GPUs using an interface similar the C++ Standard Template Library (STL).
  • What is a C++ template library?
    • C++ templates are a way to write generic algorithms and data structures. A template library is simply a cohesive collection of such algorithms and data structures in a single package.
  • Do I need to build Komrade?
    • No. Since Komrade is a template library you just #include the appropriate header files into your .cu file and compile with nvcc.
  • What data structures does Komrade provide?
    • Currently Komrade provides komrade::host_vector and komrade::device_vector, which are analogous to std::vector in the STL and reside in the host/device memory. These vector data structures simplify memory management and transferring data between the host and device.
  • What algorithms does Komrade provide?
    • sorting: komrade::sort and komrade::sort_by_key
    • tranformations: komrade::transform
    • reductions: komrade::reduce and komrade::transform_reduce
    • scans: komrade::inclusive_scan, komrade::exclusive_scan, komrade::transform_inclusive_scan, etc.
    • Refer to Documentation for a complete listing
  • What version of CUDA do I need to develop applications with Komrade?
    • Komrade requires CUDA 2.2 (or CUDA 2.2 beta)
  • What platforms does Komrade support?
    • Komrade has been tested extensively on the following platforms
    • Ubuntu Linux 8.04 and 8.10 (32-bit/64-bit) with GCC 4.2 and 4.3
    • Windows Vista (32-bit) with Visual Studio 2008 Express
    • Windows XP with Visual Studio 2005
  • Does Komrade depend on any other libraries?
    • No, Komrade is self-contained and requires no additional libraries.
  • What open-source license does Komrade use?
2#
发表于 2009-6-22 17:30 | 只看该作者
这个有搞头,本人是stl狂热分子
回复 支持 反对

使用道具 举报

3#
发表于 2009-6-26 14:31 | 只看该作者
学习了!!!!!!!!!!!!!!!!
回复 支持 反对

使用道具 举报

4#
发表于 2009-6-27 15:00 | 只看该作者
AMD Stream 也有自家移植过来的 ACML 库.
回复 支持 反对

使用道具 举报

5#
发表于 2009-7-3 11:56 | 只看该作者
看不太懂,日后也需会大行其道
回复 支持 反对

使用道具 举报

6#
发表于 2009-7-4 19:56 | 只看该作者
有意思,渐渐系统起来了说
回复 支持 反对

使用道具 举报

7#
发表于 2009-7-6 22:27 | 只看该作者
komrade 1.0后叫thrust了
回复 支持 反对

使用道具 举报

8#
发表于 2009-7-23 01:26 | 只看该作者
完全看不懂
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

广告投放或合作|网站地图|处罚通告|

GMT+8, 2025-8-26 16:04

Powered by Discuz! X3.4

© 2001-2017 POPPUR.

快速回复 返回顶部 返回列表