mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Revert "Include dynamic SLM in clGetKernelWorkGroupInfo"
This reverts commit 320b020dd6
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
0f2dc7c49d
commit
c2ce19ff36
@ -530,7 +530,7 @@ cl_int Kernel::getWorkGroupInfo(cl_kernel_work_group_info paramName,
|
||||
struct size_t3 {
|
||||
size_t val[3];
|
||||
} requiredWorkGroupSize;
|
||||
size_t localMemorySize;
|
||||
cl_ulong localMemorySize;
|
||||
const auto &kernelDescriptor = kernelInfo.kernelDescriptor;
|
||||
size_t preferredWorkGroupSizeMultiple = 0;
|
||||
cl_ulong scratchSize;
|
||||
@ -561,7 +561,7 @@ cl_int Kernel::getWorkGroupInfo(cl_kernel_work_group_info paramName,
|
||||
break;
|
||||
|
||||
case CL_KERNEL_LOCAL_MEM_SIZE:
|
||||
localMemorySize = static_cast<size_t>(this->getSlmTotalSize());
|
||||
localMemorySize = kernelInfo.kernelDescriptor.kernelAttributes.slmInlineSize;
|
||||
srcSize = sizeof(localMemorySize);
|
||||
pSrc = &localMemorySize;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user