compute-runtime/opencl/source/mem_obj/buffer_factory_init.inl

13 lines
289 B
C++

/*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
template <>
void populateFactoryTable<BufferHw<Family>>() {
extern BufferFactoryFuncs bufferFactory[IGFX_MAX_CORE];
bufferFactory[gfxCore].createBufferFunction = BufferHw<Family>::create;
}