refactor: add function checking bindless addressing

- simplify logic to check addressing mode of a kernel

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2023-06-09 11:00:17 +00:00
committed by Compute-Runtime-Automation
parent 646c8985e8
commit 8bc1fb1251
5 changed files with 44 additions and 6 deletions

View File

@@ -26,6 +26,8 @@ using StringMap = std::unordered_map<uint32_t, std::string>;
using InstructionsSegmentOffset = uint16_t;
struct KernelDescriptor {
static bool isBindlessAddressingKernel(const KernelDescriptor &desc);
enum AddressingMode : uint8_t {
AddrNone,
Stateless,