Debian Codegraph @

IGC/AdaptorOCL/ocl_igc_shared/executable_format/patch_g7.h

raw
1 /*========================== begin_copyright_notice ============================
2
3 Copyright (C) 2017-2021 Intel Corporation
4
5 SPDX-License-Identifier: MIT
6
7 ============================= end_copyright_notice ===========================*/
8
9 #pragma once
10 #include "stdint.h"
11 #include "patch_shared.h"
12
13 namespace iOpenCL {
14
15 /*****************************************************************************\
16 STRUCT: SKernelBinaryHeaderGen7
17 \*****************************************************************************/
18 struct SKernelBinaryHeaderGen7 : SKernelBinaryHeaderCommon {};
19
20 /*****************************************************************************\
21 STRUCT: SPatchMediaInterfaceDescriptorLoad
22 \*****************************************************************************/
23 struct SPatchMediaInterfaceDescriptorLoad : SPatchItemHeader {
24 uint32_t InterfaceDescriptorDataOffset;
25 };
26
27 /*****************************************************************************\
28 STRUCT: SPatchInterfaceDescriptorData
29 \*****************************************************************************/
30 struct SPatchInterfaceDescriptorData : SPatchItemHeader {
31 uint32_t Offset;
32 uint32_t SamplerStateOffset;
33 uint32_t KernelOffset;
34 uint32_t BindingTableOffset;
35 };
36
37 /*****************************************************************************\
38 STRUCT: SPatchDataParameterStream
39 \*****************************************************************************/
40 struct SPatchDataParameterStream : SPatchItemHeader {
41 uint32_t DataParameterStreamSize;
42 };
43
44 } // namespace iOpenCL