unzvfu / cuda-fixnum

Extended-precision modular arithmetic library that targets CUDA.
MIT License
32 stars 7 forks source link

Ensure that device-side assertions are disabled in non-debug builds #10

Open unzvfu opened 4 years ago

unzvfu commented 4 years ago

From https://github.com/data61/cuda-fixnum/issues/23:

asserts in device code are surprisingly (i) compiled in even without debugging flags and (ii) somewhat expensive. They should be kept in for debug builds only.