aleagpu

Does Alea GPU support dynamic parallelism?

房东的猫 提交于 2020-01-15 11:11:42
问题 I need to call cuBLAS functions and some of my kernel functions from a kernel. How to do so in Alea GPU? In the case Alea GPU doesn't support that, is there any alternative on C# with such feature. 回答1: AleaGpu supports dynamic parallelism. You can do it this way: Gpu.Default.Launch(() => { // Note you are calling a kernel inside a kernel. var lp = new LaunchParam(1, 1024); DeviceRuntime.Launch(YourKernel, lp) }, new LaunchParam(1, 1)); Use the latest AleaGpu release: https://www.nuget.org

Does Alea GPU support dynamic parallelism?

痴心易碎 提交于 2020-01-15 11:10:32
问题 I need to call cuBLAS functions and some of my kernel functions from a kernel. How to do so in Alea GPU? In the case Alea GPU doesn't support that, is there any alternative on C# with such feature. 回答1: AleaGpu supports dynamic parallelism. You can do it this way: Gpu.Default.Launch(() => { // Note you are calling a kernel inside a kernel. var lp = new LaunchParam(1, 1024); DeviceRuntime.Launch(YourKernel, lp) }, new LaunchParam(1, 1)); Use the latest AleaGpu release: https://www.nuget.org

Is AleaGPU compatible with CUDA Toolkit 8.0

血红的双手。 提交于 2019-12-23 10:25:10
问题 In the install documentation http://www.aleagpu.com/release/3_0_2/doc/installation.html it says to download the latest CUDA Drivers from https://developer.nvidia.com/cuda-downloads. I have done so and am not able to get some of the samples to run. The Latest CUDA Toolkit is v8.0, however when running some of the samples I get an error not being able to find curand64_75.dll looks like it is the v7.5 dll. I have downloaded and installed just the v7.5 Toolkit, now I get a "exception [cuRAND

cuFFT in Alea GPU

旧街凉风 提交于 2019-12-12 10:22:47
问题 I am using Alea GPU to program on GPU using C# language. I installed Alea 3.0.4 on Visual Studio 2017 project, but I can't find some cuFFT library. On NVidia's website stands cuFFT is part of CUDA Toolkit, so I don't need to download additional CUDA libraries. Do I need to downlaod some additional binding or it is possible to use cuFFT with Alea GPU? 回答1: The bindings you're searching are here: https://www.nuget.org/packages/Alea.CudaToolkit/ In order for these to work you need to have CUDA

Iterate over a collection of custom Classes with Alea GPU

可紊 提交于 2019-12-11 05:05:34
问题 I'm a hobbyist and would like to utilize my GPU for my personal projects. I've gotten the Alea GPU package installed and working. This below produces the same output: Dim y(10) As Integer For i = 0 To 10 - 1 y(i) = i Next Dim y2(10) As Integer Array.Copy(y, y2, y.Length) Parallel.For(0, y.Length - 1, Sub(i) y(i) += i) Debug.WriteLine(y.Aggregate(Function(now, future) now + future)) Alea.Gpu.Default.For(0, y2.Length - 1, Sub(i) y2(i) += i) Debug.WriteLine(y2.Aggregate(Function(now, future) now

TypeInitializationException thrown by aleagpu

廉价感情. 提交于 2019-12-10 13:53:42
问题 I am trying to use aleagpu but I get the System.TypeInitializationException. I have tried to google what the problem is but I couldn't find any solution, so please help. The program is the simplest possible: class Klazz { private const int N = 100; private const int Length = 10000000; var gpu = Gpu.Default;// here is the Exception thrown public static void Unmanaged() { var data = new int[Length]; for (var k = 0; k < N; k++) gpu.For(0, data.Length, i => data[i] += 1); } } I am imagining that

Can I use mono64 with Visual Studio for Mac?

。_饼干妹妹 提交于 2019-12-02 05:59:41
问题 I'm new to Mono development (but not .NET development) - got as far as downloading Visual Studio for Mac and trying to run a sample solution from Alea GPU. It complains that it needs mono64, but I see no option for selecting 64 bit architecture like I would in Windows, and Googling the issue has not turned up an answer I can make sense of. Can I use mono64 in VS for Mac and if so, how? 回答1: Since you are running within VS4M, you need to set the architecture of the run configuration that you

Alea GPU Tutorial not compiling on VS 2015 Update 2 with FSharp.Core 4.4.0.0

允我心安 提交于 2019-12-01 01:37:18
问题 I am getting error while compiling Alea GPU Tutorial: https://github.com/quantalea/AleaGPUTutorial in Visual Studio 2015 Community Update 2 with FSharp.Core version 4.4.0.0 on a .Net 4.5 runtime. Fody: An unhandled exception occurred: Exception: Could not load file or assembly 'FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. StackTrace: at Alea.CUDA.AOTCompileLogger..ctor(List`1 logs, Int32