oneDPL
oneDPL copied to clipboard
`assert` call used in Kernel code.
assert call used in Kernel code: required to remove it :
drop_view_simple(_R __rng, _Size __size) : __r(__rng), __n(__size) { assert(__n >= 0 && __n <= __r.size()); }
Link to oneDPL source code: https://github.com/uxlfoundation/oneDPL/blob/2e31d5c4bcee748d9fb432e97558d67c8893baef/include/oneapi/dpl/pstl/utils_ranges.h#L381
Is it in the tests or in the library itself?
It's in oneDPL library code.