在 LabVIEW 中执行 CUDA

发布于 2024-12-07 02:29:37 字数 138 浏览 1 评论 0原文

我想在LabVIEW中执行CUDA操作,并行传输GPU中的多个文件,然后在GPU上执行算术运算,然后将数据保存在新文件中。我了解到,为了在GPU中执行操作,我们需要创建一个DLL文件,然后将其导入LabVIEW,但我不知道如何操作。你能给我一些类似操作的例子吗?

I want to perform CUDA operation in LabVIEW to transfer multiple files in GPU in parallel and then perform arithmetic operations on GPU and then save the data in new file. I learnt that in order to perform operations in GPU, we need to create a DLL file and then import it to LabVIEW but I don't know how. Can you give me some example of a similar operation?

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

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

发布评论

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

评论(4

那一片橙海, 2024-12-14 02:29:37

以下是您可能会感兴趣的链接:
LabVIEW GPU 计算

Here is the link that you might find interesting:
LabVIEW GPU Computing

韬韬不绝 2024-12-14 02:29:37

正如你所说,LabVIEW不支持CUDA。在LabVIEW中调用DLL非常简单,使用调用库用于此目的的功能节点

更简单的是,一旦您编写了 dll,通过进入“工具”菜单 ->“工具”中的向导,让 LabVIEW 围绕您的 DLL 生成 VI 包装器。导入->共享库

另请参阅这篇文章,它对事情进行了相当广泛的解释。

LabVIEW has no support of CUDA, as you said. Calling DLL in LabVIEW is quite easy, Use the Call Library Function node for this purpose.

Even easier, once you've written the dll, have LabVIEW generate VI wrappers around your DLL by entering the wizard in Tools menu -> Import -> Shared library

See also this article that explains things quite extensively.

千紇 2024-12-14 02:29:37

NI 网站上还应该提供一组 CUDA VI。我不知道这些对你的情况是否有帮助,因为你似乎已经有了 C 代码,但它可能会。

NI should also has a set of CUDA VIs available on their site. I don't know if those would help in your case, since you already seem to have the C code, but it might.

满意归宿 2024-12-14 02:29:37

是的,NI 可以提供支持。请加入此社区群组。您可以安装一个库,以便在 LabVIEW 中获得 CUDA 支持。另外,如果需要,请将问题发布到此社区组以寻求帮助。

Yes, NI can provide support. Please join this community group. There is a library that you can install so you can have CUDA support in LabVIEW. Also, please post questions to this community group for help if needed.

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