Check error code from cudaOccupancyMaxActiveBlocksPerMultiprocessor #2172
Labels
Enhancement
Improve existing capability; will potentially require voting
Projects
Hey all,
It's possible inside
Kokkos_Cuda_Parallel.hpp
forblock.y = 0
in the following code, which can show up as an arithmetic divide-by-zero error.Is it possible to check the error code from
cudaOccupancyMaxActiveBlocksPerMultiprocessor
or verify thatcuda_get_opt_block_size
does not return 0 prior to the division?Thanks!
The text was updated successfully, but these errors were encountered: