带有位图的 Nvidia cuda

发布于 2024-09-24 20:11:36 字数 81 浏览 2 评论 0原文

我需要 CUDA C 的帮助。我正在尝试编程图像处理工具。我不明白如何使用 Bitmap(c++) 和 CUDA。请帮助我。 PS抱歉我的英语不好。

I need help with CUDA C. I am try programming image processing tools. And i can't understand, how use Bitmap(c++) and CUDA. Help me please. P.S. sorry for my bad english.

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

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

发布评论

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

评论(1

川水往事 2024-10-01 20:11:36

您的问题没有提供足够的细节。您指的是 Windows 中的 Gdiplus::Bitmap 类还是其他位图?您想对位图做什么?

对于图像处理应用程序,您可以访问位图的内存,将其复制到 CUDA 设备,在那里处理数据并将结果复制回 CPU 的主内存。

如果您不熟悉 CUDA,我建议您将 CUDA By Examples 作为一个好的开始。

Your question doesn't provide enough detail. Are you refering to the Gdiplus::Bitmap class in Windows or some other bitmap? What are you trying to do with the bitmap?

For image processing applications you would acces the bitmap's memory, copy this to the CUDA device, process the data there and copy the result back to the main memory of the CPU.

I'd recommend CUDA By Example as a good start if you're not familiar with CUDA.

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