CUDA C#.NET示例项目? VS2010 [英] CUDA C# .Net Example Project? VS2010

查看:209
本文介绍了CUDA C#.NET示例项目? VS2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如果任何人有一个例子CUDA C#.NET项目,与VS 2010年我正在运行的所有64位和CUDA 4.0。工程

I would like to know if anyone has an example CUDA C# .Net project that works with VS 2010. I am running all 64 bit and CUDA 4.0.

我试过如下:

GPU净 - 失败,他们的应用程序不会因代理牌照的发放安装

GPU .Net - failure, their application won't install due to proxy license issue

Cudafy - 失败,样品也不会因为错误信息vsvars32.bat缺少我虽然针对64位(我想这一定是一个问题,无论是Cudafy code或nvcc.exe的运行。

Cudafy - failure, samples would not run because of error message 'vsvars32.bat is missing' although I am targeting x64 (I think this must be an issue with either Cudafy code or nvcc.exe'

GASS净 - 失败,他们有一个.dll和手动,但没有样本项目(即我能找到)和他们的手册中有没有演练(跳直技术特点,它不是一个引物)

GASS .Net - failure, they have a .dll and a manual, but no sample project (that I could find) and their manual has no walkthrough (jumps straight in to technical features, it's not a primer)

有没有运气与VS2010,我切换到VS2008和VC ++:

Having no luck with VS2010, I switched to VS2008 and VC++:

HTTP://llpanorama.word$p $ pss.com / 2010/06/18 / CUDA-获得,更容易/ ... ...但是他的榜样放平,因为cuda.​​rules文件不再CUDA 4.0使得不可能完成他的演练(至少是4.0)。

http://llpanorama.wordpress.com/2010/06/18/cuda-gets-easier/ ...however his example falls flat because the cuda.rules file is no longer in cuda 4.0 making impossible to complete his walkthrough (at least with 4.0).

我也试过了博客的例子,论坛和其他谷歌有关的查询窗口万千。到目前为止,所有的尝试已导致失败。但是,我能够执行随附SDK中的样本库。这些都为VS2010和VC ++编写的。我希望得到这个工作用C#。

I also tried a myriad of blog examples, forums, and other google related look-ups. So far, all attempts have resulted in failure. However, I am able to execute the sample libraries that came with the SDK. These are written for VS2010 and VC++. I want to get this working with C#.

推荐答案

CUDA.NET一直没有维持很长一段时间,不再与最新的CUDA版本(这主要是由于64位指针和推出新作_v2后缀的功能没有被拾起dllimport的)。 我们试图在公司背后接触,从来没有得到任何回复。由于没有牌照的限制,我们更新了源代码,并将其嵌入CUDAfy.NET。这是一个开源项目(LPGPL)的基础上CUDA.NET,并进一步简化了它的使用。 CUDAfy网站 也有在$ C $的CProject包括一些教程: 在.NET

CUDA.NET has not been maintained for quite some time and no longer works with the latest CUDA versions (primarily due to 64-bit pointers and the introduction of new _v2 suffixed functions not being picked up by dllimport). We tried contacting the company behind it and never got any replies. Since there are no license restrictions we updated the source and it is embedded in CUDAfy.NET. This is an open source project (LPGPL) that builds on CUDA.NET and simplifies its use further. CUDAfy website There are also a few tutorials on codeproject including: Using Cudafy for GPGPU Programming in .NET

这篇关于CUDA C#.NET示例项目? VS2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆