refactor: add wrapper for max gfx core

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2025-11-24 12:37:08 +00:00
committed by Compute-Runtime-Automation
parent e0631437fc
commit a22817200f
83 changed files with 124 additions and 123 deletions

View File

@@ -61,7 +61,7 @@
namespace NEO {
// Global table of create functions
CommandQueueCreateFunc commandQueueFactory[IGFX_MAX_CORE] = {};
CommandQueueCreateFunc commandQueueFactory[NEO::maxCoreEnumValue] = {};
CommandQueue *CommandQueue::create(Context *context,
ClDevice *device,