summaryrefslogtreecommitdiff
path: root/offload/test/api/omp_device_alloc.c
AgeCommit message (Collapse)Author
2024-08-20[OpenMP] Temporarily disable test to keep bots greenJoseph Huber
Summary: This test mysteriously fails on the bots but not locally, disable until I can figure out why.
2024-08-20[OpenMP] Map `omp_default_mem_alloc` to global memory (#104790)Joseph Huber
Summary: Currently, we assign this to private memory. This causes failures on some SOLLVE tests. The standard isn't clear on the semantics of this allocation type, but there seems to be a consensus that it's supposed to be shared memory.
2024-08-14[OpenMP] Fix buildbot failing on allocator testJoseph Huber
2024-08-14[OpenMP] Implement 'omp_alloc' on the device (#102526)Joseph Huber
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.