File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525#include " config.cuh"
2626#include < cuda/std/detail/__config>
2727
28- #if _LIBCUDACXX_STD_VER > 17 && _LIBCUDACXX_CUDA_API_VERSION < 1009000
28+ #if _LIBCUDACXX_STD_VER > 17 && _LIBCUDACXX_CUDA_API_VERSION < 1'009'000
2929# define STDEXEC_LIBCUDACXX_NEEDS_ATOMIC_WORAROUND () 1
3030#else
3131# define STDEXEC_LIBCUDACXX_NEEDS_ATOMIC_WORAROUND () 0
Original file line number Diff line number Diff line change 2121#include " __scope.hpp"
2222
2323#include < cstddef>
24- #include < memory>
2524#include < new>
2625#include < utility>
2726
@@ -84,7 +83,7 @@ namespace stdexec {
8483 STDEXEC_ATTRIBUTE (host, device) void __destroy () noexcept {
8584 auto __index = std::exchange (__index_, __variant_npos);
8685 if (__variant_npos != __index) {
87- ((_Is == __index ? std::destroy_at ( static_cast <_Ts *>(__get_ptr ())) : void (0 )), ...);
86+ ((_Is == __index ? static_cast <_Ts *>(__get_ptr ())-> ~_Ts ( ) : void (0 )), ...);
8887 }
8988 }
9089
You can’t perform that action at this time.
0 commit comments