Re: [Nouveau] NV50 compute support questions

2015-12-07 Thread Hans de Goede
Hi On 04-12-15 09:45, Hans de Goede wrote: I've ordered a GTX740 (GK107) card, which should arrive soon, and I'll be using that so I can (hopefully) focus on the llvm tgsi bits again. So the card arrived today and I've plugged it in tests/trivial/compute looks much better with this. But

Re: [Nouveau] NV50 compute support questions

2015-12-07 Thread Samuel Pitoiset
On 12/07/2015 04:10 PM, Hans de Goede wrote: Hi Hi, On 04-12-15 09:45, Hans de Goede wrote: I've ordered a GTX740 (GK107) card, which should arrive soon, and I'll be using that so I can (hopefully) focus on the llvm tgsi bits again. So the card arrived today and I've plugged it in

Re: [Nouveau] NV50 compute support questions

2015-12-04 Thread Hans de Goede
Hi, On 02-12-15 19:33, Samuel Pitoiset wrote: On 12/02/2015 04:34 PM, Hans de Goede wrote: On 01-12-15, Samuel Pitoiset wrote: >>> Ok, here is a MMT trace of vectorAdd: >>> >>> https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz >> >> Hi Hans, >> >> Thanks a lot. > > Well, I

Re: [Nouveau] NV50 compute support questions

2015-12-04 Thread Samuel Pitoiset
On 12/04/2015 10:12 AM, Hans de Goede wrote: Hi, On 04-12-15 09:54, Samuel Pitoiset wrote: On 12/04/2015 09:45 AM, Hans de Goede wrote: Please give a shot at this branch : http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nvf0_compute It fixes the initialization of the compute state

Re: [Nouveau] NV50 compute support questions

2015-12-04 Thread Hans de Goede
Hi, On 04-12-15 09:54, Samuel Pitoiset wrote: On 12/04/2015 09:45 AM, Hans de Goede wrote: Please give a shot at this branch : http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nvf0_compute It fixes the initialization of the compute state and allows me to launch 'test_input_global' (ie.

Re: [Nouveau] NV50 compute support questions

2015-12-04 Thread Samuel Pitoiset
On 12/04/2015 09:45 AM, Hans de Goede wrote: Hi, On 02-12-15 19:33, Samuel Pitoiset wrote: On 12/02/2015 04:34 PM, Hans de Goede wrote: On 01-12-15, Samuel Pitoiset wrote: >>> Ok, here is a MMT trace of vectorAdd: >>> >>> https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz >> >>

Re: [Nouveau] NV50 compute support questions

2015-12-02 Thread Hans de Goede
On 01-12-15, Samuel Pitoiset wrote: >>> Ok, here is a MMT trace of vectorAdd: >>> >>> https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz >> >> Hi Hans, >> >> Thanks a lot. > > Well, I didn't know but Martin has a GK208... > I just tested the compute support on his card and ... it works

Re: [Nouveau] NV50 compute support questions

2015-12-02 Thread Ilia Mirkin
On Wed, Dec 2, 2015 at 1:33 PM, Samuel Pitoiset wrote: > > > On 12/02/2015 04:34 PM, Hans de Goede wrote: >> >> On 01-12-15, Samuel Pitoiset wrote: >> >> >>> Ok, here is a MMT trace of vectorAdd: >> >>> >> >>> https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz >>

Re: [Nouveau] NV50 compute support questions

2015-12-02 Thread Samuel Pitoiset
On 12/02/2015 04:34 PM, Hans de Goede wrote: On 01-12-15, Samuel Pitoiset wrote: >>> Ok, here is a MMT trace of vectorAdd: >>> >>> https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz >> >> Hi Hans, >> >> Thanks a lot. > > Well, I didn't know but Martin has a GK208... > I just

Re: [Nouveau] NV50 compute support questions

2015-12-01 Thread Hans de Goede
Hi, On 30-11-15 20:03, Ilia Mirkin wrote: On Mon, Nov 30, 2015 at 8:27 AM, Hans de Goede wrote: Hi, On 26-11-15 13:52, Samuel Pitoiset wrote: I do not have a GK106, I've a GK208, and IIRC that one is known to not work, I guess I can give it a try. Compute support

Re: [Nouveau] NV50 compute support questions

2015-12-01 Thread Samuel Pitoiset
On 11/30/2015 04:13 PM, Samuel Pitoiset wrote: On 11/30/2015 02:27 PM, Hans de Goede wrote: Hi, On 26-11-15 13:52, Samuel Pitoiset wrote: I do not have a GK106, I've a GK208, and IIRC that one is known to not work, I guess I can give it a try. Compute support is not supported on

Re: [Nouveau] NV50 compute support questions

2015-11-30 Thread Samuel Pitoiset
On 11/30/2015 02:27 PM, Hans de Goede wrote: Hi, On 26-11-15 13:52, Samuel Pitoiset wrote: I do not have a GK106, I've a GK208, and IIRC that one is known to not work, I guess I can give it a try. Compute support is not supported on GK110+, yeah... If you provide me a MMT trace of, for

Re: [Nouveau] NV50 compute support questions

2015-11-30 Thread Ilia Mirkin
On Mon, Nov 30, 2015 at 8:27 AM, Hans de Goede wrote: > Hi, > > On 26-11-15 13:52, Samuel Pitoiset wrote: > > > >>> I do not have a GK106, I've a GK208, and IIRC that one is known to not >>> work, >>> I guess I can give it a try. >> >> >> Compute support is not supported on

Re: [Nouveau] NV50 compute support questions

2015-11-30 Thread Hans de Goede
Hi, On 26-11-15 13:52, Samuel Pitoiset wrote: I do not have a GK106, I've a GK208, and IIRC that one is known to not work, I guess I can give it a try. Compute support is not supported on GK110+, yeah... If you provide me a MMT trace of, for example, vectorAdd from the CUDA samples I

Re: [Nouveau] NV50 compute support questions

2015-11-26 Thread Samuel Pitoiset
Well, if you remove that assert locally, all compute tests in src/gallium/tests/trivial/compute.c pass on GK106, except the atomic ones. I'm working on the fermi case btw. On 11/25/2015 03:43 PM, Hans de Goede wrote: Hi, On 20-11-15 17:07, Samuel Pitoiset wrote: On 11/20/2015 11:36 AM,

Re: [Nouveau] NV50 compute support questions

2015-11-26 Thread Hans de Goede
Hi, On 26-11-15 09:42, Samuel Pitoiset wrote: Well, if you remove that assert locally, all compute tests in src/gallium/tests/trivial/compute.c pass on GK106, except the atomic ones. Do you mean the: Assertion `pres->target != PIPE_BUFFER' failed. or the: Assertion

Re: [Nouveau] NV50 compute support questions

2015-11-26 Thread Samuel Pitoiset
On 11/26/2015 01:21 PM, Hans de Goede wrote: Hi, On 26-11-15 09:42, Samuel Pitoiset wrote: Well, if you remove that assert locally, all compute tests in src/gallium/tests/trivial/compute.c pass on GK106, except the atomic ones. Do you mean the: Assertion `pres->target != PIPE_BUFFER'

Re: [Nouveau] NV50 compute support questions

2015-11-25 Thread Ilia Mirkin
On Wed, Nov 25, 2015 at 11:50 AM, Samuel Pitoiset wrote: >> So I tried to run src/gallium/tests/trivial/compute.c, >> with a recent mesa master, but that does not work either. >> >> I get the following when I try to run this: >> >> compute: nvc0/nvc0_resource.c:41:

Re: [Nouveau] NV50 compute support questions

2015-11-25 Thread Hans de Goede
Hi, On 20-11-15 17:07, Samuel Pitoiset wrote: On 11/20/2015 11:36 AM, Hans de Goede wrote: Hi Samual, et al, Hi Hans, In http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd you write: "This compute support has been tested

Re: [Nouveau] NV50 compute support questions

2015-11-20 Thread Pierre Moreau
Hello Hans, IIRC, Samuel wrote the kernel directly in assembly by hand. As for me, I manually wrote the SPIR-V binary for the kernel, hacked clover to use it as if it had been produced by the regular LLVM path, and then fed it into the WIP SPIR-V to NV50 IR translator. I can send the

[Nouveau] NV50 compute support questions

2015-11-20 Thread Hans de Goede
Hi Samual, et al, In http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels." Can you provide testing instructions (and the

Re: [Nouveau] NV50 compute support questions

2015-11-20 Thread Hans de Goede
Hi, On 20-11-15 17:07, Samuel Pitoiset wrote: On 11/20/2015 11:36 AM, Hans de Goede wrote: Hi Samual, et al, Hi Hans, In http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd you write: "This compute support has been tested

Re: [Nouveau] NV50 compute support questions

2015-11-20 Thread Samuel Pitoiset
On 11/20/2015 11:36 AM, Hans de Goede wrote: Hi Samual, et al, Hi Hans, In http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd you write: "This compute support has been tested by Pierre Moreau and myself with some compute