<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>analog feelings, digital world &#187; Visual Studio 2008</title>
	<atom:link href="http://notonlyzeroesandones.site40.net/tag/visual-studio-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://notonlyzeroesandones.site40.net</link>
	<description>code is the modern poetry ;)</description>
	<lastBuildDate>Mon, 05 Oct 2009 22:06:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Intellisense for CUDA in VS 2008</title>
		<link>http://notonlyzeroesandones.site40.net/2009/02/16/intellisense-for-cuda-in-vs-2008/</link>
		<comments>http://notonlyzeroesandones.site40.net/2009/02/16/intellisense-for-cuda-in-vs-2008/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 10:33:19 +0000</pubDate>
		<dc:creator>Maciek Talaska</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[CUDA]]></category>
		<category><![CDATA[Custom Build Rules]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://notonlyzeroesandones.site40.net/2009/02/16/intellisense-for-cuda-in-vs-2008/</guid>
		<description><![CDATA[In the previous post I have written about using CUDA from Visual Studio IDE. Syntax highlighting is very easy to achieve – because nVidia delivers files and information about enabling syntax highlighting for CUDA in CUDA SDK. The thing is, that when you start developing anything that uses CUDA, you feel like being back in [...]]]></description>
			<content:encoded><![CDATA[<p>In the previous post I have written about using CUDA from Visual Studio IDE. Syntax highlighting is very easy to achieve – because nVidia delivers files and information about enabling syntax highlighting for CUDA in CUDA SDK. The thing is, that when you start developing anything that uses CUDA, you feel like being back in the mid &#8216;90 – there is no Intellisense, no auto-completion and other features of modern IDEs that most of developers are used to. 5 sec googling and you got the <a href="http://www.newsami.com/580/visual-studios-intellisense-and-cu-files-a-simple-solution/">solution</a>. But hey&#8230; why doesn’t it work? Well I think it is because someone who wrote about it had special pack of Unix programs for Windows installed (<a href="http://www.cygwin.com/">Cygwin</a>). There are no “rm” or “cp” commands under Windows (at least on my copy of Windows they seem to not exist ;) The easiest way to make it work under any Windows is to replace:</p>
<blockquote><p>rm $(InputName).cu     <br />cp $(InputFileName) $(InputName).cu</p>
</blockquote>
<p>with:</p>
<blockquote><p>copy /Y $(InputFileName) $(InputName).cu</p>
</blockquote>
<p>That’s it. It should work now. And remember that you need to have both files (.c and .cu) in your solution (because the idea behind it is to generate .cu from .c, and compile only .cu). </p>
<p>Anyway, that shows how powerful the Custom Build Rules are, aren’t they?</p>
]]></content:encoded>
			<wfw:commentRss>http://notonlyzeroesandones.site40.net/2009/02/16/intellisense-for-cuda-in-vs-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Code -->
