<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Ananth&#039;s very own blog</title>
	<atom:link href="http://www.ananthonline.net/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ananthonline.net</link>
	<description>of .C#, .NET, GPUs and other assorted knick-knacks.</description>
	<lastBuildDate>Thu, 02 Sep 2010 12:05:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on OpenCL.Net published! by Vio</title>
		<link>http://www.ananthonline.net/blog/general/opencl-net-published/comment-page-1#comment-252</link>
		<dc:creator>Vio</dc:creator>
		<pubDate>Thu, 02 Sep 2010 12:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/blog/general/opencl-net-published#comment-252</guid>
		<description>Thank you for your answer,
I still have some question,is not very clear to me how to do the query.
I have created 2 DataParallelArray2D, one for each bitmap:

arrayNo1 = new DataParallelArray2D(provider, values) 
arrayNo2 = new DataParallelArray2D(provider, values2)

(where values and values2 are byte[,] variables containing the bitmap ).

So at this point I have to create the query which compares the 2 arrays( and returns true/false) but is not very clear to me how to do it...</description>
		<content:encoded><![CDATA[<p>Thank you for your answer,<br />
I still have some question,is not very clear to me how to do the query.<br />
I have created 2 DataParallelArray2D, one for each bitmap:</p>
<p>arrayNo1 = new DataParallelArray2D(provider, values)<br />
arrayNo2 = new DataParallelArray2D(provider, values2)</p>
<p>(where values and values2 are byte[,] variables containing the bitmap ).</p>
<p>So at this point I have to create the query which compares the 2 arrays( and returns true/false) but is not very clear to me how to do it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OpenCL.Net published! by ananth</title>
		<link>http://www.ananthonline.net/blog/general/opencl-net-published/comment-page-1#comment-251</link>
		<dc:creator>ananth</dc:creator>
		<pubDate>Wed, 01 Sep 2010 20:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/blog/general/opencl-net-published#comment-251</guid>
		<description>Yes, you can definitely compare two bitmaps. All you&#039;d need to do is to copy the data into a DataParallelArray2D using LockBits and Scan0 (look for Bitmap manipulation, you should find plenty of tips there) and then write a the comparison query as usual. Look at the Game of Life sample which, processes 2D images and extrapolate to compare two images like so: from p1 in image from p2 in image2 select (some similarity metric)  - would process corresponding pixels in both images. Hope that helps.</description>
		<content:encoded><![CDATA[<p>Yes, you can definitely compare two bitmaps. All you&#8217;d need to do is to copy the data into a DataParallelArray2D using LockBits and Scan0 (look for Bitmap manipulation, you should find plenty of tips there) and then write a the comparison query as usual. Look at the Game of Life sample which, processes 2D images and extrapolate to compare two images like so: from p1 in image from p2 in image2 select (some similarity metric)  &#8211; would process corresponding pixels in both images. Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OpenCL.Net published! by Vio</title>
		<link>http://www.ananthonline.net/blog/general/opencl-net-published/comment-page-1#comment-248</link>
		<dc:creator>Vio</dc:creator>
		<pubDate>Mon, 30 Aug 2010 11:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/blog/general/opencl-net-published#comment-248</guid>
		<description>Hi,
I have a question for you. In my current project at work place I have to compare bitmaps, and it has to be very fast so I am thinking of doing it on the GPU. Searching for solutions i came around Brahma.
My question is, can i compare 2 bitmaps on the GPU using this framework? And if so, cand u point me an example or something?I saw in the samples of the framework that u compared floats and some vectors.
Any help is really appreciated.
Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have a question for you. In my current project at work place I have to compare bitmaps, and it has to be very fast so I am thinking of doing it on the GPU. Searching for solutions i came around Brahma.<br />
My question is, can i compare 2 bitmaps on the GPU using this framework? And if so, cand u point me an example or something?I saw in the samples of the framework that u compared floats and some vectors.<br />
Any help is really appreciated.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OpenCL.Net published! by ananth</title>
		<link>http://www.ananthonline.net/blog/general/opencl-net-published/comment-page-1#comment-237</link>
		<dc:creator>ananth</dc:creator>
		<pubDate>Mon, 16 Aug 2010 19:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/blog/general/opencl-net-published#comment-237</guid>
		<description>AFAIK, C# 4.0 only has classes that allow creation of an expression tree from multi-line lambdas (BlockExpressions and stuff), but the C# 4.0 compiler will not accept a multiline lambda and implicitly convert it into an expression tree, which is what I envision.

&quot;The C# and Visual Basic compilers can generate expression trees only from expression lambdas (or single-line lambdas). It cannot parse statement lambdas (or multi-line lambdas). For more information about lambda expressions in C#, see Lambda Expressions (C# Programming Guide); for Visual Basic, see Lambda Expressions (Visual Basic).&quot;
from &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb397951.aspx&quot; rel=&quot;nofollow&quot;&gt;MSDN&lt;/a&gt;.

I did consider workarounds like the one outlined &lt;a href=&quot;http://blogs.msdn.com/b/mitsu/archive/2010/03/02/c-4-expressions-blocks-part-i.aspx&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, but dropped it for the time-being, opting to wait for the C# team to add it in, hopefully in C# 5.0.</description>
		<content:encoded><![CDATA[<p>AFAIK, C# 4.0 only has classes that allow creation of an expression tree from multi-line lambdas (BlockExpressions and stuff), but the C# 4.0 compiler will not accept a multiline lambda and implicitly convert it into an expression tree, which is what I envision.</p>
<p>&#8220;The C# and Visual Basic compilers can generate expression trees only from expression lambdas (or single-line lambdas). It cannot parse statement lambdas (or multi-line lambdas). For more information about lambda expressions in C#, see Lambda Expressions (C# Programming Guide); for Visual Basic, see Lambda Expressions (Visual Basic).&#8221;<br />
from <a href="http://msdn.microsoft.com/en-us/library/bb397951.aspx" rel="nofollow">MSDN</a>.</p>
<p>I did consider workarounds like the one outlined <a href="http://blogs.msdn.com/b/mitsu/archive/2010/03/02/c-4-expressions-blocks-part-i.aspx" rel="nofollow">here</a>, but dropped it for the time-being, opting to wait for the C# team to add it in, hopefully in C# 5.0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OpenCL.Net published! by Fahad</title>
		<link>http://www.ananthonline.net/blog/general/opencl-net-published/comment-page-1#comment-235</link>
		<dc:creator>Fahad</dc:creator>
		<pubDate>Mon, 16 Aug 2010 05:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/blog/general/opencl-net-published#comment-235</guid>
		<description>For multi-line lambda, have you checked C# 4.0? The dynamic languages are interpreted with the new LINQ Expressions V2.

-Fahad</description>
		<content:encoded><![CDATA[<p>For multi-line lambda, have you checked C# 4.0? The dynamic languages are interpreted with the new LINQ Expressions V2.</p>
<p>-Fahad</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on General by ananth</title>
		<link>http://brahma.ananthonline.net/forums/general/comment-page-1#comment-229</link>
		<dc:creator>ananth</dc:creator>
		<pubDate>Tue, 10 Aug 2010 15:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/?page_id=212#comment-229</guid>
		<description>Sure, have PM&#039;ed you my info. :)</description>
		<content:encoded><![CDATA[<p>Sure, have PM&#8217;ed you my info. <img src='http://www.ananthonline.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OpenCL.Net published! by ananth</title>
		<link>http://www.ananthonline.net/blog/general/opencl-net-published/comment-page-1#comment-228</link>
		<dc:creator>ananth</dc:creator>
		<pubDate>Tue, 10 Aug 2010 15:54:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/blog/general/opencl-net-published#comment-228</guid>
		<description>Yes, I am working on Brahma as I work on these bindings. Unfortunately, I spent a lot of time debating if I wanted to move Brahma to F# (to use quotations) - and delayed the release, but I&#039;ve decided it&#039;s not quite time yet. I can still do a lot with LINQ. :)

I only wish the C# team had seen it fit to add expression from multiline lambda support. If anyone reading this has pull with that team, I would urge you to help make it happen. Brahma can REALLY go places then.</description>
		<content:encoded><![CDATA[<p>Yes, I am working on Brahma as I work on these bindings. Unfortunately, I spent a lot of time debating if I wanted to move Brahma to F# (to use quotations) &#8211; and delayed the release, but I&#8217;ve decided it&#8217;s not quite time yet. I can still do a lot with LINQ. <img src='http://www.ananthonline.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I only wish the C# team had seen it fit to add expression from multiline lambda support. If anyone reading this has pull with that team, I would urge you to help make it happen. Brahma can REALLY go places then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on General by Andy</title>
		<link>http://brahma.ananthonline.net/forums/general/comment-page-1#comment-226</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 09 Aug 2010 02:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/?page_id=212#comment-226</guid>
		<description>Hey Ananth, This is Andy from the .Net User Group.  I&#039;ve got a possible speaking opportunity for you to talk about Brahma if you&#039;re interested.

Thanks,
-Andy</description>
		<content:encoded><![CDATA[<p>Hey Ananth, This is Andy from the .Net User Group.  I&#8217;ve got a possible speaking opportunity for you to talk about Brahma if you&#8217;re interested.</p>
<p>Thanks,<br />
-Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OpenCL.Net published! by tom berg</title>
		<link>http://www.ananthonline.net/blog/general/opencl-net-published/comment-page-1#comment-220</link>
		<dc:creator>tom berg</dc:creator>
		<pubDate>Thu, 05 Aug 2010 00:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/blog/general/opencl-net-published#comment-220</guid>
		<description>I&#039;ve been watching your work eagerly! Do you have Brahma using these bindings yet?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been watching your work eagerly! Do you have Brahma using these bindings yet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OpenCL.Net published! by serge</title>
		<link>http://www.ananthonline.net/blog/general/opencl-net-published/comment-page-1#comment-213</link>
		<dc:creator>serge</dc:creator>
		<pubDate>Thu, 29 Jul 2010 05:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ananthonline.net/blog/general/opencl-net-published#comment-213</guid>
		<description>Nice work man. Just what I was looking for. Thank you!</description>
		<content:encoded><![CDATA[<p>Nice work man. Just what I was looking for. Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
