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
1
vote
1 answer

How to setup project using Alea GPU

(Sorry if this is really obvious, I'm completely new to GPU programming.) I have installed all of the dependencies for Alea GPU and the samples are compiling and running as they should. However, I'm not sure how to setup a new console or windows…
1
vote
2 answers

Detect if GPU Available on AleaGpu

Is it possible to detect if a GPU is present before running GPU code with AleaGPU? Will Gpu.Default be null? Is there a property on this object that can be checked? I basically want to run a faster version of an algorithm if the GPU is present,…
Zachary Canann
  • 1,131
  • 2
  • 13
  • 23
1
vote
1 answer

Alea gpu missing output file?

Hello I'm working on ML code with alea gpu. Interesting thing is that when I try to run my code on my laptop everything is working fine except is too slow. When I want to run my code on second PC with more powerful GPU it's crashing on exception:…
Shoxik
  • 119
  • 1
  • 7
1
vote
1 answer

Same code, different behavior with C#, AleaGPU and device memory

I'm using the AleaGPU library to perform matrix multiplications and similar operations, and I can't seem to understand why my code isn't working as expected. By "not working as expecting" I mean that the resulting matrix has the first row (or the…
Sergio0694
  • 4,447
  • 3
  • 31
  • 58
1
vote
2 answers

GPU global memory calculation

In the worst case, does this sample allocate testCnt * xArray.Length storage in the GPU global memory? How to make sure just one copy of the array is transferred to the device? The GpuManaged attribute seems to serve this purpose but it doesn't…
Attila Karoly
  • 951
  • 5
  • 13
1
vote
1 answer

Does Alea GPU support dynamic parallelism?

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.
koonyook
  • 159
  • 1
  • 8
1
vote
1 answer

Where is cudaMemset in Alea GPU?

Where is cudaMemset in Alea GPU? I want to zero a big array on GPU global memory but I cannot find such function on Alea GPU.
koonyook
  • 159
  • 1
  • 8
1
vote
1 answer

Using Alea Gpu DeviceFunction when the routine is processed on Cpu

I have a routine that is designed to be called under any of three processing modes; SingleCpuThread, ParallelCpuThreads and ParallelGpuThreads. Within the routine, the math is performed using Alea.DeviceFunction in order to be compliant with Alea…
cayman
  • 11
  • 1
1
vote
1 answer

Alea Gpu runtime error not finding a file or dependecy in a Rhino/GrassHopper project

I have a runtime problem with Alea Gpu which doesn't find all related files (dll's I guess). Being new to .NET I have a problem figuring out the correct paths when it doesn't work out of the box, so if anyone can give me some hints based on the…
RIL
  • 185
  • 2
  • 11
1
vote
1 answer

Exception thrown: 'System.Exception' in Alea.dll "i32 is not struct type

I am trying to use Gpu.Default.For from the Alea GPU library, but I keep getting an exception: i32 is not a struct type error. What does this error mean, and why am I getting it with this simple Gpu.Default.For loop? for (Int32 j = 0; j <=…
1
vote
1 answer

Can you have a function on the device that can be called from a kernel

Apologies - I'm a newbie to AleaGPU. I have a function that I would like to be able to call from several different kernels. Is it possible to put a function on the device that can be called from different kernels - I've scoured the documentation…
1
vote
1 answer

Iterate over a collection of custom Classes with Alea GPU

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…
VampireMonkey
  • 177
  • 2
  • 11
1
vote
1 answer

exception Unable to load DLL 'curand64_75'

Am trying to run the Asian option pricing sample, I have the latest CUDA Drivers installed and get the following error when running. exception Unable to load DLL 'curand64_75': The specified module could not be found. (Exception from HRESULT:…
Mike U
  • 2,901
  • 10
  • 32
  • 44
1
vote
0 answers

Limit registers per thread Alea GPU (--maxregcount)

Nvidia Visual Profiler recommends that I try compile with the maxregcount flag. Is there anything equivalent in Alea GPU and how is it used? I am using JIT-compilation, and have found the JITMaxRegisters option, but it seems to have no effect on the…
blaavogn
  • 11
  • 2
1
vote
1 answer

Alea GPU how to get Licensemanager.exe

I am working on some GPU calculation algo using Alea GPU for the first time. I am unable to find licensemanager.exe file to install the license. I have signed up for community account and have the license code. I was unable to find licensmanager.exe…