data61 / cuda-fixnum

Extended-precision modular arithmetic library that targets CUDA.
Other
41 stars 28 forks source link

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

Open unzvfu opened 6 years ago

unzvfu commented 6 years ago

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.

unzvfu commented 4 years ago

Follow up in https://github.com/unzvfu/cuda-fixnum/issues/10.