33 #ifndef CUDA_DEVICE_CONSTANTS_CUH
34 #define CUDA_DEVICE_CONSTANTS_CUH
unsigned int u_source_index_size
size of the u source index
unsigned int nx
size of X dimension.
float fftDivider
normalization constant for 3D FFT.
float BonA_scalar
BonA value for homogeneous case.
Structure for CUDA parameters to be placed in constant memory. Only 32b values are used...
unsigned int slabSize
2D Slab size
unsigned int nxComplex
size of complex X dimension.
float rho0_sgx_scalar
dt / rho0_sgx in homogeneous case
unsigned int nzComplex
size of complex Z dimension.
unsigned int nz
size of Z dimension.
float fftDividerX
normalization constant for 1D FFT over X.
float rho0_scalar
rho0 in homogeneous case
unsigned int p_source_many
p source many
unsigned int u_source_mode
u source mode
unsigned int nElementsComplex
complex number of elements.
unsigned int p_source_index_size
size of the p_source mask
unsigned int slabSizeComplex
complex slab size.
float fftDividerY
normalization constant for 1D FFT over Y.
float rho0_sgy_scalar
dt / rho0_sgy in homogeneous case
unsigned int p_source_mode
p source mode
unsigned int u_source_many
u source many
unsigned int nyComplex
size of complex Y dimension.
unsigned int nElements
total number of elements.
unsigned int ny
size of Y dimension.
float rho0_sgz_scalar
dt / rho0_sgz in homogeneous case
float fftDividerZ
normalization constant for 1D FFT over Z.
float dt_rho0_scalar
dt * rho0 in homogeneous case
float absorb_tau_scalar
Absorb_tau value for homogeneous case.
float absorb_eta_scalar
Absorb_eta value for homogeneous case.
__host__ void SetUpCUDADeviceConstatns()
Set constant memory.