2020-02-25 14:52:40 +01:00
|
|
|
/*
|
2022-04-22 12:47:26 +00:00
|
|
|
* Copyright (C) 2020-2022 Intel Corporation
|
2020-02-25 14:52:40 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
2022-08-29 16:41:00 +00:00
|
|
|
namespace iOpenCL {
|
|
|
|
|
struct SPatchKernelAttributesInfo;
|
2022-12-12 13:35:16 +00:00
|
|
|
struct SPatchExecutionEnvironment;
|
|
|
|
|
} // namespace iOpenCL
|
2022-08-29 16:41:00 +00:00
|
|
|
|
2020-02-25 14:52:40 +01:00
|
|
|
namespace NEO {
|
|
|
|
|
struct KernelDescriptor;
|
|
|
|
|
|
|
|
|
|
namespace PatchTokenBinary {
|
|
|
|
|
struct KernelFromPatchtokens;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void populateKernelDescriptor(KernelDescriptor &dst, const PatchTokenBinary::KernelFromPatchtokens &src, uint32_t gpuPointerSizeInBytes);
|
2022-08-29 16:41:00 +00:00
|
|
|
void populateKernelDescriptor(KernelDescriptor &dst, const iOpenCL::SPatchKernelAttributesInfo &token);
|
2022-12-12 13:35:16 +00:00
|
|
|
void populateKernelDescriptorExtra(KernelDescriptor &dst, const iOpenCL::SPatchExecutionEnvironment &execEnv);
|
2020-02-25 14:52:40 +01:00
|
|
|
|
|
|
|
|
} // namespace NEO
|