mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Additionally unify implementation of API functions related to creating buffers and images. Related-To: NEO-4368 Change-Id: Icfafc32f15e667e249fb318072194b6f76bd6481 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
13 lines
289 B
C++
13 lines
289 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
template <>
|
|
void populateFactoryTable<BufferHw<Family>>() {
|
|
extern BufferFactoryFuncs bufferFactory[IGFX_MAX_CORE];
|
|
bufferFactory[gfxCore].createBufferFunction = BufferHw<Family>::create;
|
|
}
|