mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
refactor: Stop using global gfx core helper getter in shared
Related-To: NEO-6853 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1e9e877394
commit
0770ea765f
@@ -96,10 +96,6 @@ KernelInfo::~KernelInfo() {
|
||||
size_t KernelInfo::getSamplerStateArrayCount() const {
|
||||
return kernelDescriptor.payloadMappings.samplerTable.numSamplers;
|
||||
}
|
||||
size_t KernelInfo::getSamplerStateArraySize(const HardwareInfo &hwInfo) const {
|
||||
size_t samplerStateArraySize = getSamplerStateArrayCount() * GfxCoreHelper::get(hwInfo.platform.eRenderCoreFamily).getSamplerStateSize();
|
||||
return samplerStateArraySize;
|
||||
}
|
||||
|
||||
size_t KernelInfo::getBorderColorOffset() const {
|
||||
size_t borderColorOffset = 0;
|
||||
|
||||
@@ -83,7 +83,6 @@ struct KernelInfo {
|
||||
return kernelDescriptor.explicitArgsExtendedMetadata[index];
|
||||
}
|
||||
size_t getSamplerStateArrayCount() const;
|
||||
size_t getSamplerStateArraySize(const HardwareInfo &hwInfo) const;
|
||||
size_t getBorderColorOffset() const;
|
||||
unsigned int getMaxSimdSize() const {
|
||||
return kernelDescriptor.kernelAttributes.simdSize;
|
||||
|
||||
Reference in New Issue
Block a user