2D3D-TI-FD-RTM-cuda
2D3D-TI-FD-RTM-cuda copied to clipboard
wrong if condition
for GPU kernel total threads spawned will be (nx X nz) only but in function cal_migration id=threadIdx.x+blockIdx.x*blockDim.x
if(id < nnx*nnz)
rather it should be
if(id < nx*nz)
file: Toa_gpu_2dtti_rtm_adcigs_1orderfunciton.cu
thanks, you are right.😁