<?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: Running GPU code from Matlab</title>
		<link>http://www.k-wave.org/forum/topic/running-gpu-code-from-matlab</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 02:30:31 +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/running-gpu-code-from-matlab" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Running GPU code from Matlab"</title>
			<link>http://www.k-wave.org/forum/topic/running-gpu-code-from-matlab#post-8178</link>
			<pubDate>Tue, 08 Jun 2021 14:53:13 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8178@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;It sounds like you might be mixing MATLAB / C++ versions. Can you check you have the latest (or at least the same) version of both the MATLAB code and the binaries?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kaius on "Running GPU code from Matlab"</title>
			<link>http://www.k-wave.org/forum/topic/running-gpu-code-from-matlab#post-8143</link>
			<pubDate>Thu, 29 Apr 2021 03:04:10 +0000</pubDate>
			<dc:creator>kaius</dc:creator>
			<guid isPermaLink="false">8143@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I am trying to run the 'example_us_beam_patterns.m' file on the GPU as suggested in the User's Manual (Ch. 4.5).  I have modified the kspaceFirstOrder3D to kspaceFirstOrder3DG.  When I click on the Run link, I get the attached error message.  I checked the binaries folder and I do have the 'kspaceFirstOrder-CUDA.exe' file in that folder but not the kspaceFirstOrder3D-CUDA.exe file.  Where can I download that file?  It does not exist in the &#60;a href=&#34;http://www.k-wave.org/download.php&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/download.php&#60;/a&#62; folder.&#60;/p&#62;
&#60;p&#62;Thanks for any help!&#60;/p&#62;
&#60;p&#62;Error message:&#60;/p&#62;
&#60;p&#62;Error using kspaceFirstOrder3DC (line 145)&#60;br /&#62;
The binary file kspaceFirstOrder3D-CUDA.exe could not be found in C:\Users\Acous\Documents\ket_files\k-Wave\binaries\. To use the C++ code, the C++ binaries for your operating system must be downloaded from&#60;br /&#62;
&#60;a href=&#34;http://www.k-wave.org/download.php&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/download.php&#60;/a&#62; and placed in the binaries folder.&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder3DG (line 64)&#60;br /&#62;
    sensor_data = kspaceFirstOrder3DC(varargin{:}, 'BinaryName', binary_name);&#60;/p&#62;
&#60;p&#62;Error in example_us_beam_patterns (line 181)&#60;br /&#62;
sensor_data = kspaceFirstOrder3DG(kgrid, medium, transducer, sensor, input_args{:});
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
