OpenCL.Net on .NET3.5

Jan 27, 2012 at 9:50 PM

Hello,

I am new to C# and OpenCL. Installed OpenCL.NET in .NET4.0 using package manger in VS 2010. Worked fine.

Now I need to use it with .NET3.5 in VS 2008; added OpenCL.Net.dll to reference, but it says "This project cannot be view in the object browser because it is unavailable or not yet built." I tried to open the source code in VS 2008 and build directly, but it gave me many error messages.

What is the best way to use OpenCL.NET in VS 2008 (.NET3.5)?

Thank you in advance for your help.

Jan 30, 2012 at 3:53 PM

C# 4.0 features used in Cl.Delegates.cs (Lines 31 and 36) gave me the errors: public delegate ErrorCode GetInfoDelegate< in THandleType, in TEnumType >( ...

I deleted the 'in's, and built OpenCL.Net.dll which worked fine in my program. But I wonder if there is any possible danger for simply deleting the 'in's.

Any feedback would be appreciated!

Coordinator
Apr 30, 2012 at 9:14 PM

At this point, no.