Re: [PATCH,nvptx] Remove use of CUDA unified memory in libgomp

2018-09-18 Thread Cesar Philippidis
On 08/01/2018 04:12 AM, Tom de Vries wrote: > On 07/31/2018 05:27 PM, Cesar Philippidis wrote: >>/* Copy the (device) pointers to arguments to the device (dp and hp might >> in >> fact have the same value on a unified-memory system). */ > > This comment needs to be updated, right? >

Re: [PATCH,nvptx] Remove use of CUDA unified memory in libgomp

2018-08-01 Thread Tom de Vries
ings and pass those pointers as individual > function arguments to cuLaunchKernel directly. > > Is this patch OK for trunk? I bootstrapped and regression tested it for > x86_64 with nvptx offloading. > > Thanks, > Cesar > > > 0001-nvptx-Remove-use-of-CUDA-unified-me

[PATCH,nvptx] Remove use of CUDA unified memory in libgomp

2018-07-31 Thread Cesar Philippidis
s this patch OK for trunk? I bootstrapped and regression tested it for x86_64 with nvptx offloading. Thanks, Cesar [PATCH] [nvptx] Remove use of CUDA unified memory in libgomp 2018-XX-YY Cesar Philippidis libgomp/ * plugin/plugin-nvptx.c (struct cuda_map): New. (struct ptx_stream): Replac