cudpp 是否仅适用于具有一定计算能力的设备

发布于 2025-01-02 16:00:05 字数 168 浏览 2 评论 0原文

我想使用cudpp。我很好奇它是否只适用于具有一定计算能力的设备? 如果是,下限是多少。

我在他们的哈希表实现代码中发现了这个错误消息: “testHashTable 中的 cudppHashTable 调用出错(确保您的设备至少是计算版本 2.0\n”

我不知道他们指的是哪个计算版本?

I want to use cudpp. I am curious if it only works for devices of a certain compute capability ?
If yes, what is the lower bound.

I found this error message in their hash table implementation code:
"Error in cudppHashTable call in testHashTable (make sure your device is at least compute version 2.0\n"

I dont know which compute version they are referring to??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

本王不退位尔等都是臣 2025-01-09 16:00:05

据我所知,计算能力没有限制。根据,针对采用 Fermi 架构 (sm_20) 的卡进行了一些优化更改日志

不过,CUDPP 2.0 确实声明它仅适用于 CUDA 3.0或更高版本(他们建议使用高于 3.2 的版本),但这与计算能力没有直接关系。

更新:

正如OP所发现的,确实有一些功能明确需要2.0架构,例如cudppHashTable。根据源代码中的文档 (第 206 行):

哈希表的实现需要硬件能力2.0或
更高(64 位原子操作)。

从措辞来看,我假设在特殊情况下需要某种计算能力,但这不是一般要求。

For as far as I'm aware, there are no restrictions with regards to compute capability. There are some optimizations for cards with a Fermi architecture (sm_20) according to the change logs.

CUDPP 2.0 does however state it only works for CUDA 3.0 or higher (and they advice to use versions higher than 3.2), but this has no direct relation to compute capability.

Update:

As found by the OP, there is indeed functionality which explicitly requires a 2.0 architecture, such as cudppHashTable. As per the doc in the source (line 206):

The hash table implementation requires hardware capability 2.0 or
higher (64-bit atomic operations).

From the wording I would assume there are special cases in which a certain compute capability is required, but it is not a general requirement.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文