mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
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:
committed by
Compute-Runtime-Automation
parent
646c8985e8
commit
8bc1fb1251
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user