[Openmp-commits] [PATCH] D95820: [OpenMP] Add bounds to num_teams clause (OpenMP 5.1)
Hongtao Yu via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Feb 12 16:41:29 PST 2021
hoy added inline comments.
================
Comment at: openmp/runtime/test/teams/kmp_num_teams.c:68
+ }
+ if (a != nteams * nthreads) {
+ fprintf(stderr, "error: a (%d) != nteams * nthreads (%d)\n", a,
----------------
Hello, I'm wondering if `nteams` could have an uninitialized use here. It is defined conditionally at line 41. I was seeing `nteams` had a random value. This happened in a very specific testing environment and sorry I cannot provide you a repro. Thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95820/new/
https://reviews.llvm.org/D95820
More information about the Openmp-commits
mailing list