Questions tagged [aleagpu]

Alea GPU is a cross-platform GPU development environment for .NET. It supports all .NET languages (C#, F# and VB.NET) and allows reusing the same code-base for CPU and GPU computations.

Alea GPU is a professional GPU development environment for .NET.

  • Supports all .NET languages, including C#, F# and VB.
  • Improves developer productivity with first class tooling for coding, debugging and profiling, fully integrated in Visual Studio™.
  • Reduces development time with pre-fabricated GPU algorithms and libraries.
  • Increases agility with GPU scripting and a REPL in Visual Studio™ for rapid prototyping of GPU code.

With Alea GPU the .NET framework can be used as a cross platform technology for the CPU and GPU code base.

  • Runs on Windows, Linux and Mac OS X.
  • Single code base for multiple platforms - build once and run on any platform supporting either .NET or Mono.
  • Simplified deployment because generated assemblies are binary compatible for all platforms.

Alea GPU generates code which is as fast as native CUDA C/C++, with the benefit of being seamlessly integrated with .NET and Mono.

It can be used to develop GPU accelerated applications at all levels of sophistication, from simple GPU kernels up to complex GPU algorithms using textures, shared memory and other advanced GPU programming techniques.

Source: Alea GPU Manual

96 questions
2
votes
1 answer

How to use recursion with ALEA Library in C#

I am trying to convert a recursive algorithm from CPU to GPU using ALEA Library. I get the following errors if I build the code : "Fody/Alea.CUDA: AOTCompileServer exited unexpectly with exit code -1073741571" public class GPUModule :…
2
votes
1 answer

Use of third-party library

I'm interested in using Alea GPU with a third-party library and am trying to get a sense of my options. Specifically, I'm interested in using this L-BFGS library. I'm fairly new to the F# ecosystem but do have experience with both CUDA and…
aostiles
  • 75
  • 4
2
votes
1 answer

Can I use Alea.cuBase / Alea GPU with CUDA 8.0?

I just tried to run Alea TK samples on machine with GTX 1070, and: CUDA 7.5 installs, but doesn't seem to work there. NVidia says CUDA 8.0RC should be used with this GPU:…
Alex Yakunin
  • 6,330
  • 3
  • 33
  • 52
2
votes
1 answer

Alea CUDA DeviceMapModule much slower than handwritten kernel

I tried to use the DeviceMapModule and the DeviceMap2Module for simple mapping operations. To my surprise it is about 2x slower than writing the kernel by hand. For the hand written kernel I did not do anything special. I just copied the Getting…
Johan
  • 660
  • 1
  • 6
  • 13
2
votes
1 answer

AOTCompileServer exited unexpectly with exit code -532462766 when building the fsharp project under AleaGPUTutorial

I am trying to build the fsharp project within the AleaGPUTutorial project in Visual Studio 2015 on Windows 10. Under References, the path of the FSharp.Core.dll is shown to be C:\Program Files (x86)\Reference…
2
votes
1 answer

Higher order functions in AleaGPU C#

I am trying to code C# versions (in C# style) of the F# reduce functions found here: https://github.com/quantalea/AleaGPUTutorial/tree/master/src/fsharp/examples/generic_reduce More specific to my question, take this function for example: let…
2
votes
1 answer

Passing more than 16 kernel arguments in Alea.GPU

I have a fairly complex kernel that I am trying to write. As it turns out, I need to pass more than 16 arguments, and apparently Alea GPU has a limitation for 16 arguments.…
Daniel Fabian
  • 3,828
  • 2
  • 19
  • 28
2
votes
2 answers

alea.cuBase and CUBLAS

I'm starting down the exciting road of GPU programming, and if I'm going to do some heavyweight number-crunching, I'd like to use the best libraries that are out there. I would especially like to use cuBLAS from an F# environment. CUDAfy offers…
Rob Lyndon
  • 12,089
  • 5
  • 49
  • 74
1
vote
0 answers

Can Alea Gpu just copy the last element in an array?

I am using Alea GPU to program on GPU using C# language. In my project, I want to reduce all zero elements in an array on GPU, so I plan to use exclusive sum scan to implement it. The next step is I have to get the last element of my scan results in…
Albert Li
  • 31
  • 5
1
vote
0 answers

Alea.CUDA. Migrate from v2 to v3.0

Is there manual for migration from Alea.CUDA v2 to Alea.CUDA v3? We use packages Alea.CUDA.Fody and Alea.CUDA.Unbound from Nuget, and next namespaces: Alea.CUDA.Utilities.Array2D, Alea.CUDA, Alea.CUDA.CULib, Alea.CUDA.Utilities, Alea.CUDA.IL. Now we…
gsv
  • 277
  • 1
  • 9
1
vote
1 answer

Alea GPU Memory Allocation Limit

I am using Alea GPU with a GTX-1081ti, which has 11GB of global memory. When I use the Alea Gpu.Default.Allocate method to allocate memory on the GPU, when I get up near 3+ GB I get an "out of memory" error. My code is: private static int Length =…
ebergerly
  • 19
  • 6
1
vote
1 answer

Alea GPU Free Memory

Anyone know how to determine free/available global memory on a GPU, similar to the CUDA "cudaMemGetInfo(&free_byte, &total_byte);?. I've searched the Alea website for the API trying to locate a property to determine free bytes, but nothing seems to…
ebergerly
  • 19
  • 6
1
vote
0 answers

AleaGPU suitable for points within rectangle

The challenge is to check if an array of points(double x, double y) is within a rectangle. . There are mathematical formulas to get it done, and I've achieved this using CPU parallelism, but performance for thousands of points is tough, hence the…
1
vote
1 answer

Is it possible to use Alea GPU on Linux with .NET Core?

Is it possible to use Alea GPU on Linux by targeting .NET Core? Thanks.
Alex Sanséau
  • 8,250
  • 5
  • 20
  • 25
1
vote
1 answer

Unable to use cuDNN cudnn64_7.dll file with Alea GPU (it keeps looking for the older dll)

I'm having a hard time getting Alea use the newer cuDNN cudnn64_7.dll library. I've already followed the official guide here and added the environment variable to let Alea reference the newer CUDA 9.1 drivers. The problem though is with cuDNN…
Sergio0694
  • 4,447
  • 3
  • 31
  • 58