在C#中使用SSE这可能吗? [英] Using SSE in c# is it possible?
问题描述
我正在读一本关于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屋!