mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Correct Intermediate Language related implementation
Change-Id: Ib2bdd21c255245767df787797bb5cfe05482e489 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
410e3c0ced
commit
da524fa03d
@@ -36,12 +36,21 @@ class Context;
|
||||
class CompilerInterface;
|
||||
class Device;
|
||||
class ExecutionEnvironment;
|
||||
class Program;
|
||||
struct KernelInfo;
|
||||
template <>
|
||||
struct OpenCLObjectMapper<_cl_program> {
|
||||
typedef class Program DerivedType;
|
||||
};
|
||||
|
||||
namespace ProgramFunctions {
|
||||
using CreateFromILFunc = std::function<Program *(Context *ctx,
|
||||
const void *il,
|
||||
size_t length,
|
||||
int32_t &errcodeRet)>;
|
||||
extern CreateFromILFunc createFromIL;
|
||||
} // namespace ProgramFunctions
|
||||
|
||||
constexpr cl_int asClError(TranslationOutput::ErrorCode err) {
|
||||
switch (err) {
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user