Skip to content

Commit

Permalink
Trap in complete_tx in arrive_tx tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ahendriksen committed Sep 11, 2023
1 parent 0a6ef21 commit b584b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ void mbarrier_complete_tx(
"r"(transaction_count)
: "memory");
} else {
// When arriving on non-shared barriers, we drop the transaction count
// update. The barriers do not keep track of transaction counts.
__trap();
}
), NV_ANY_TARGET, (
// On architectures pre-SM90 (and on host), we drop the transaction count
// update. The barriers do not keep track of transaction counts.
__trap();
)
);
}
Expand Down

0 comments on commit b584b32

Please sign in to comment.