Skip to content

Commit

Permalink
include functions in gpu stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianshi Liu committed Jan 3, 2025
1 parent ae76eb0 commit 0e8cbe3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/gpu/specfem3D_gpu_cuda_method_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,12 @@ void FC_FUNC_(transfer_pml_displ_from_device,
void FC_FUNC_(transfer_pml_displ_to_device,
TRANSFER_PML_DISPL_TO_DEVICE)(int* size, realw* PML_displ_old, realw* PML_displ_new, long* Mesh_pointer) {}

void FC_FUNC_(transfer_wavefield_discontinuity_to_device,

Check warning on line 755 in src/gpu/specfem3D_gpu_cuda_method_stubs.c

View check run for this annotation

Codecov / codecov/patch

src/gpu/specfem3D_gpu_cuda_method_stubs.c#L755

Added line #L755 was not covered by tests
TRANSFER_WAVEFIELD_DISCONTINUITY_TO_DEVICE)(
int* size_point, int* size_face,
realw* displ_wd, realw* accel_wd,
realw* traction_wd, long* Mesh_pointer) {}

Check warning on line 759 in src/gpu/specfem3D_gpu_cuda_method_stubs.c

View check run for this annotation

Codecov / codecov/patch

src/gpu/specfem3D_gpu_cuda_method_stubs.c#L759

Added line #L759 was not covered by tests

void FC_FUNC_(transfer_b_rmemory_to_device,
TRANSFER_B_RMEMORY_TO_DEVICE)(long* Mesh_pointer,
realw* b_R_xx,realw* b_R_yy,realw* b_R_xy,
Expand Down Expand Up @@ -957,3 +963,14 @@ void FC_FUNC_(compute_seismograms_cuda,
int* ELASTIC_SIMULATION,
int* USE_TRICK_FOR_BETTER_PRESSURE) {}

//
// src/gpu/wavefield_discontinuity_cuda.cu
//

void FC_FUNC_(wavefield_discontinuity_add_traction_cuda,

Check warning on line 970 in src/gpu/specfem3D_gpu_cuda_method_stubs.c

View check run for this annotation

Codecov / codecov/patch

src/gpu/specfem3D_gpu_cuda_method_stubs.c#L970

Added line #L970 was not covered by tests
WAVEFIELD_DISCONTINUITY_ADD_TRACTION_CUDA)(int* size_points,
int* size_faces,
long* Mesh_pointer){}

Check warning on line 973 in src/gpu/specfem3D_gpu_cuda_method_stubs.c

View check run for this annotation

Codecov / codecov/patch

src/gpu/specfem3D_gpu_cuda_method_stubs.c#L973

Added line #L973 was not covered by tests



0 comments on commit 0e8cbe3

Please sign in to comment.