Rtoax/2D3D-TI-FD-RTM-cuda

wrong if condition

Ashutosh-Londhe opened this issue · 1 comments

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

Rtoax commented

thanks, you are right.😁