Re: [HSA, PATCH] Allocate memory for shadow arg (PR hsa/70337)

2016-03-22 Thread Martin Jambor
On Mon, Mar 21, 2016 at 09:51:27PM +0100, Martin Liska wrote: > On 03/21/2016 07:23 PM, Martin Jambor wrote: > >This is strange. The pointer to the shadow data structure is, from > >the HSA perspective, a normal kernel argument and therefore should > >already be included in the kernel->kernarg_seg

Re: [HSA, PATCH] Allocate memory for shadow arg (PR hsa/70337)

2016-03-21 Thread Martin Liška
On 03/21/2016 07:23 PM, Martin Jambor wrote: This is strange. The pointer to the shadow data structure is, from the HSA perspective, a normal kernel argument and therefore should already be included in the kernel->kernarg_segment_size. Have you checked that the values are indeed off? Hi Marti

Re: [HSA, PATCH] Allocate memory for shadow arg (PR hsa/70337)

2016-03-21 Thread Martin Jambor
Hi, On Mon, Mar 21, 2016 at 01:49:25PM +0100, Martin Liska wrote: > Hello. > > Following patch fixes an invalid write in HSA plug-in. > I've been running bootstrap and regression tests on x86-linux-gnu. > > Ready after it finishes? > Thanks, > Martin > From 2674ceb5fddeaeb26ff87d26a43bddaf40060

[HSA, PATCH] Allocate memory for shadow arg (PR hsa/70337)

2016-03-21 Thread Martin Liška
Hello. Following patch fixes an invalid write in HSA plug-in. I've been running bootstrap and regression tests on x86-linux-gnu. Ready after it finishes? Thanks, Martin >From 2674ceb5fddeaeb26ff87d26a43bddaf40060ea2 Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 21 Mar 2016 13:34:04 +0100 Subj