I am trying to use aleagpu, but I am getting a System.TypeInitializationException. I tried to solve what the problem was, but I could not find a solution, so please help. The program is the simplest:
class Klazz { private const int N = 100; private const int Length = 10000000; var gpu = Gpu.Default;
I assume that something is wrong with my installation because the program is a copied example from the aleagpu home page.
My system:
- Windows 10
- .NET v4.5.2
- Community VS 2015 NVIDIA GPU Computing Toolkit CUDA v8.0
Alea is installed from NuGet on November 9th. 2016
- Alea (3.0.1)
- Alea.IL (2.2.0.3307)
- Alea.CUDA (2.2.0.3307)
- Alea.CUDA.IL (2.2.0.3307)
- Alea.CUDA.Unbound (2.2.0.3307)
The variables in the PATH are correct.
I also tried AleaSample.CS.ParallelForAutoMemMgt with the same result.
c # aleagpu
Anders Finn Jørgensen
source share