包装 C++和 Python 中的 CUDA

发布于 2024-12-15 18:45:12 字数 128 浏览 4 评论 0原文

我想为由 OOP C++ (boost) 组成的数值库创建一个接口 以及 Python 中的 CUDA C 代码。已经有一个现有的 MATLAB 接口,但它包含 很多 mex.h 依赖项。

如何才能尽可能无痛地完成此操作?

I want to create an interface for a numerical library consisting of both OOP C++ (boost)
and CUDA C code, in Python. There is already an existing MATLAB interface, but it contains
a lot of mex.h dependencies.

How can this be done as painless as possible?

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

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

发布评论

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

评论(2

嘦怹 2024-12-22 18:45:12

这里有几个链接可供查看。用过这些的人可以评论一下吗?

# day  status  packagename  version  homepage  summary

2011-02-03  4  "scikits.cuda"  0.03  http://github.com/lebedov/scikits.cuda/
    Python interface to GPU-powered libraries

2010-10-27  0  "KappaCUDA"  1.5.0  http://psilambda.com
    Module to give easy access to NVIDIA CUDA from Python using the Kappa Library.

2010-10-16  5  "pycuda"  0.94.2  http://mathema.tician.de/software/pycuda
    Python wrapper for Nvidia CUDA

2010-07-01  4  "PyGouda"  1.0  http://pypi.python.org/pypi/pycuda
    The EasyCheese of GPU programming

Here are a couple of links to look at. Could people who've used any of these please comment ?

# day  status  packagename  version  homepage  summary

2011-02-03  4  "scikits.cuda"  0.03  http://github.com/lebedov/scikits.cuda/
    Python interface to GPU-powered libraries

2010-10-27  0  "KappaCUDA"  1.5.0  http://psilambda.com
    Module to give easy access to NVIDIA CUDA from Python using the Kappa Library.

2010-10-16  5  "pycuda"  0.94.2  http://mathema.tician.de/software/pycuda
    Python wrapper for Nvidia CUDA

2010-07-01  4  "PyGouda"  1.0  http://pypi.python.org/pypi/pycuda
    The EasyCheese of GPU programming
痴意少年 2024-12-22 18:45:12

我正在使用 scikits.cuda。但您需要安装 CULA 完整版才能获得完整功能。对学生免费。

I am using scikits.cuda. but you need to install CULA full edition for full functionality. It is free for student.

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