[libc-commits] [PATCH] D159296: [libc] Support 'assert.h' on the GPU
Jon Chesterfield via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Aug 31 12:54:05 PDT 2023
JonChesterfield added a comment.
Instead of this bespoke locking stuff, how about
if (gpu::is_first_lane(mask)) {
report_assertion_failure();
abort();
} else {
endpgm();
}
?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159296/new/
https://reviews.llvm.org/D159296
More information about the libc-commits
mailing list