在C#中使用SSE这可能吗? [英] Using SSE in c# is it possible?

查看:748
本文介绍了在C#中使用SSE这可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在读一本关于C#code优化的问题,一个解决方案是使用C ++与SSE。是否有可能直接从C#程序做SSE?

I was reading a question about c# code optimization and one solution was to use c++ with SSE. Is it possible to do SSE directly from a c# program?

推荐答案

即将到来的 2.2版本将有SIMD支持。米格尔奥德伊卡萨博客即将到来的功能这里,且API的这里

The upcoming Mono 2.2 release will have SIMD support. Miguel de Icaza blogged about the upcoming feature here, and the API is here.

尽管会有,将支持在微软的.NET Windows运行时开发出库,它不会有你要找的,除非你运行下的单声道运行时code中的性能优势。根据您的情况可能是可行的。

Although there will be a library that will support development under Microsoft's .NET Windows runtime, it will not have the performance benefits that you are looking for unless you run the code under the Mono runtime. Which might be doable depending on your circumstances.

更新:单声道2.2发布

Update: Mono 2.2 is released

这篇关于在C#中使用SSE这可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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