On 08/03/2022 11:30, Hafiz Abid Qadeer wrote: > This patches changes calls to malloc/free/calloc/realloc and operator new to > memory allocation functions in libgomp with > allocator=ompx_unified_shared_mem_alloc. This additional patch adds transformation for omp_target_alloc. The OpenMP 5.0 document says that addresses allocated this way needs to work without is_device_ptr. The easiest way to make that work is to make them USM addresses. I will commit this to OG11 shortly. Andrew