]> git.ipfire.org Git - thirdparty/gcc.git/commit
Miscellaneous clean-up re OpenMP 'ompx_unified_shared_mem_space', 'ompx_host_mem_space'
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 14 Feb 2023 16:10:57 +0000 (17:10 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 16 Feb 2023 21:14:39 +0000 (22:14 +0100)
commit23f52e49368d7b26a1b1a72d6bb903d31666e961
tree49fa5a384118750b25d3d8ed5576589830d347ab
parent6cc0e7bebf1b3ad6aacf75419e7f06942409f90c
Miscellaneous clean-up re OpenMP 'ompx_unified_shared_mem_space', 'ompx_host_mem_space'

Clean-up for og12 commit 84914e197d91a67b3d27db0e4c69a433462983a5
"openmp, nvptx: ompx_unified_shared_mem_alloc".  No functional change.

libgomp/
* config/linux/allocator.c (linux_memspace_calloc): Elide
(innocuous) duplicate 'if' condition.
* config/nvptx/allocator.c (nvptx_memspace_free): Explicitly
handle 'memspace == ompx_host_mem_space'.
* libgomp.h (gomp_is_usm_ptr): Remove.
libgomp/ChangeLog.omp
libgomp/config/linux/allocator.c
libgomp/config/nvptx/allocator.c
libgomp/libgomp.h