The target allocators have been supported for NVPTX offloading for
awhile. The tests should use the allocators instead of calling the
functions manually. Also the comments indicating these being a preview
should be removed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/test/api/omp_device_managed_memory.c | ||
---|---|---|
11 ↗ | (On Diff #420970) | This sounds so confusing to me. Shared mem alloc, is not using shared/local memory but managed memory, right? |
openmp/libomptarget/test/api/omp_host_pinned_memory.c | ||
33 ↗ | (On Diff #420970) | Keep the old tests around please. No need to drop support for the function just yet. |
openmp/libomptarget/test/api/omp_device_managed_memory.c | ||
---|---|---|
11 ↗ | (On Diff #420970) | That's how they were described in the original patch, it's supposed to be "shared" between the host and device I guess. |
openmp/libomptarget/test/api/omp_host_pinned_memory.c | ||
33 ↗ | (On Diff #420970) | But the allocators use the function internally, this tests both that function and the allocator |