Skip to content

Commit 5d4eb20

Browse files
Fix compiling with Cuda 13.1 (#444)
* Fix compiling with Cuda 13.1 * Use MDSPAN_IMPL_TRAIT * Update include/experimental/__p0009_bits/layout_stride.hpp Co-authored-by: Mark Hoemmen <mhoemmen@users.noreply.github.com> --------- Co-authored-by: Mark Hoemmen <mhoemmen@users.noreply.github.com>
1 parent 546d4dd commit 5d4eb20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/experimental/__p0009_bits/layout_stride.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ struct layout_stride {
221221

222222
MDSPAN_TEMPLATE_REQUIRES(
223223
class IntegralType,
224-
(std::is_convertible<IntegralType, typename extents_type::index_type>::value)
224+
(MDSPAN_IMPL_TRAIT(std::is_convertible, IntegralType, typename extents_type::index_type))
225225
)
226226
MDSPAN_INLINE_FUNCTION
227227
// Need to avoid zero length c-array

0 commit comments

Comments
 (0)