[Mesa-dev] [PATCH] clover: Return 0 as storage size for local kernel args that are not set v2

2015-03-23 Thread Tom Stellard
The storage size for local kernel args can be queried before the arguments are set by using the CL_KERNEL_LOCAL_MEM_SIZE param of clGetKernelWorkGroupInfo(). The spec says that if local kernel arguments have not been specified, then we should assume their size is 0. v2: - Implement using c++11

Re: [Mesa-dev] [PATCH] clover: Return 0 as storage size for local kernel args that are not set v2

2015-03-23 Thread Jan Vesely
On Mon, 2015-03-23 at 14:52 +, Tom Stellard wrote: The storage size for local kernel args can be queried before the arguments are set by using the CL_KERNEL_LOCAL_MEM_SIZE param of clGetKernelWorkGroupInfo(). The spec says that if local kernel arguments have not been specified, then we

Re: [Mesa-dev] [PATCH] clover: Return 0 as storage size for local kernel args that are not set v2

2015-03-23 Thread Francisco Jerez
Tom Stellard thomas.stell...@amd.com writes: The storage size for local kernel args can be queried before the arguments are set by using the CL_KERNEL_LOCAL_MEM_SIZE param of clGetKernelWorkGroupInfo(). The spec says that if local kernel arguments have not been specified, then we should

Re: [Mesa-dev] [PATCH] clover: Return 0 as storage size for local kernel args that are not set

2015-03-21 Thread Jan Vesely
On Fri, 2015-03-20 at 23:29 +, Tom Stellard wrote: The storage size for local kernel args can be queried before the arguments are set by using the CL_KERNEL_LOCAL_MEM_SIZE param of clGetKernelWorkGroupInfo(). The spec says that if local kernel arguments have not been specified, then we

Re: [Mesa-dev] [PATCH] clover: Return 0 as storage size for local kernel args that are not set

2015-03-21 Thread Francisco Jerez
Jan Vesely jan.ves...@rutgers.edu writes: On Sat, 2015-03-21 at 14:57 +0200, Francisco Jerez wrote: Jan Vesely jan.ves...@rutgers.edu writes: On Fri, 2015-03-20 at 23:29 +, Tom Stellard wrote: The storage size for local kernel args can be queried before the arguments are set by

Re: [Mesa-dev] [PATCH] clover: Return 0 as storage size for local kernel args that are not set

2015-03-21 Thread Jan Vesely
On Sat, 2015-03-21 at 14:57 +0200, Francisco Jerez wrote: Jan Vesely jan.ves...@rutgers.edu writes: On Fri, 2015-03-20 at 23:29 +, Tom Stellard wrote: The storage size for local kernel args can be queried before the arguments are set by using the CL_KERNEL_LOCAL_MEM_SIZE param of

Re: [Mesa-dev] [PATCH] clover: Return 0 as storage size for local kernel args that are not set

2015-03-21 Thread Francisco Jerez
Jan Vesely jan.ves...@rutgers.edu writes: On Fri, 2015-03-20 at 23:29 +, Tom Stellard wrote: The storage size for local kernel args can be queried before the arguments are set by using the CL_KERNEL_LOCAL_MEM_SIZE param of clGetKernelWorkGroupInfo(). The spec says that if local kernel

[Mesa-dev] [PATCH] clover: Return 0 as storage size for local kernel args that are not set

2015-03-20 Thread Tom Stellard
The storage size for local kernel args can be queried before the arguments are set by using the CL_KERNEL_LOCAL_MEM_SIZE param of clGetKernelWorkGroupInfo(). The spec says that if local kernel arguments have not been specified, then we should assume their size is 0. ---