35 #if defined(HAVE_CUDA) 41 #if defined(HAVE_CUDA) 55 #
if defined(HAVE_CUDA)
57 for (n = 0; n < nb; n++) {
58 if (!strcmp(boundary[n].bctype,
_SPONGE_)) {
59 fprintf(stderr,
"ERROR: Sponge BC not yet implemented on GPU.\n");
64 for (n = 0; n < nb; n++) {
65 if (!strcmp(boundary[n].bctype,
_SPONGE_)) {
76 #if defined(HAVE_CUDA)
Containts the structures and definitions for boundary condition implementation.
int BCSpongeSource(void *, int, int, int, int *, double *, double *, double *)
MPI related function definitions.
Contains function definitions for common array operations on GPU.
int SourceFunction(double *source, double *u, void *s, void *m, double t)
Some basic definitions and macros.
int(* SFunction)(double *, double *, void *, void *, double)
Structure containing the variables and function pointers defining a boundary.
void gpuArraySetValue(double *, int, double)
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _ArraySetValue_(x, size, value)
Structure of MPI-related variables.
Contains macros and function definitions for common array operations.