eyalroz / cuda-api-wrappers

Thin, unified, C++-flavored wrappers for the CUDA APIs
BSD 3-Clause "New" or "Revised" License
768 stars 79 forks source link

Check overall dimensions are not too large to be expressed with our grid and block dimension limits #577

Open eyalroz opened 7 months ago

eyalroz commented 7 months ago

The launch config builder accepts overall dimensions using size_t value. But - those may exceed what CUDA supports. So, we need to check the values are supported, at least in debug mode, in the launch config builder code.