Campy 0.0.1-alpha
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
<PackageReference Include="Campy" Version="0.0.1-alpha" />
paket add Campy --version 0.0.1-alpha
#r "nuget: Campy, 0.0.1-alpha"
// 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
.NETFramework 4.7
- Mono.Cecil (>= 0.9.6.4)
- swigged.cuda (>= 8.0.6)
- swigged.llvm (>= 4.0.14)
- System.Console (>= 4.0.0)
- System.IO.FileSystem (>= 4.0.1)
- System.IO.FileSystem.Primitives (>= 4.0.1)
- System.Runtime (>= 4.1.0)
- System.Runtime.Extensions (>= 4.1.0)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
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,738 | 1/14/2019 |
0.0.15 | 1,192 | 9/27/2018 |
0.0.14 | 1,068 | 9/2/2018 |
0.0.13 | 1,263 | 7/6/2018 |
0.0.12 | 1,040 | 6/14/2018 |
0.0.11 | 1,152 | 6/8/2018 |
0.0.10 | 1,139 | 5/29/2018 |
0.0.9 | 1,237 | 5/3/2018 |
0.0.8 | 1,133 | 4/18/2018 |
0.0.7 | 1,001 | 4/4/2018 |
0.0.6 | 1,147 | 3/21/2018 |
0.0.5 | 1,213 | 3/10/2018 |
0.0.4 | 1,277 | 3/9/2018 |
0.0.3 | 1,148 | 3/9/2018 |
0.0.3-alpha | 908 | 10/9/2017 |
0.0.2-alpha | 807 | 9/19/2017 |
0.0.1-alpha | 1,029 | 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/.