summaryrefslogtreecommitdiff
path: root/src/mapi/stub.c
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-03-20 22:19:43 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-26 01:47:11 +0000
commit3147f0bd25c45c9bd2a2b1fec622eb1821e11df8 (patch)
tree5834dcd1c276f2e9bfa63421bfb84c3bfd43022f /src/mapi/stub.c
parentc2760f0a1603b12b64237252d12b611b1d7883f3 (diff)
clover: Return 0 as storage size for local kernel args that are not set v2
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 member initialization. Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Cc: 10.5 10.4 <mesa-stable@lists.freedesktop.org> (cherry picked from commit dfb1ae9d914b7723ef50fdd2efe811feebc045ad)
Diffstat (limited to 'src/mapi/stub.c')
0 files changed, 0 insertions, 0 deletions