mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Revert "Check IndirectStatelessCount from igc"
This reverts commit 5e62df4f8e.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f2c4231a27
commit
6f62a784e1
@@ -851,8 +851,7 @@ ze_result_t KernelImp::initialize(const ze_kernel_desc_t *desc) {
|
||||
|
||||
kernelHasIndirectAccess = kernelDescriptor.kernelAttributes.hasNonKernelArgLoad ||
|
||||
kernelDescriptor.kernelAttributes.hasNonKernelArgStore ||
|
||||
kernelDescriptor.kernelAttributes.hasNonKernelArgAtomic ||
|
||||
getImmutableData()->getKernelInfo()->hasIndirectStatelessAccess;
|
||||
kernelDescriptor.kernelAttributes.hasNonKernelArgAtomic;
|
||||
|
||||
if (this->usesRayTracing()) {
|
||||
if (this->getImmutableData()->getDescriptor().payloadMappings.implicitArgs.rtDispatchGlobals.pointerSize > 0) {
|
||||
@@ -979,7 +978,9 @@ Kernel *Kernel::create(uint32_t productFamily, Module *module,
|
||||
}
|
||||
|
||||
bool KernelImp::hasIndirectAllocationsAllowed() const {
|
||||
return kernelHasIndirectAccess && unifiedMemoryControls.anyIndirectAllocationsAllowed();
|
||||
return (unifiedMemoryControls.indirectDeviceAllocationsAllowed ||
|
||||
unifiedMemoryControls.indirectHostAllocationsAllowed ||
|
||||
unifiedMemoryControls.indirectSharedAllocationsAllowed);
|
||||
}
|
||||
|
||||
uint32_t KernelImp::getSlmTotalSize() const {
|
||||
|
||||
@@ -139,7 +139,7 @@ struct KernelImp : Kernel {
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
bool hasIndirectAccess() const {
|
||||
bool hasIndirectAccess() {
|
||||
return kernelHasIndirectAccess;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user