[Beignet] *** SPAM LEVEL 4.053 *** Re: [PATCH 2/3] CL: Support kernel side defined samplers.

Simon Richter Simon.Richter at hogyros.de
Tue May 7 23:10:38 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07.05.2013 08:45, Zhigang Gong wrote:

> We changed the way to handle samplers. We gather all the kernel
> side defined samplers and those sampler in kernel argument into one
> samplers array. And don't allocate one single sampler each time.

> +  /* Get sampler data & size */ +  k->sampler_sz =
> gbe_kernel_get_sampler_size(k->opaque); +  k->arg_sampler_sz = 0; +
> assert(k->sampler_sz <= GEN_MAX_SAMPLERS);

I keep hitting this assert directly on the first testcase
(test_create_kernel).

k->sampler_sz is 384 for me (IVB2 platform).

    Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAlGJ7FYACgkQ0sfeulffv7vKcQP/Zt78UKFXO2s5g6AIPAuFapjb
taGeg56ZG7ZEo6cEe9dq7GsxW0VsMdzgg0CE4cNXYd0ubsgul07M4jmAmyLIJuhd
/0M9JibctYb5Ev+E5gr8BzYGYmhpwfU9c4EZMh25NC71EWJMtUltTHpGEvhfeSdQ
U6hvARlBd720Cu8nXrY=
=76C9
-----END PGP SIGNATURE-----


More information about the Beignet mailing list