如何启用Mono.Simd [英] how to enable Mono.Simd

查看:179
本文介绍了如何启用Mono.Simd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Mono中使用Simd,但以下代码在MonDevop中突出显示为错误

I'd like to use Simd in Mono, but the following code is highlighted as error in MonDevop

使用Mono.Simd

using Mono.Simd

我已经安装了"Mono 2.8 for Windows",还需要安装什么才能启用Mono.Simd?

I already installed the "Mono 2.8 for Windows", what else I need to install to enable Mono.Simd?

在此链接中 http://tirania.org/blog/archive/2008/Nov-03.html 它谈论的是tarbal,但是下载后解压缩(mono-Mono.Simd.Math-942e804),有很多cs文件,没有dll文件.

In this link http://tirania.org/blog/archive/2008/Nov-03.html It talk about the tarbal, but after download it an uncompress it (mono-Mono.Simd.Math-942e804), there are many cs file and no dll file.

推荐答案

您是否已将Mono.Simd.dll添加到构建中? MonoDevelop正确地突出显示该错误,因为在您使用的程序集中没有任何Mono.Simd命名空间. Mono.Simd.dll包含在最新的Mono版本中.

Did you add the Mono.Simd.dll to the build? MonoDevelop correctly highlights the error because in the assemblies you're using there isn't any Mono.Simd namespace. Mono.Simd.dll is included in recent Mono releases.

关于其他答案,Mono.Simd不仅可以在Linux上的x86和amd64操作系统上运行.

As for the other answer, Mono.Simd works on any operating system on x86 and amd64, not only on Linux.

这篇关于如何启用Mono.Simd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆