Skip to content

Commit a2e6e7d

Browse files
committed
try annotating __throw_assertion_failure with __host__ __device__ for clang
1 parent 66bd1a4 commit a2e6e7d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/stdexec/__detail/__config.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@ namespace STDEXEC
839839
struct __assertion_failure
840840
{};
841841

842+
STDEXEC_ATTRIBUTE(noreturn, host, device)
842843
inline void __throw_assertion_failure()
843844
{
844845
STDEXEC_THROW(__assertion_failure{});

0 commit comments

Comments
 (0)