Re: [Mesa-dev] [PATCH 1/5] nv50: implement a basic compute support

2015-11-16 Thread Samuel Pitoiset
On 11/16/2015 11:47 AM, Emil Velikov wrote: On 16 November 2015 at 10:39, Emil Velikov wrote: Hi Samuel, On 13 November 2015 at 00:04, Samuel Pitoiset wrote: This adds the ability to launch simple compute kernels like the one I will use to read out MP performance counters in the upcoming p

Re: [Mesa-dev] [PATCH 1/5] nv50: implement a basic compute support

2015-11-16 Thread Emil Velikov
On 16 November 2015 at 10:39, Emil Velikov wrote: > Hi Samuel, > > On 13 November 2015 at 00:04, Samuel Pitoiset > wrote: >> This adds the ability to launch simple compute kernels like the one I >> will use to read out MP performance counters in the upcoming patch. >> >> This compute support is

Re: [Mesa-dev] [PATCH 1/5] nv50: implement a basic compute support

2015-11-16 Thread Emil Velikov
Hi Samuel, On 13 November 2015 at 00:04, Samuel Pitoiset wrote: > This adds the ability to launch simple compute kernels like the one I > will use to read out MP performance counters in the upcoming patch. > > This compute support is based on the work of Francisco Jerez (aka curro) > that he did

Re: [Mesa-dev] [PATCH 1/5] nv50: implement a basic compute support

2015-11-12 Thread Samuel Pitoiset
On 11/13/2015 01:15 AM, Ilia Mirkin wrote: On Thu, Nov 12, 2015 at 7:04 PM, Samuel Pitoiset wrote: +static bool +nv50_compute_validate_program(struct nv50_context *nv50) +{ + struct nv50_program *prog = nv50->compprog; + + if (prog->mem) + return true; + + if (!prog->translated) {

Re: [Mesa-dev] [PATCH 1/5] nv50: implement a basic compute support

2015-11-12 Thread Ilia Mirkin
On Thu, Nov 12, 2015 at 7:04 PM, Samuel Pitoiset wrote: > +static bool > +nv50_compute_validate_program(struct nv50_context *nv50) > +{ > + struct nv50_program *prog = nv50->compprog; > + > + if (prog->mem) > + return true; > + > + if (!prog->translated) { > + prog->translated = nv

[Mesa-dev] [PATCH 1/5] nv50: implement a basic compute support

2015-11-12 Thread Samuel Pitoiset
This adds the ability to launch simple compute kernels like the one I will use to read out MP performance counters in the upcoming patch. This compute support is based on the work of Francisco Jerez (aka curro) that he did as part of his EVoC project in 2011/2012 to get OpenCL working on Tesla. Hi