Campy 0.0.1-alpha

.NET Framework
This is a prerelease version of Campy.
There is a newer version of this package available.
See the version list below for details.
Install-Package Campy -Version 0.0.1-alpha
dotnet add package Campy --version 0.0.1-alpha
<PackageReference Include="Campy" Version="0.0.1-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Campy --version 0.0.1-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Campy, 0.0.1-alpha"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Campy as a Cake Addin
#addin nuget:?package=Campy&version=0.0.1-alpha&prerelease

// Install Campy as a Cake Tool
#tool nuget:?package=Campy&version=0.0.1-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

An API for the running of C# code on a GPU. For Windows (x64).

Product Versions
.NET Framework net
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.16 1,207 1/14/2019
0.0.15 882 9/27/2018
0.0.14 784 9/2/2018
0.0.13 923 7/6/2018
0.0.12 728 6/14/2018
0.0.11 813 6/8/2018
0.0.10 810 5/29/2018
0.0.9 858 5/3/2018
0.0.8 798 4/18/2018
0.0.7 715 4/4/2018
0.0.6 817 3/21/2018
0.0.5 845 3/10/2018
0.0.4 920 3/9/2018
0.0.3 795 3/9/2018
0.0.3-alpha 722 10/9/2017
0.0.2-alpha 641 9/19/2017
0.0.1-alpha 806 9/6/2017

* Version 0.0.1-alpha
When building with Campy, select Platform = "AnyCPU", config = "Debug" or "Release", "Prefer 32-bit" unchecked.

Make sure you have a recent CUDA GPU, and CUDA Toolkit installed.

Simple example:
namespace ConsoleApp
{
   class Program
   {
       static void Main(string[] args)
       {
           int[] o = new int[]{1,2,3,4,5};
           Campy.Parallel.For(new Campy.Types.Extent(5), idx => { o[idx] += 1; });
           for (int i = 0; i<5; ++i) System.Console.Write(o[i] + " ");
           System.Console.WriteLine();
       }
   }
}


For further information, see https://github.com/kaby76/campy and http://campynet.com/.