Tag: aleagpu

AleaGPU是否与CUDA Toolkit 8.0兼容

在安装文档http://www.aleagpu.com/release/3_0_2/doc/installation.html中,它说要从https://developer.nvidia.com/cuda-downloads下载最新的CUDA驱动程序。 我已经这样做了,并且无法运行一些样本。 最新的CUDA工具包是v8.0,但是当运行一些示例时,我得到一个错误,无法找到curand64_75.dll,看起来它是v7.5 dll。 我已经下载并安装了v7.5 Toolkit,现在我收到了“exception[cuRAND Error] LAUNCH_FAILURE”错误。 我认为它与使用v8.0驱动程序时运行v7.5 Toolkit有关。 如何让Alea GPU引用curand64_80.dll? 或者我是否必须卸载所有V8.0的东西,现在只运行v7.5?

Alea:“i32不是结构类型

完整堆栈跟踪: “i32不是结构类型。源位置堆栈: – >在C:\ Users \ IcaroLima \ Documents \ Visual Studio 2017 \ Projects \ TestandoAleaParallel \ TestandoAleaParallel \ Program.cs(16,33-16,37) – >在TestandoAleaParallel.Program + A. [Void set_X(Int32)] – >在C:\ Users \ IcaroLima \ Documents \ Visual Studio 2017 \ Projects \ TestandoAleaParallel \ TestandoAleaParallel \ Program.cs(31,17-31,32) – >在TestandoAleaParallel.Program + c__DisplayClass1_0。[Void b__0(Int32)] – >在Alea.Parallel.Device.DeviceFor。[Void Kernel(Int32,Int32,System.Action1 [System.Int32])] […]

添加GpuManaged属性时,VisualStudio显示错误

我得到Fody/Alea: TODO Transform: ILLabel VS中的Fody/Alea: TODO Transform: ILLabel错误,当尝试编译以下代码时: static void Main(string[] args) { var gpu = Gpu.Default; gpu.For(0, 100, idx => Do(idx)); Console.ReadKey(); } [GpuManaged] public static void Do(int idx) { bool isTrue = false; bool one = true; bool two = true; for (int i = 0; i < 10; i++) { if (isTrue) […]

Alea GPU教程没有使用FSharp.Core 4.4.0.0在VS 2015 Update 2上进行编译

在编译Alea GPU教程时遇到错误:在Visual Studio 2015社区更新2中使用FSharp.Core版本4.4.0.0在.Net 4.5运行时编译https://github.com/quantalea/AleaGPUTutorial 。 Fody:发生了未处理的exception:exception: 无法加载文件或程序集’FSharp.Core,Version = 4.3.1.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a’或其依赖项之一。 该系统找不到指定的文件。 堆栈跟踪: at Alea.CUDA.AOTCompileLogger..ctor(List`1 logs, Int32 warningCount, Int32 errorCount) at Alea.CUDA.AOTCompileLogger..ctor() at Alea.CUDA.AOTCompiler..ctor() at Alea.CUDA.Fody.ModuleWeaver.Execute() at lambda_method(Closure , Object ) at InnerWeaver.ExecuteWeavers() in c:\Code\Fody\FodyIsolated\InnerWeaver.cs:line 164 at InnerWeaver.Execute() in c:\Code\Fody\FodyIsolated\InnerWeaver.cs:line 82 Source: Alea.CUDA TargetSite: Void .ctor(System.Collections.Generic.List`1[Alea.CUDA.AOTCompileLogEntry], Int32, Int32) 它发生在Tutorial.Cs和Tutorial.Fs项目中,无论我如何在所有可能的.config文件中设置bindingRedirect选项。 看起来这些重定向被Fody引用加载机制忽略了。 但是,即使将教程解决方案设置为FSharp.Core 4.3.1.0也不允许我编译它。 […]