<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>k-Wave User Forum &#187; Topic: 2D C++/Cuda code?</title>
		<link>http://www.k-wave.org/forum/topic/2d-ccuda-code</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:32:17 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/2d-ccuda-code" rel="self" type="application/rss+xml" />

		<item>
			<title>NikiKeyz on "2D C++/Cuda code?"</title>
			<link>http://www.k-wave.org/forum/topic/2d-ccuda-code#post-5838</link>
			<pubDate>Tue, 21 Feb 2017 22:26:29 +0000</pubDate>
			<dc:creator>NikiKeyz</dc:creator>
			<guid isPermaLink="false">5838@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;2D CUDA/C++ would be nice.&#60;br /&#62;
I currently run thousands of simulations on 640x480 grid with 1700 time steps and one 2D simulation takes ~35s (gpuArray-single on GTX750Ti) which is fine if you don't need few thousands of them...&#60;br /&#62;
Great toolkit anyway! Thanks a lot!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ouelletn on "2D C++/Cuda code?"</title>
			<link>http://www.k-wave.org/forum/topic/2d-ccuda-code#post-3931</link>
			<pubDate>Tue, 24 Sep 2013 01:27:17 +0000</pubDate>
			<dc:creator>ouelletn</dc:creator>
			<guid isPermaLink="false">3931@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks Brad,&#60;br /&#62;
For my case it is mostly the number of simulations that need to be run, as there are multiple possible setups and imaging types I want to experiment with. I will likely be upgrading my hardware and just wanted to know if these were being developed before I make decision to purchase something that may not be necessary. Thanks again though.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "2D C++/Cuda code?"</title>
			<link>http://www.k-wave.org/forum/topic/2d-ccuda-code#post-3928</link>
			<pubDate>Thu, 19 Sep 2013 15:35:55 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">3928@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Andrew,&#60;/p&#62;
&#60;p&#62;We have no immediate plans to release 2D C++ codes, largely because the compute times using MATLAB or MATLAB+GPU are already quite short. Do you have an application in mind where minimising the compute time is critical?&#60;/p&#62;
&#60;p&#62;You could certainly run 2D simulations using the 3D C++ code using a small value for &#60;code&#62;Nz&#60;/code&#62; (e.g., &#60;code&#62;Nz = 3&#60;/code&#62;). You will need to duplicate your source (e.g., &#60;code&#62;source.p0&#60;/code&#62; or &#60;code&#62;source.p_mask&#60;/code&#62;) in the third dimension, and turn off the PML using the optional inputs &#60;code&#62;&#38;#39;PMLSize&#38;#39;, [10, 10, 1]&#60;/code&#62; and &#60;code&#62;&#38;#39;PMLAlpha&#38;#39;, [2, 2, 0]&#60;/code&#62;. However, this will definitely be slower than using an optimised 2D code due to the redundant calculations in the third dimension.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ouelletn on "2D C++/Cuda code?"</title>
			<link>http://www.k-wave.org/forum/topic/2d-ccuda-code#post-3925</link>
			<pubDate>Wed, 18 Sep 2013 22:50:19 +0000</pubDate>
			<dc:creator>ouelletn</dc:creator>
			<guid isPermaLink="false">3925@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I was just wondering if there is any plans to release a 2D version of the C++ code or Cuda code, or can this be done using an infinite plane approach along one dimensions? If my understanding is correct the 2D case should be a subset of the 3D, although I worry about making this assumption and do not know if it would be slowed down as compared to a 2d code implementation.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Andrew
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
