<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>GPUBrasil &#187; Uncategorized</title>
	<atom:link href="http://gpubrasil.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://gpubrasil.com</link>
	<description>Porque nós ficamos com as galinhas.</description>
	<lastBuildDate>Sat, 07 Aug 2010 04:41:05 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gpubrasil.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/da575ef40bb222b2f66e657599f35884?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>GPUBrasil &#187; Uncategorized</title>
		<link>http://gpubrasil.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gpubrasil.com/osd.xml" title="GPUBrasil" />
	<atom:link rel='hub' href='http://gpubrasil.com/?pushpress=hub'/>
		<item>
		<title>Dicas instalação do SDK CUDA 2.3 no UBUNTU 9.10</title>
		<link>http://gpubrasil.com/2009/11/11/dicas-instalacao-do-sdk-cuda-2-3-no-ubuntu-9-10/</link>
		<comments>http://gpubrasil.com/2009/11/11/dicas-instalacao-do-sdk-cuda-2-3-no-ubuntu-9-10/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 13:06:25 +0000</pubDate>
		<dc:creator>losferreira</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gpubrasil.com/?p=198</guid>
		<description><![CDATA[PROBLEMA: erro ao compilar o SDK no UBUNTU 9.10 por causa da versão do gcc SOLUÇÃO: 1) sudo apt-get install libc6-dev-i386 2) sudo apt-get install build-essential libglut3-dev gcc-4.3 g++-4.3 -y 3) sudo update-alternatives &#8211;install /usr/bin/gcc gcc /usr/bin/gcc-4.3 60 &#8211;slave /usr/bin/g++ g++ /usr/bin/g++-4.3 Mude o link para que o compilador default do sistema seja o gcc-4.3: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gpubrasil.com&amp;blog=9721039&amp;post=198&amp;subd=gpubrasil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PROBLEMA: erro ao compilar o SDK no UBUNTU 9.10 por causa da versão do gcc</p>
<p>SOLUÇÃO:<br />
1) sudo apt-get install libc6-dev-i386<br />
2) sudo apt-get install build-essential libglut3-dev gcc-4.3 g++-4.3 -y<br />
3) sudo update-alternatives &#8211;install /usr/bin/gcc gcc /usr/bin/gcc-4.3 60 &#8211;slave /usr/bin/g++ g++ /usr/bin/g++-4.3</p>
<p>Mude o link para que o compilador default do sistema seja o gcc-4.3:<br />
sudo rm -d /usr/bin/gcc<br />
sudo ln -s /usr/bin/gcc-4.3 /usr/bin/gcc<br />
Se precisar voltar para o gcc-4.4, basta trocar 4.3 por 4.4 no comando acima.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gpubrasil.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gpubrasil.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gpubrasil.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gpubrasil.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gpubrasil.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gpubrasil.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gpubrasil.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gpubrasil.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gpubrasil.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gpubrasil.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gpubrasil.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gpubrasil.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gpubrasil.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gpubrasil.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gpubrasil.com&amp;blog=9721039&amp;post=198&amp;subd=gpubrasil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gpubrasil.com/2009/11/11/dicas-instalacao-do-sdk-cuda-2-3-no-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2c67e36a12b682c4f0cf237fbe45b70f?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">losferreira</media:title>
		</media:content>
	</item>
		<item>
		<title>Vídeo: tecnologia GPU</title>
		<link>http://gpubrasil.com/2009/11/04/video-tecnologia-gpu/</link>
		<comments>http://gpubrasil.com/2009/11/04/video-tecnologia-gpu/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 15:06:13 +0000</pubDate>
		<dc:creator>Labaki</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gpubrasil.com/?p=196</guid>
		<description><![CDATA[Ótimo vídeo mostrando as principais ferramentas da tecnologia GPGPU. Trata-se da palestra de abertura da GPU Technology Conference, que aconteceu em San Jose de 30 de setembro a 2 de outubro deste ano. Download: http://www.nvidia.com/content/GTC/videos/GTC09-1412.flv Palestrante: Will Ramey, gerente de produto da NVidia. Conteúdo postado por Luís Ramirez na lista GPUBrasil.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gpubrasil.com&amp;blog=9721039&amp;post=196&amp;subd=gpubrasil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Ótimo vídeo mostrando as principais ferramentas da tecnologia GPGPU. Trata-se da palestra de abertura da GPU Technology Conference, que aconteceu em San Jose de 30 de setembro a 2 de outubro deste ano.</p>
<p style="text-align:justify;">Download: <a href="http://www.nvidia.com/content/GTC/videos/GTC09-1412.flv" target="_blank">http://www.nvidia.com/content/GTC/videos/GTC09-1412.flv</a></p>
<p style="text-align:justify;">Palestrante: Will Ramey, gerente de produto da NVidia.</p>
<p style="text-align:right;">Conteúdo postado por <span style="color:#008000;"><strong>Luís Ramirez</strong></span> na lista <a href="http://groups.google.com.br/group/gpubrasil" target="_blank">GPUBrasil</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gpubrasil.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gpubrasil.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gpubrasil.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gpubrasil.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gpubrasil.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gpubrasil.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gpubrasil.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gpubrasil.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gpubrasil.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gpubrasil.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gpubrasil.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gpubrasil.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gpubrasil.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gpubrasil.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gpubrasil.com&amp;blog=9721039&amp;post=196&amp;subd=gpubrasil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gpubrasil.com/2009/11/04/video-tecnologia-gpu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.nvidia.com/content/GTC/videos/GTC09-1412.flv" length="259744436" type="video/x-flv" />
	
		<media:content url="http://1.gravatar.com/avatar/b0ea1e9e7746ea823e164457c495d20c?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Labaki</media:title>
		</media:content>
	</item>
		<item>
		<title>Programando CUDA pelo NetBeans</title>
		<link>http://gpubrasil.com/2009/10/02/programando-cuda-pelo-netbeans/</link>
		<comments>http://gpubrasil.com/2009/10/02/programando-cuda-pelo-netbeans/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 20:05:51 +0000</pubDate>
		<dc:creator>Labaki</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gpubrasil.wordpress.com/?p=43</guid>
		<description><![CDATA[Introdução A plataforma CUDA (Compute Unified Device Architecture), da NVIDIA, é uma plataforma integrada software-hardware para desenvolvimento de aplicações de computação de uso geral utilizando os processadores gráficos (GPUs) da NVIDIA como co-processadores para processamento paralelo de longas cadeias de dados de elevada intensidade aritmética, casos em que há significativo ganho de desempenho com relação [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gpubrasil.com&amp;blog=9721039&amp;post=43&amp;subd=gpubrasil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;">Introdução</span></strong></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">A plataforma CUDA (Compute Unified Device Architecture), da NVIDIA, é uma plataforma integrada software-hardware para desenvolvimento de aplicações de computação de uso geral utilizando os processadores gráficos (GPUs) da NVIDIA como co-processadores para processamento paralelo de longas cadeias de dados de elevada intensidade aritmética, casos em que há significativo ganho de desempenho com relação às CPUs. Essa plataforma funciona com todas as GPUs a partir da série G80 (Por exemplo: GeForce 8300, GeForce 8600GT, GeForce 8800GTX, GT260, GT280, GT295, etc. Ver lista completa no <a style="text-decoration:none;" href="http://www.nvidia.com.br/page/home.html" target="NEW"><span style="color:#77cc00;">site da NVIDIA</span></a>).</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">O software CUDA pode ser livremente baixado do site da NVIDIA, disponível para as plataformas Windows, OSX e Linux.</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Na plataforma Windows, o software deve ser usado integrado ao MS Visual Studio 2005 (Obs: o MS Visual Studio 2008 não funciona bem com a CUDA). Infelizmente o software não funciona com a versão grátis do MSVS, o Visual Studio Express.</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Nos sistemas Linux o software CUDA funciona bem se utilizado com terminais de texto, na linha-de-comando, mas alguns usuários ressentem-se da ausência de um ambiente gráfico de desenvolvimento. Os dois principais ambientes gráficos disponíveis são o ECLIPSE e o NetBeans. Apresentarei a seguir um guia passo-a-passo para a configuração do Netbeans 6.5.1 para o desenvolvimento de aplicações para a plataforma CUDA.</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Supondo que o interessado já tem o software CUDA instalado na sua máquina, na distribuição Linux Ubuntu 8.10 (senão, <a style="text-decoration:none;" href="http://www.fem.unicamp.br/%7Elabaki/GPU/Aprenda/instalacaocuda.html"><span style="color:#77cc00;">veja como</span></a>).</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;"> </span></p>
<p style="text-align:justify;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Instalação do Netbeans 6.5.1</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Instalar o JDK (Java Development Kit) versão 6 ou superior (site da <a style="text-decoration:none;" href="http://www.sun.com/" target="NEW"><span style="color:#77cc00;">Sun Microsystems</span></a>). No ubuntu basta usar o instalador Synaptic.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Instalar o Netbeans 6.5.1.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Rodar o Netbeans e configurá-lo como descrito a seguir (<a style="text-decoration:none;" href="http://forums.nvidia.com/index.php?s=2c70f675b1cfa2bb89b2516413b80d72&amp;showtopic=57297&amp;pid=466657&amp;mode=threaded&amp;start=#entry466657" target="NEW"><span style="color:#77cc00;">texto original</span></a>).</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;"> </span></p>
<p style="text-align:justify;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Fazendo o editor reconhecer a extensão .cu</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Navegue até</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">Menu</span></strong><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">-&gt;Ferramentas-&gt;Opções</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;Miscelânea&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Selecione a aba &#8220;Arquivos&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">4.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;Novo&#8230;&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">5.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Abrir-se-á uma janela com um campo intitulado &#8220;Extensão de arquivo:&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">6.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Digite &#8220;cu&#8221; (sem as aspas) no espaço em branco e clique no botão &#8220;OK&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">7.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Em seguida escolha a opção &#8220;Arquivos C (text/x-c)&#8221; (sem as aspas) na lista intitulada &#8220;Tipo de arquivo associado (MIME)&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">8.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;OK&#8221;.</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;"> </span></p>
<p style="text-align:justify;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Fazendo o editor utilizar o compilador nvcc</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Navegue até</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">Menu</span></strong><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">-&gt;Ferramentas-&gt;Opções</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;C/C++&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Seleciona a aba &#8220;Outro&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">4.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique o botão &#8220;Editar&#8221; ao lado da lista &#8220;Extensões arquivo C:&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">5.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Abrir-se-á uma janela intitulada &#8220;Lista de extensões&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">6.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Digite &#8220;cu&#8221; (sem as aspas) no campo intitulado &#8220;Extensão&#8221; e clique no botão &#8220;Adicionar&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">7.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Em seguida clique no botão &#8220;OK&#8221;. </span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">8.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Navegue até</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">Menu</span></strong><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">-&gt;Ferramentas-&gt;Opções</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">9.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;C/C++&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">10.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Selecione a aba &#8220;Ferramentas de construção&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">11.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;Adicionar&#8221; da lista &#8220;Grupo de ferramentas&#8221;</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Abrir-se-á uma janela intitulada &#8220;Adicionar nova coleção de ferramentas&#8221;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">12.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;Procurar&#8221; e navegue até a pasta onde o nvcc está instalado:</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">/usr/local/cuda/Bin</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">13.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Selecione &#8220;GNU&#8221; na lista intitulada &#8220;Família do grupo de ferramentas&#8221;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">14.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Digite &#8220;nvcc&#8221; (sem as aspas) no campo intitulado &#8220;Nome do grupo de ferramentas&#8221;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">15.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;OK&#8221;, fechando a janela &#8220;Adicionar nova coleção de ferramentas&#8221;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">16.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;OK&#8221;, fechando a janela &#8220;Opções&#8221;.</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;"> </span></p>
<p style="text-align:justify;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Abrindo e configurando um projeto CUDA</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Navegue até</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">Menu</span></strong><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">-&gt;Arquivo-&gt;Novo projeto</span></strong></p>
<p style="text-align:justify;text-indent:35.4pt;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Abrir-se-á a janela intitulada &#8220;Novo Projeto&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Selecione a opção &#8220;C/C++&#8221; da lista &#8220;Categorias:&#8221; e a opção &#8220;Projeto C/C++ a partir de código existente&#8221; na lista &#8220;Projetos&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique o botão &#8220;Próximo&gt;&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">4.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">A janela se alterará, aparecendo o campo intitulado &#8220;Ferramenta de construção&#8221; com a pergunta &#8220;Como você constrói o código?&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">5.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Selecione a opção &#8220;Usando um makefile existente&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">6.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Em seguida dê um clique no botão &#8220;Procurar&#8230;&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">7.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Navegue até a pasta de um projeto do NVIDIA_CUDA_SDK. Por exemplo,</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">/home/seu-nome/NVIDIA_CUDA_SDK/projects/clock</span></strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">, </span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">selecione</span><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;"> o arquivo &#8220;Makefile&#8221; e clique no botão &#8220;Selecionar&#8221;, voltando à janela anterior;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">8.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;Próximo&gt;&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">9.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">A janela se alterará, aparecendo o campo intitulado &#8220;Ações de construção&#8221;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">10.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">No campo &#8220;Diretório de trabalho:&#8221; deve estar o caminho para o diretório onde está o arquivo &#8220;Makefile&#8221; do projeto. Pode-se tanto digitar o caminho diretamente no campo apropriado quanto navegar até o diretório dando-se um clique no botão &#8220;Procurar&#8230;&#8221;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">11.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">No campo &#8220;Comando Construir:&#8221; deve estar o comando que invoca o compilador. O sistema inclui automaticamente a linha de comando &#8220;</span><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">make</span></strong><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;"> -f Makefile</span></strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">&#8220;, que compila o programa no modo &#8220;release&#8221; usando o Makefile do projeto. Caso se deseje utilizar o emulador de GPU deve-se substituir a linha de comando por &#8220;</span><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">make</span></strong><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;"> emu=1 -f Makefile</span></strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">&#8220;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">12.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">No campo &#8220;Comando Limpar:&#8221; deve estar o comando &#8220;</span><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">make</span></strong><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;"> -f Makefile clean</span></strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">&#8220;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">13.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">No campo &#8220;Resultado da construção:&#8221; deve estar o caminho do arquivo executável a ser gerado pelo compilador. Pode-se digitar o caminho ou utilizar o botão &#8220;Procurar&#8221; para navegar até a pasta do programa-objeto, e então digitar o nome do arquivo executável no campo &#8220;File name:&#8221;, clicando no botão &#8220;Selecionar&#8221; em seguida;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">14.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique então no botão &#8220;Proximo &gt;&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">15.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">A janela se alterará, aparecendo o campo intitulado &#8220;Arquivos de código-fonte&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">16.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Abra a lista intitulada &#8220;Tipos de arquivo a ser adicionado ao projeto:&#8221; e selecione o penúltimo item, que deve conter uma lista semelhante a:</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">.cpp .cc .c++ .cxx .C .mm .c .i .m .cu .h .H .hpp .hxx .SUNWCCh .tcc .f .F .f90 .F90 .f95 .F95 .f03 .F03 .for .il .mod</span></strong></p>
<p style="text-align:justify;text-indent:35.4pt;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Nota: observe que a extensão &#8220;</span><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">.cu&#8221; faz parte da lista;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">17.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique então no botão &#8220;Proximo &gt;&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">18.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">A janela se alterará, aparecendo o campo intitulado &#8220;Configuração da assistência a código&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">19.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Selecione a opção &#8220;Configuração automática&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">20.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique então no botão &#8220;Proximo &gt;&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">21.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">A janela se alterará, aparecendo o campo intitulado &#8220;Nome e local do projeto&#8221;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">22.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Deixe como estão os campos &#8220;Nome do projeto:&#8221;, &#8220;Localização do projeto:&#8221; e &#8220;Pasta do projeto:&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">23.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Ative a seleção &#8220;Definir como projeto principal.&#8221;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">24.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique então no botão &#8220;Finalizar&#8221;.</span></p>
<p style="margin-left:18pt;text-align:justify;text-indent:17.4pt;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Seu projeto aparecerá então como uma árvore de diretórios na janela à esquerda do Netbeans;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">25.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique com o botão direito do mouse no nome do projeto (clock_1) e selecione a opção &#8220;Propriedades&#8221;, que é a mais de  baixo.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">26.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Abrir-se-á a janela intitulada &#8220;Propriedades do projeto -clock_1&#8243;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">27.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique a opção &#8220;Construir&#8221; da janela &#8220;Categorias&#8221;, à esquerda;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">28.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Agora selecione &#8220;nvcc&#8221; na lista intitulada &#8220;Coleção de ferramentas&#8221;, do lado direito;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">29.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Abra a opção &#8220;Construir&#8221; da árvore de Categorias, clicando na seta à esquerda da palavra &#8220;Construir&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">30.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Agora clique na palavra &#8220;Make&#8221; abaixo da palavra &#8220;Construir&#8221;, e ao lado direito aparecerão as opções de Diretório de trabalho, Comando construir, Comando limpar, e Resultado da construção, já vistos na configuração inicial do projeto. Você poderá, por exemplo, alterar a linha de comando de Construir para que possa ou gerar o código final, ou usar o emulador, ou usar o debug, etc., como convenha;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">31.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique agora a palavra &#8220;Executar&#8221; na lista de &#8220;Categorias&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">32.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">No campo &#8220;Executar diretório&#8221; deverá haver o caminho completo para o arquivo executável a ser gerado pelo Make.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">33.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">No campo &#8220;Ambiente&#8221; deverão ser incluidas as variáveis PATH e LD_LIBRARY_PATH da seguinte forma:</span></p>
<p style="margin-left:72pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">a.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;&#8230;&#8221; à direita da opção &#8220;Ambiente&#8221;. Abrir-se-á uma janela intitulada &#8220;Default &#8211; Ambiente&#8221;;</span></p>
<p style="margin-left:72pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">b.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique uma vez no botão &#8220;Adicionar&#8221;. Aparecerá uma linha vazia na tabela com as colunas &#8220;Nome&#8221; e &#8220;Valor&#8221;;</span></p>
<p style="margin-left:72pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">c.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Digite &#8220;PATH&#8221; (sem aspas) no campo &#8220;Nome&#8221; e &#8220;$PATH:/usr/local/cuda/lib&#8221; no campo &#8220;Valor&#8221;;</span></p>
<p style="margin-left:72pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">d.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique novamente no botão &#8220;Adicionar&#8221; para acrescentar nova linha à tabela e preencha-a da seguinte forma:</span></p>
<p style="margin-left:72pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">e.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Digite &#8220;</span><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">LD_LIBRARY_PATH</span></strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">&#8221; (sem aspas) no campo &#8220;Nome&#8221; e </span><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#993366;">“$LD_LIBRARY_PATH:/usr/local/cuda/lib</span></strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">&#8221; no campo &#8220;Valor&#8221; e clique no botão &#8220;OK&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">34.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">A opção &#8220;Construir primeiro&#8221; deve estar selecionada;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">35.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">No campo &#8220;Tipo de console&#8221;, selecione a opção &#8220;Terminal externo&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">36.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">No campo &#8220;Tipo de terminal&#8221;, selecione a opção &#8220;Gnome Terminal&#8221;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">37.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Clique no botão &#8220;OK&#8221;.</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">38.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Pressione a tecla F6 para construir e executar o projeto &#8220;clock&#8221;;</span></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">39.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Deve abrir-se uma janela de texto e aparecer as seguintes mensagens:</span></p>
<p style="margin-left:18pt;text-align:justify;line-height:150%;"><strong><span style="font-size:9pt;line-height:150%;font-family:&quot;color:#993366;" lang="EN-US">==============================================</span></strong></p>
<p style="margin-left:18pt;text-align:justify;line-height:150%;"><strong><span style="font-size:9pt;line-height:150%;font-family:&quot;color:#993366;" lang="EN-US">Test PASSED</span></strong></p>
<p style="margin-left:18pt;text-align:justify;line-height:150%;"><strong><span style="font-size:9pt;line-height:150%;font-family:&quot;color:#993366;" lang="EN-US">time</span></strong><strong><span style="font-size:9pt;line-height:150%;font-family:&quot;color:#993366;" lang="EN-US"> = 810000</span></strong></p>
<p style="margin-left:18pt;text-align:justify;line-height:150%;"><strong><span style="font-size:9pt;line-height:150%;font-family:&quot;color:#993366;" lang="EN-US"> </span></strong></p>
<p style="margin-left:18pt;text-align:justify;line-height:150%;"><strong><span style="font-size:9pt;line-height:150%;font-family:&quot;color:#993366;" lang="EN-US">Press ENTER to exit&#8230;</span></strong></p>
<p style="margin-left:18pt;text-align:justify;line-height:150%;"><strong><span style="font-size:9pt;line-height:150%;font-family:&quot;color:#993366;">==============================================</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">40.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Ao se pressionar a tecla ENTER deve aparecer a seguinte mensagem:</span></p>
<p style="text-align:justify;text-indent:18pt;line-height:200%;"><strong><span style="font-size:9pt;line-height:200%;font-family:&quot;color:#993366;">[Pressione Enter para fechar a janela]</span></strong></p>
<p style="margin-left:36pt;text-align:justify;text-indent:-18pt;line-height:200%;"><!--[if !supportLists]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">41.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Pressione a tecla ENTER novamente e a janela se fechará.</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Parabéns!!! Você acaba de configurar seu IDE Netbeans para compilar e executar programas CUDA.</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;"> </span></p>
<p style="text-align:justify;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Nota</span></strong></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Ao criar um novo projeto, siga a recomendação da NVIDIA: Copie o conteúdo do diretório &#8220;template&#8221; que está no diretório &#8220;projects&#8221; do NVIDIA_CUDA_SDK num novo diretório criado para o novo projeto. Em seguida troque os nomes dos arquivos e edite o conteúdo do &#8220;Makefile&#8221; para adequá-los ao novo projeto.</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;"> </span></p>
<p style="text-align:justify;line-height:200%;"><strong><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">O que ainda pode ser feito</span></strong></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Configurar o sistema para gerar automaticamente o Makefile dos novos projetos</span></p>
<p style="text-align:justify;line-height:200%;"><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;"> </span></p>
<p><span style="font-size:10pt;line-height:200%;font-family:Arial;color:#5f5f5f;">Parte ou todo esse roteiro não funcionou pra você? Deixe comentário!<br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gpubrasil.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gpubrasil.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gpubrasil.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gpubrasil.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gpubrasil.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gpubrasil.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gpubrasil.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gpubrasil.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gpubrasil.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gpubrasil.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gpubrasil.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gpubrasil.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gpubrasil.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gpubrasil.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gpubrasil.com&amp;blog=9721039&amp;post=43&amp;subd=gpubrasil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gpubrasil.com/2009/10/02/programando-cuda-pelo-netbeans/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b0ea1e9e7746ea823e164457c495d20c?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Labaki</media:title>
		</media:content>
	</item>
	</channel>
</rss>