/clr /openMp

::: {style="direction:ltr;margin-top:0in;margin-left:0in;width:6.6312in"} ::: {style="direction:ltr;margin-top:0in;margin-left:0in;width:2.5986in"} /clr /openMp :::

::: {style="direction:ltr;margin-top:.0493in;margin-left:0in;width:1.6847in"} Tuesday, August 08, 2006

2:34 PM :::

::: {style="direction:ltr;margin-top:.0722in;margin-left:0in;width:6.6312in"} I've been working with C++/CLI and OpenMP lately. OpenMP is a multiprocessing facility for C++ and FORTRAN that is, as such things go, dead simple to use (this is one of those "power to shoot yourself in the foot" things). One line of code (#pragma omp parallel for) changed my CPU utilization from:


Now [that's]{style="font-style:italic"} what I'm talking about! Get those cores cooking!

Anyhow, OpenMP and C++/CLI are a sweet match: C++/CLI makes GUIs and strings and such .NET-easy and OpenMP unleashes the processors. Look for an upcoming article on DevX. ::: :::

::: {style="text-align:left"}  

Created with Microsoft Office OneNote 2007 (Beta)
One place for all your information :::