NVIDIA-Genomics-Research / GenomeWorks

SDK for GPU accelerated genome assembly and analysis
https://clara-parabricks.github.io/GenomeWorks/
Apache License 2.0
278 stars 76 forks source link

Add missing error checks to avoid silent errors #622

Closed ahehn-nv closed 3 years ago

ahehn-nv commented 3 years ago

Adding error checks after all kernel calls to avoid silent errors. This is especially important for cudaErrorNoKernelImageForDevice errors. Those errors happen when the kernels are launched on a GPU which does not match the architecture the code was compiled for and the runtime has cannot jit-compile the kernels due to missing or incompatible PTX code.

ahehn-nv commented 3 years ago

Good idea. I added it.