[Mono-list] Use of SIMD in VS2008 IDE?

LKeene lionel.keene at gmail.com
Wed Aug 19 18:09:22 EDT 2009


Well, I switched the target of my app to .NET 3.0 and I still got the warning
dialog when I tried to add the reference. Oh well, whatever. I'm
experimenting now and it is running fine. 

Just to clarify: if someone is running an app making use of Mono.SIMD
instructions on a computer using the Microsoft runtime, the SIMD
instructions will fall back to a scalar (non-SIMD) mode? In other words, the
SIMD instructions will only actually use the SIMD units if the app is
executing within the Mono runtime, correct?

The syntax is very nice, btw.

-L



Rodrigo Kumpera wrote:
> 
> Mono.Simd uses C# 3.0 extension methods. You can, thou, use it without
> them.
> 
> 
> 
> On Wed, Aug 19, 2009 at 5:54 PM, LKeene <lionel.keene at gmail.com> wrote:
> 
>>
>> Hmmm...when I try to add a reference to "Mono.SIMD.dll" in my application
>> settings, I'm getting a dialog warning me that it targets a newer version
>> of
>> .NET than the one my project is currently targeting. I'm currently
>> targeting
>> .NET 2.0...which version does the SIMD dll require? 3.0? Sorry for all
>> the
>> questions, but I can't find this info in the SIMD section of the docs.
>>
>> -L
>>
>>
>>
>> Rodrigo Kumpera wrote:
>> >
>> > Unfortunately no.
>> >
>> > On Wed, Aug 19, 2009 at 5:26 PM, LKeene <lionel.keene at gmail.com> wrote:
>> >
>> >>
>> >> Thanks for the reply Rodrigo,
>> >>
>> >> I see the SIMD docs...but are there any examples and sample code I can
>> >> look
>> >> at as well?
>> >>
>> >> -L
>> >>
>> >>
>> >> Rodrigo Kumpera wrote:
>> >> >
>> >> > Yes, just add the Mono.Simd.dll assembly to the referenced set in
>> VS.
>> >> > It must be fully functional under VS ad well, so you can even test
>> it
>> >> > without leaving your IDE.
>> >> >
>> >> >
>> >> > If you find it to be returning different results under VS/dotnet and
>> >> mono,
>> >> > please file a bug report.
>> >> >
>> >> > On Wed, Aug 19, 2009 at 3:53 PM, LKeene <lionel.keene at gmail.com>
>> wrote:
>> >> >
>> >> >>
>> >> >> Hello fellow Mono users,
>> >> >>
>> >> >> In a search for greater performance I'd like to convert some of the
>> >> >> numerically intensive blocks in my code to use the Mono.SIMD
>> >> >> instructions.
>> >> >> I'm currently writing my app in VS2008 and then running the code
>> >> >> generated
>> >> >> by VS2008 on the Mono runtime on Linux and Mac machines. Is there a
>> >> way
>> >> >> to
>> >> >> use the SIMD extensions offered by Mono but from within the VS2008
>> IDE
>> >> >> (i.e.
>> >> >> will I be able to compile from within VS if my code contains the
>> >> >> Mono.SIMD
>> >> >> usages)?
>> >> >>
>> >> >> Thanks in advance everyone,
>> >> >> -L
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Use-of-SIMD-in-VS2008-IDE--tp25049900p25049900.html
>> >> >> Sent from the Mono - General mailing list archive at Nabble.com.
>> >> >>
>> >> >> _______________________________________________
>> >> >> Mono-list maillist  -  Mono-list at lists.ximian.com
>> >> >> http://lists.ximian.com/mailman/listinfo/mono-list
>> >> >>
>> >> >
>> >> > _______________________________________________
>> >> > Mono-list maillist  -  Mono-list at lists.ximian.com
>> >> > http://lists.ximian.com/mailman/listinfo/mono-list
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Use-of-SIMD-in-VS2008-IDE--tp25049900p25051347.html
>> >> Sent from the Mono - General mailing list archive at Nabble.com.
>> >>
>> >> _______________________________________________
>> >> Mono-list maillist  -  Mono-list at lists.ximian.com
>> >> http://lists.ximian.com/mailman/listinfo/mono-list
>> >>
>> >
>> > _______________________________________________
>> > Mono-list maillist  -  Mono-list at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-list
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Use-of-SIMD-in-VS2008-IDE--tp25049900p25051773.html
>> Sent from the Mono - General mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Use-of-SIMD-in-VS2008-IDE--tp25049900p25052774.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list