Watershed analysis algorithm implementation in CUDA and OpenACC
nvidia-docker build --tag=cudawatershed .
nvidia-docker run -it --privileged cudawatershed
echo '0' > /proc/sys/kernel/nmi_watchdog
./acc/acc_singlecore.exe ./TestData/dem1.tif dem1_acc_result.tif
./acc/acc_multicore.exe ./TestData/dem1.tif dem1_acc_result.tif
./acc/acc_gpu_35.exe ./TestData/dem1.tif dem1_acc_result.tif
./cuda_10.exe ./TestData/dem1.tif dem1_cuda_result.tif cpu_st ftm 0.01
./cuda_10.exe ./TestData/dem1.tif dem1_cuda_result.tif cpu_mt ftm 0.01
./cuda_10.exe ./TestData/dem1.tif dem1_cuda_result.tif gpu ftm 0.01
nvidia-docker rmi -f cudawatershed