mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

store proper devices validate input devices, lengths and binary return correct binaries Related-To: NEO-5001 Change-Id: I3822c291a4430e64afe54f1486b0014f16de3d64 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
25 lines
1.1 KiB
C++
25 lines
1.1 KiB
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/source/program/create.inl"
|
|
|
|
#include "opencl/source/program/program.h"
|
|
|
|
namespace NEO {
|
|
|
|
namespace ProgramFunctions {
|
|
CreateFromILFunc createFromIL = Program::createFromIL<Program>;
|
|
} // namespace ProgramFunctions
|
|
|
|
template Program *Program::create<Program>(Context *, const ClDeviceVector &, const size_t *, const unsigned char **, cl_int *, cl_int &);
|
|
template Program *Program::create<Program>(cl_context, cl_uint, const char **, const size_t *, cl_int &);
|
|
template Program *Program::create<Program>(const char *, Context *, ClDevice &, bool, cl_int *);
|
|
template Program *Program::create<Program>(const char *, Context *, Device &, bool, cl_int *);
|
|
template Program *Program::createFromIL<Program>(Context *, const void *, size_t length, cl_int &);
|
|
template Program *Program::createFromGenBinary<Program>(ExecutionEnvironment &executionEnvironment, Context *context, const void *binary, size_t size, bool isBuiltIn, cl_int *errcodeRet, Device *device);
|
|
} // namespace NEO
|