mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
refactor: add wrapper for max gfx core
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e0631437fc
commit
a22817200f
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user