<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Mandelbrot in Parallel with C++/CLI</title><link>http://blogs.msdn.com/pfxteam/archive/2008/06/06/8579067.aspx</link><description>Since the release of the December 2007 CTP of Parallel Extensions, we've received several questions about whether Parallel Extensions can be used from C++/CLI.&amp;#160; In short, yes, it can! (It can be used with any .NET language, one of the beauties of</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Mandelbrot in Parallel with C++/CLI</title><link>http://blogs.msdn.com/pfxteam/archive/2008/06/06/8579067.aspx#9638040</link><pubDate>Sun, 24 May 2009 02:04:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9638040</guid><dc:creator>Riza Guntur Prakoso</dc:creator><description>&lt;p&gt;Hello there, actually I don't really understand about how to implement this OpenMP which from your code under pragma sentence in C++ it much like how CUDA and ATI Brook+ behave.&lt;/p&gt;
&lt;p&gt;Yes I've been using Visual C++ to do much of my work lately and I've already seen that OpenMP option in project properties.&lt;/p&gt;
&lt;p&gt;Do you know any other sources I can get to study OpenMP?&lt;/p&gt;
&lt;p&gt;Including steps to activate it in Visual Studio.&lt;/p&gt;
&lt;p&gt;I'm also curious if to activate OpenMP just by &amp;quot;setting the OpenMP Support value to Yes in the property pages for the project under Configuration Properties | C/C++ | Language. &amp;nbsp;Under Configuration Properties | General, you'll also need to set Common Language Runtime support to Common Language Runtime support (/clr). &lt;/p&gt;
&lt;p&gt;Now, on a for loop (like the one used to render the image), you can add an OpenMP pragma like:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;#pragma omp parallel for&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;for(int j=0; j&amp;lt;height; j++) { ... }&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;If it is like that I can try it immidiately.&lt;/p&gt;
&lt;p&gt;Thank you for all your answer.&lt;/p&gt;
</description></item><item><title>re: Mandelbrot in Parallel with C++/CLI</title><link>http://blogs.msdn.com/pfxteam/archive/2008/06/06/8579067.aspx#9638115</link><pubDate>Sun, 24 May 2009 03:12:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9638115</guid><dc:creator>toub</dc:creator><description>&lt;p&gt;You can learn more about OpenMP in Visual C++ at:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/tt15eb9t"&gt;http://msdn.microsoft.com/en-us/library/tt15eb9t&lt;/a&gt;(VS.80).aspx&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/magazine/cc163717.aspx"&gt;http://msdn.microsoft.com/en-us/magazine/cc163717.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Mandelbrot in Parallel with C++/CLI</title><link>http://blogs.msdn.com/pfxteam/archive/2008/06/06/8579067.aspx#9665941</link><pubDate>Sat, 30 May 2009 20:20:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9665941</guid><dc:creator>Riza Guntur Prakoso</dc:creator><description>&lt;p&gt;Thank you very much, it's a big help since when I try blindly by just adding #pragma omp parallel for all I get just a mighty slowdown&lt;/p&gt;
</description></item></channel></rss>