29 lines
716 B
C++
29 lines
716 B
C++
/*
|
|
* Copyright (C) 2020-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace iOpenCL {
|
|
struct SPatchKernelAttributesInfo;
|
|
struct SPatchExecutionEnvironment;
|
|
} // namespace iOpenCL
|
|
|
|
namespace NEO {
|
|
struct KernelDescriptor;
|
|
|
|
namespace PatchTokenBinary {
|
|
struct KernelFromPatchtokens;
|
|
}
|
|
|
|
void populateKernelDescriptor(KernelDescriptor &dst, const PatchTokenBinary::KernelFromPatchtokens &src, uint32_t gpuPointerSizeInBytes);
|
|
void populateKernelDescriptor(KernelDescriptor &dst, const iOpenCL::SPatchKernelAttributesInfo &token);
|
|
void populateKernelDescriptorExtra(KernelDescriptor &dst, const iOpenCL::SPatchExecutionEnvironment &execEnv);
|
|
|
|
} // namespace NEO
|