mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
Remove device enqueue part 8
- remove hasDeviceEnqueue Related-To: NEO-6559 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
97765cd39f
commit
20f17f775e
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -173,7 +173,6 @@ static constexpr ConstStringRef barrierCount("barrier_count");
|
||||
static constexpr ConstStringRef disableMidThreadPreemption("disable_mid_thread_preemption");
|
||||
static constexpr ConstStringRef grfCount("grf_count");
|
||||
static constexpr ConstStringRef has4gbBuffers("has_4gb_buffers");
|
||||
static constexpr ConstStringRef hasDeviceEnqueue("has_device_enqueue");
|
||||
static constexpr ConstStringRef hasDpas("has_dpas");
|
||||
static constexpr ConstStringRef hasFenceForImageAccess("has_fence_for_image_access");
|
||||
static constexpr ConstStringRef hasGlobalAtomics("has_global_atomics");
|
||||
@@ -293,7 +292,6 @@ using BarrierCountT = int32_t;
|
||||
using DisableMidThreadPreemptionT = bool;
|
||||
using GrfCountT = int32_t;
|
||||
using Has4GBBuffersT = bool;
|
||||
using HasDeviceEnqueueT = bool;
|
||||
using HasDpasT = bool;
|
||||
using HasFenceForImageAccessT = bool;
|
||||
using HasGlobalAtomicsT = bool;
|
||||
@@ -318,7 +316,6 @@ namespace Defaults {
|
||||
static constexpr BarrierCountT barrierCount = 0;
|
||||
static constexpr DisableMidThreadPreemptionT disableMidThreadPreemption = false;
|
||||
static constexpr Has4GBBuffersT has4GBBuffers = false;
|
||||
static constexpr HasDeviceEnqueueT hasDeviceEnqueue = false;
|
||||
static constexpr HasDpasT hasDpas = false;
|
||||
static constexpr HasFenceForImageAccessT hasFenceForImageAccess = false;
|
||||
static constexpr HasGlobalAtomicsT hasGlobalAtomics = false;
|
||||
@@ -350,7 +347,6 @@ struct ExecutionEnvBaseT {
|
||||
DisableMidThreadPreemptionT disableMidThreadPreemption = Defaults::disableMidThreadPreemption;
|
||||
GrfCountT grfCount = -1;
|
||||
Has4GBBuffersT has4GBBuffers = Defaults::has4GBBuffers;
|
||||
HasDeviceEnqueueT hasDeviceEnqueue = Defaults::hasDeviceEnqueue;
|
||||
HasDpasT hasDpas = Defaults::hasDpas;
|
||||
HasFenceForImageAccessT hasFenceForImageAccess = Defaults::hasFenceForImageAccess;
|
||||
HasGlobalAtomicsT hasGlobalAtomics = Defaults::hasGlobalAtomics;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2021 Intel Corporation
|
||||
* Copyright (C) 2019-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -405,7 +405,6 @@ void dump(const SPatchExecutionEnvironment &value, std::stringstream &out, const
|
||||
out << indent << " uint32_t CompiledSIMD8;// = " << value.CompiledSIMD8 << "\n";
|
||||
out << indent << " uint32_t CompiledSIMD16;// = " << value.CompiledSIMD16 << "\n";
|
||||
out << indent << " uint32_t CompiledSIMD32;// = " << value.CompiledSIMD32 << "\n";
|
||||
out << indent << " uint32_t HasDeviceEnqueue;// = " << value.HasDeviceEnqueue << "\n";
|
||||
out << indent << " uint32_t MayAccessUndeclaredResource;// = " << value.MayAccessUndeclaredResource << "\n";
|
||||
out << indent << " uint32_t UsesFencesForReadWriteImages;// = " << value.UsesFencesForReadWriteImages << "\n";
|
||||
out << indent << " uint32_t UsesStatelessSpillFill;// = " << value.UsesStatelessSpillFill << "\n";
|
||||
|
||||
@@ -257,8 +257,6 @@ DecodeError readZeInfoExecutionEnvironment(const NEO::Yaml::YamlParser &parser,
|
||||
validExecEnv = validExecEnv & readZeInfoValueChecked(parser, execEnvMetadataNd, outExecEnv.grfCount, context, outErrReason);
|
||||
} else if (NEO::Elf::ZebinKernelMetadata::Tags::Kernel::ExecutionEnv::has4gbBuffers == key) {
|
||||
validExecEnv = validExecEnv & readZeInfoValueChecked(parser, execEnvMetadataNd, outExecEnv.has4GBBuffers, context, outErrReason);
|
||||
} else if (NEO::Elf::ZebinKernelMetadata::Tags::Kernel::ExecutionEnv::hasDeviceEnqueue == key) {
|
||||
validExecEnv = validExecEnv & readZeInfoValueChecked(parser, execEnvMetadataNd, outExecEnv.hasDeviceEnqueue, context, outErrReason);
|
||||
} else if (NEO::Elf::ZebinKernelMetadata::Tags::Kernel::ExecutionEnv::hasDpas == key) {
|
||||
validExecEnv = validExecEnv & readZeInfoValueChecked(parser, execEnvMetadataNd, outExecEnv.hasDpas, context, outErrReason);
|
||||
} else if (NEO::Elf::ZebinKernelMetadata::Tags::Kernel::ExecutionEnv::hasFenceForImageAccess == key) {
|
||||
@@ -1022,7 +1020,6 @@ NEO::DecodeError populateKernelDescriptor(NEO::ProgramInfo &dst, NEO::Elf::Elf<N
|
||||
kernelDescriptor.kernelAttributes.flags.requiresSubgroupIndependentForwardProgress = execEnv.subgroupIndependentForwardProgress;
|
||||
kernelDescriptor.kernelAttributes.flags.useGlobalAtomics = execEnv.hasGlobalAtomics;
|
||||
kernelDescriptor.kernelAttributes.flags.useStackCalls = execEnv.hasStackCalls;
|
||||
kernelDescriptor.kernelAttributes.flags.usesDeviceSideEnqueue = execEnv.hasDeviceEnqueue;
|
||||
kernelDescriptor.kernelAttributes.flags.usesFencesForReadWriteImages = execEnv.hasFenceForImageAccess;
|
||||
kernelDescriptor.kernelAttributes.flags.usesSpecialPipelineSelectMode = execEnv.hasDpas;
|
||||
kernelDescriptor.kernelAttributes.flags.usesStatelessWrites = (false == execEnv.hasNoStatelessWrite);
|
||||
|
||||
Reference in New Issue
Block a user