libcudacxx icon indicating copy to clipboard operation
libcudacxx copied to clipboard

asserts within library code should be opt-in not opt-out

Open JAppleyard opened this issue 3 years ago • 0 comments

assert within device code is relatively expensive. While users can opt-in to disabling asserts by defining NDEBUG optimzied builds should not have to define this to get performant library code.

This would mirror libc++ which requires an opt-in: https://libcxx.llvm.org/docs/DesignDocs/DebugMode.html#id2

JAppleyard avatar Mar 04 '21 17:03 JAppleyard