Re: [PATCH 3/5] openmp, nvptx: ompx_unified_shared_mem_alloc

2023-02-10 Thread Andrew Stubbs
On 10/02/2023 14:21, Thomas Schwinge wrote: Is the correct fix the following (conceptually like 'linux_memspace_alloc' cited above), or is there something that I fail to understand? static void * linux_memspace_calloc (omp_memspace_handle_t memspace, size_t size, int pin) {

Re: [PATCH 3/5] openmp, nvptx: ompx_unified_shared_mem_alloc

2023-02-10 Thread Thomas Schwinge
Hi Andrew! On 2022-03-08T11:30:57+, Hafiz Abid Qadeer wrote: > From: Andrew Stubbs > > This adds support for using Cuda Managed Memory with omp_alloc. It will be > used as the underpinnings for "requires unified_shared_memory" in a later > patch. > > There are two new predefined allocators,