We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad88810 commit 1c009d2Copy full SHA for 1c009d2
libcudacxx/include/cuda/std/detail/libcxx/include/__cuda/barrier.h
@@ -1101,6 +1101,7 @@ __completion_mechanism __dispatch_memcpy_async_global_to_shared(_Group const & _
1101
#if __cccl_ptx_isa >= 800
1102
NV_IF_TARGET(NV_PROVIDES_SM_90, (
1103
const bool __can_use_complete_tx = __allowed_completions & uint32_t(__completion_mechanism::__mbarrier_complete_tx);
1104
+ _LIBCUDACXX_UNUSED_VAR(__can_use_complete_tx);
1105
_LIBCUDACXX_DEBUG_ASSERT(__can_use_complete_tx == (nullptr != __bar_handle), "Pass non-null bar_handle if and only if can_use_complete_tx.");
1106
if _LIBCUDACXX_CONSTEXPR_AFTER_CXX14 (_Align >= 16) {
1107
if (__can_use_complete_tx && __isShared(__bar_handle)) {
0 commit comments