Darwinbots Forum

Code center => Darwinbots3 => Topic started by: theblaze on October 21, 2011, 04:33:32 PM

Title: Devs clicky here
Post by: theblaze on October 21, 2011, 04:33:32 PM
http://apcmag.com/we_can_transform_single_thread_to_multithread_intel.htm
Title: Re: Devs clicky here
Post by: Numsgil on October 21, 2011, 05:27:59 PM
Intel was really pushing parallel computing stuff a year or two ago.  But they've been a bit quiet about it recently.

For DB3, I'm looking in to OpenCL, which basically means I can dump things to the GPU to calculate.  I'm pretty sure that a sim that could take 1-2 seconds per frame on the CPU could run at 60 FPS or better with a good graphics card installed churning through the calculations.  But I'm holding off doing any of that actual work until I have a sim up and running and can get some actual ideas about what parts of the sim are going to be slow (I'd assume the big three will be DNA, physics, and vision).
Title: Re: Devs clicky here
Post by: theblaze on October 27, 2011, 09:10:49 AM
ok
Title: Re: Devs clicky here
Post by: Botsareus on November 06, 2011, 10:26:17 AM
Ha, I was trolling Microsoft for a while with this idea. Sounds like I got some progress. Next we have to make sure we can run vb6 multi-threaded, that was my main idea...

This is kinda off topic but: Questions:

 How can I get my hands on "Speculative parallel threading" ?
 Can I recompile the vb6 application itself to run like this ?



I seen some good stuff with openGL but isn't it easier to work with OpenGL trough c++ if you are concerned about speed?
I thought the whole idea to go with c# was to simply take advantage of XNA...
Title: Re: Devs clicky here
Post by: Numsgil on November 06, 2011, 11:59:47 PM
How can I get my hands on "Speculative parallel threading" ?

Sounds like it was compiler technology, so you'd probably need to use the Intel compiler.  Assuming the article was referencing an existing feature of the intel compiler and not just a speculative future feature that hasn't been implemented yet.

Quote
Can I recompile the vb6 application itself to run like this ?

No.  At best you could write some code in C and call in to it via a DLL.

Quote
I seen some good stuff with openGL but isn't it easier to work with OpenGL trough c++ if you are concerned about speed?
I thought the whole idea to go with c# was to simply take advantage of XNA...

OpenCL and OpenGL are totally different things (other than the name, they have nothing in common).  OpenCL doesn't deal with graphics at all.  Instead, it's basically a language that you write general purpose code in so that it can run on the GPUs.
Title: Re: Devs clicky here
Post by: Botsareus on November 08, 2011, 02:48:31 PM
I am blind.  :D



Quote
Quote
Can I recompile the vb6 application itself to run like this ?
No.  At best you could write some code in C and call in to it via a DLL.

By "it" you mean vb6?
Title: Re: Devs clicky here
Post by: Numsgil on November 08, 2011, 04:08:01 PM
I mean you could write a DLL in C and, from your VB6 app, call that C code.  See something like this (http://www.developerfusion.com/article/1973/calling-a-c-dll-from-visual-basic/).
Title: Re: Devs clicky here
Post by: Botsareus on November 14, 2011, 03:37:33 PM
oh