fix illegal memory access in CUDA tile sort key building 09/5109/1
authorJim Phillips <jim@ks.uiuc.edu>
Fri, 19 Apr 2019 21:54:06 +0000 (16:54 -0500)
committerJim Phillips <jim@ks.uiuc.edu>
Fri, 19 Apr 2019 21:54:06 +0000 (16:54 -0500)
commit76f31c04434faff66afdda0356f7499cd11ed7bf
treea02604f1ff4a00a00b74754b01663b504cf63ec7
parent117f7b6cca7e92dab49517b9e7d3cbf14b01ade6
fix illegal memory access in CUDA tile sort key building

Catch out of range min and max in fillSortKeys kernel in cases
where patches are empty and hence min and max are not updated
from their initialized values of maxTileListLen+1 and 0.

Change-Id: I4b8d9e0cd75e81e456d764029a99b7c8c9100152
src/CudaTileListKernel.cu