Using SSE in c# is it possible?

后端 未结 10 1955
借酒劲吻你
借酒劲吻你 2020-11-29 11:02

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?

10条回答
  •  孤独总比滥情好
    2020-11-29 12:02

    Recently Microsoft has released a beta SIMD vector library (Microsoft.Bcl.Simd) for C# which requires installation of the RyuJIT CTP and works only Windows 8.

    You can also just used a native SSE library and invoke it from C#. For example the Yeppp library, see this StackOverflow answer.

提交回复
热议问题