Skip to content

Commit d9c2084

Browse files
committed
updates variable names and comments for PML on GPU
1 parent 53dc8ad commit d9c2084

15 files changed

Lines changed: 484 additions & 182 deletions

src/gpu/compute_forces_acoustic_cuda.cu

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,20 +138,20 @@ TRACE("Kernel_2_acoustic");
138138
d_rhostore,
139139
mp->d_spec_to_pml,
140140
mp->ALPHA_MAX_PML,
141-
mp->d0_max,
141+
mp->d0_max_acoustic,
142142
mp->abscissa_norm,
143143
mp->nspec_pml_x,
144144
mp->nspec_pml_z,
145145
mp->deltat,
146146
mp->PML_dpotentialdxl_old,
147147
mp->PML_dpotentialdzl_old,
148148
mp->d_potential_old,
149-
mp->rmemory_acoustic_dux_dx,
150-
mp->rmemory_acoustic_dux_dz,
151-
mp->rmemory_acoustic_dux_dx2,
152-
mp->rmemory_acoustic_dux_dz2,
153-
mp->rmemory_pot_acoustic,
154-
mp->rmemory_pot_acoustic2,
149+
mp->d_rmemory_acoustic_dux_dx,
150+
mp->d_rmemory_acoustic_dux_dz,
151+
mp->d_rmemory_acoustic_dux_dx2,
152+
mp->d_rmemory_acoustic_dux_dz2,
153+
mp->d_rmemory_pot_acoustic,
154+
mp->d_rmemory_pot_acoustic2,
155155
mp->d_potential_dot_acoustic,
156156
mp->d_kappastore,
157157
mp->alphax_store,

src/gpu/compute_forces_viscoelastic_cuda.cu

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,17 @@ TRACE("Kernel_2");
297297
mp->d_muv,
298298
mp->simulation_type,
299299
mp->p_sv,
300-
mp->pml_boundary_conditions,
301-
mp->d_spec_to_pml);
300+
mp->d_spec_to_pml,
301+
mp->ALPHA_MAX_PML,
302+
mp->d0_max_elastic,
303+
mp->abscissa_norm,
304+
mp->nspec_pml_x,
305+
mp->nspec_pml_z,
306+
mp->deltat,
307+
mp->alphax_store,
308+
mp->alphaz_store,
309+
mp->betax_store,
310+
mp->betaz_store);
302311
} // PML
303312
}
304313
// backward/reconstructed wavefield

0 commit comments

Comments
 (0)