带有Visual Studio F#的Microsoft Accelerator库

编程入门 行业动态 更新时间:2024-10-23 13:32:00
本文介绍了带有Visual Studio F#的Microsoft Accelerator库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经按照手册中的说明下载并安装了Microsoft Accelerator,但是当我尝试创建使用open Microsoft.ParallelArrays的项目时,仍然没有定义ParallelArrays.

I've downloaded and installed Microsoft Accelerator as stated in the manual, but when I try to create a project that uses open Microsoft.ParallelArrays, ParallelArrays is still not defined.

我尝试通过参考将Accelerator添加到列表中,但似乎找不到它.

I tried going through the References to add Accelerator to the list but could not seem to find it.

我在做什么错了?

我在另一个可以工作的位置找到了一个文件,但是当我编译并运行测试程序时会抛出错误

I have found a file in another location that does work, but when I compile and run my test program it throws the error

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'Accelerato r.dll': The specified module could not be found. (Exception from HRESULT: 0x8007 007E) at Microsoft.ParallelArrays.FloatParallelArray.AcceleratorNative.Create_FPA_F A1D(Single[] values, IntPtr Length) at Microsoft.ParallelArrays.FloatParallelArray..ctor(Single[] values) at Program.Test1() in c:\users\misao\documents\visual studio 2012\Projects\ac celeratortest\acceleratortest\Program.fs:line 10 at <StartupCode$acceleratortest>.$Program.main@() in c:\users\misao\documents \visual studio 2012\Projects\acceleratortest\acceleratortest\Program.fs:line 97 Press any key to continue . . .

推荐答案

将dll"Accelerator.dll"添加到您的项目中. 右键单击项目,添加/现有项目. 然后将此文件的复制到输出"属性设置为始终复制".

Add the dll 'Accelerator.dll' to your project. Right click on the project, Add / Existing Item. Then set this files 'Copy To Output' property to Copy Always.

更多推荐

带有Visual Studio F#的Microsoft Accelerator库

本文发布于:2023-11-15 23:41:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1599001.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Studio   Visual   Accelerator   Microsoft

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!