commit | 487b16e4f37bef03c87d6b82c7bfae74bad8360c | [log] [tgz] |
---|---|---|
author | Joseph Huber <huberjn@outlook.com> | Wed Aug 14 13:38:55 2024 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Aug 14 11:41:12 2024 -0700 |
tree | 4e79a287396fc0e466e7021f343935e828d06a29 | |
parent | a0f4a002ea49a4ca71c8aab5ebbe6b86df119129 [diff] |
[OpenMP] Implement 'omp_alloc' on the device (#102526) Summary: The 'omp_alloc' function should be callable from a target region. This patch implemets it by simply calling `malloc` for every non-default trait value allocator. All the special access modifiers are unimplemented and return null. The null allocator returns null as the spec states it should not be usable from the target. GitOrigin-RevId: 74d23f15b6867898892f851db40a25f62dad4397