Campy 0.0.1-alpha

This is a prerelease version of Campy.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Campy --version 0.0.1-alpha                
NuGet\Install-Package Campy -Version 0.0.1-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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                
#r "nuget: Campy, 0.0.1-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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                

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

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
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,724 1/14/2019
0.0.15 1,176 9/27/2018
0.0.14 1,057 9/2/2018
0.0.13 1,251 7/6/2018
0.0.12 1,028 6/14/2018
0.0.11 1,138 6/8/2018
0.0.10 1,115 5/29/2018
0.0.9 1,224 5/3/2018
0.0.8 1,119 4/18/2018
0.0.7 992 4/4/2018
0.0.6 1,136 3/21/2018
0.0.5 1,196 3/10/2018
0.0.4 1,263 3/9/2018
0.0.3 1,134 3/9/2018
0.0.3-alpha 905 10/9/2017
0.0.2-alpha 804 9/19/2017
0.0.1-alpha 1,026 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/.