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

@@ -42,7 +42,7 @@ struct BufferFactoryFuncs {
BufferCreateFunc createBufferFunction;
};
extern BufferFactoryFuncs bufferFactory[IGFX_MAX_CORE];
extern BufferFactoryFuncs bufferFactory[NEO::maxCoreEnumValue];
namespace BufferFunctions {
using ValidateInputAndCreateBufferFunc = std::function<cl_mem(cl_context context,