<?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: Parallel Computing Toolbox and Transducer as a sensor</title>
		<link>http://www.k-wave.org/forum/topic/parallel-computing-toolbox-and-transducer-as-a-sensor</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:47:14 +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/parallel-computing-toolbox-and-transducer-as-a-sensor" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Parallel Computing Toolbox and Transducer as a sensor"</title>
			<link>http://www.k-wave.org/forum/topic/parallel-computing-toolbox-and-transducer-as-a-sensor#post-5094</link>
			<pubDate>Tue, 02 Jun 2015 16:52:26 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5094@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Margot,&#60;/p&#62;
&#60;p&#62;I am having trouble reproducing your error. If you run the &#60;a href=&#34;&#34;&#62;Simulating B-mode Ultrasound Images Example&#60;/a&#62; changing &#60;code&#62;DATA_CAST&#60;/code&#62; to &#60;code&#62;&#38;#39;gpuArray-single&#38;#39;&#60;/code&#62;, do you get the same error? &#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mgt_p on "Parallel Computing Toolbox and Transducer as a sensor"</title>
			<link>http://www.k-wave.org/forum/topic/parallel-computing-toolbox-and-transducer-as-a-sensor#post-5084</link>
			<pubDate>Wed, 13 May 2015 14:35:45 +0000</pubDate>
			<dc:creator>mgt_p</dc:creator>
			<guid isPermaLink="false">5084@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad,&#60;/p&#62;
&#60;p&#62;I was trying to move simulations that run smoothly but slowly from the CPU to GPU using the Parallel Computing Toolbox.&#60;/p&#62;
&#60;p&#62;I get an error from checkFieldNames.m saying: &#60;/p&#62;
&#60;p&#62;Error using checkFieldNames (line 51)&#60;br /&#62;
number_elements is not a valid field for the structure sensor&#60;/p&#62;
&#60;p&#62;I assume that this check is not performed on CPU version since it runs.&#60;br /&#62;
Is there a way to fix or by-pass this?&#60;/p&#62;
&#60;p&#62;Thank you,&#60;/p&#62;
&#60;p&#62;Margot&#60;/p&#62;
&#60;p&#62;-------&#60;/p&#62;
&#60;p&#62;LINES:&#60;/p&#62;
&#60;p&#62;input_args = {'PMLInside', false,...&#60;br /&#62;
        'PlotSim', false,...&#60;br /&#62;
        'PMLSize', [PML_X, PML_Y, PML_Z], ...&#60;br /&#62;
        'DataCast', 'gpuArray-single'};&#60;/p&#62;
&#60;p&#62;    Transmits.Left.sensor_data = kspaceFirstOrder3D(kgrid,medium,...&#60;br /&#62;
                                                transducer1,...&#60;br /&#62;
                                                transducer1_receive,...&#60;br /&#62;
                                                input_args{:});&#60;/p&#62;
&#60;p&#62;DATA: &#60;/p&#62;
&#60;p&#62;kgrid = &#60;/p&#62;
&#60;p&#62;  kWaveGrid with properties:&#60;/p&#62;
&#60;p&#62;                   Nx: 409&#60;br /&#62;
                   Ny: 193&#60;br /&#62;
                   Nz: 130&#60;br /&#62;
                   dx: 1.5400e-04&#60;br /&#62;
                   dy: 1.5400e-04&#60;br /&#62;
                   dz: 1.5400e-04&#60;br /&#62;
               kx_vec: [409x1 double]&#60;br /&#62;
               ky_vec: [193x1 double]&#60;br /&#62;
               kz_vec: [130x1 double]&#60;br /&#62;
                    k: [409x193x130 double]&#60;br /&#62;
               kx_max: 2.0350e+04&#60;br /&#62;
               ky_max: 2.0294e+04&#60;br /&#62;
               kz_max: 2.0400e+04&#60;br /&#62;
                k_max: 2.0294e+04&#60;br /&#62;
                  dim: 3&#60;br /&#62;
           nonuniform: 0&#60;br /&#62;
              t_array: [1x3000 double]&#60;br /&#62;
                    x: [409x193x130 double]&#60;br /&#62;
                    y: [409x193x130 double]&#60;br /&#62;
                    z: [409x193x130 double]&#60;br /&#62;
                   kx: [409x193x130 double]&#60;br /&#62;
                   ky: [409x193x130 double]&#60;br /&#62;
                   kz: [409x193x130 double]&#60;br /&#62;
                x_vec: [409x1 double]&#60;br /&#62;
                y_vec: [193x1 double]&#60;br /&#62;
                z_vec: [130x1 double]&#60;br /&#62;
               x_size: 0.0630&#60;br /&#62;
               z_size: 0.0200&#60;br /&#62;
               y_size: 0.0297&#60;br /&#62;
                   dt: 3.0000e-08&#60;br /&#62;
                   Nt: 3000&#60;br /&#62;
    total_grid_points: 10261810&#60;/p&#62;
&#60;p&#62;medium = &#60;/p&#62;
&#60;p&#62;    sound_speed: [409x193x130 double]&#60;br /&#62;
        density: [409x193x130 double]&#60;br /&#62;
    alpha_coeff: 0.7500&#60;br /&#62;
    alpha_power: 1.5000&#60;br /&#62;
           BonA: 6&#60;br /&#62;
transducer1 = &#60;/p&#62;
&#60;p&#62;             number_elements: 128&#60;br /&#62;
               element_width: 1&#60;br /&#62;
              element_length: 84&#60;br /&#62;
             element_spacing: 0&#60;br /&#62;
                      radius: Inf&#60;br /&#62;
                    position: [1 33 23]&#60;br /&#62;
                 sound_speed: 1540&#60;br /&#62;
        transmit_apodization: 'Rectangular'&#60;br /&#62;
         receive_apodization: 'Tukey'&#60;br /&#62;
                input_signal: [1x162 double]&#60;br /&#62;
             active_elements: [128x1 double]&#60;br /&#62;
              focus_distance: 0.0403&#60;br /&#62;
    elevation_focus_distance: 0.0403&#60;br /&#62;
              steering_angle: 6.9079&#60;/p&#62;
&#60;p&#62;transducer1_receive = &#60;/p&#62;
&#60;p&#62;             number_elements: 128&#60;br /&#62;
               element_width: 1&#60;br /&#62;
              element_length: 84&#60;br /&#62;
             element_spacing: 0&#60;br /&#62;
                      radius: Inf&#60;br /&#62;
                    position: [1 33 23]&#60;br /&#62;
                 sound_speed: 1540&#60;br /&#62;
        transmit_apodization: 'Rectangular'&#60;br /&#62;
         receive_apodization: 'Tukey'&#60;br /&#62;
                input_signal: [1x162 double]&#60;br /&#62;
             active_elements: [128x1 double]&#60;br /&#62;
              focus_distance: 0.0400&#60;br /&#62;
    elevation_focus_distance: 0.0400&#60;br /&#62;
              steering_angle: 0
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
