Skip to content

Commit 0e8cbe3

Browse files
author
Tianshi Liu
committed
include functions in gpu stubs
1 parent ae76eb0 commit 0e8cbe3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/gpu/specfem3D_gpu_cuda_method_stubs.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,12 @@ void FC_FUNC_(transfer_pml_displ_from_device,
752752
void FC_FUNC_(transfer_pml_displ_to_device,
753753
TRANSFER_PML_DISPL_TO_DEVICE)(int* size, realw* PML_displ_old, realw* PML_displ_new, long* Mesh_pointer) {}
754754

755+
void FC_FUNC_(transfer_wavefield_discontinuity_to_device,
756+
TRANSFER_WAVEFIELD_DISCONTINUITY_TO_DEVICE)(
757+
int* size_point, int* size_face,
758+
realw* displ_wd, realw* accel_wd,
759+
realw* traction_wd, long* Mesh_pointer) {}
760+
755761
void FC_FUNC_(transfer_b_rmemory_to_device,
756762
TRANSFER_B_RMEMORY_TO_DEVICE)(long* Mesh_pointer,
757763
realw* b_R_xx,realw* b_R_yy,realw* b_R_xy,
@@ -957,3 +963,14 @@ void FC_FUNC_(compute_seismograms_cuda,
957963
int* ELASTIC_SIMULATION,
958964
int* USE_TRICK_FOR_BETTER_PRESSURE) {}
959965

966+
//
967+
// src/gpu/wavefield_discontinuity_cuda.cu
968+
//
969+
970+
void FC_FUNC_(wavefield_discontinuity_add_traction_cuda,
971+
WAVEFIELD_DISCONTINUITY_ADD_TRACTION_CUDA)(int* size_points,
972+
int* size_faces,
973+
long* Mesh_pointer){}
974+
975+
976+

0 commit comments

Comments
 (0)