[Openmp-commits] [openmp] [OpenMP] Fix td_tdg_task_id underflow when taskloop and taskgraph (PR #150877)
via Openmp-commits
openmp-commits at lists.llvm.org
Fri Sep 19 07:55:31 PDT 2025
jprotze wrote:
Right, I missed, that record_map is essentially of type `vector<kmp_node_info_t>`, not `vector<kmp_node_info_t *>`.
Another possible approach would be to use a customized vector which allocates `fixed_sized` blocks as necessary (instead of realloc) and redirects `operator[](i)` to look at the `i % fixed_sized` element of block `i / fixed_sized`.
https://github.com/llvm/llvm-project/pull/150877
More information about the Openmp-commits
mailing list