Debian Codegraph @

visa/iga/IGALibrary/Frontend/SendDescriptorDecoding.hpp

raw
1 /*========================== begin_copyright_notice ============================
2
3 Copyright (C) 2020-2021 Intel Corporation
4
5 SPDX-License-Identifier: MIT
6
7 ============================= end_copyright_notice ===========================*/
8
9 #ifndef IGA_FRONTEND_SEND_DESCRIPTOR_DECODING_HPP
10 #define IGA_FRONTEND_SEND_DESCRIPTOR_DECODING_HPP
11
12 #include "../IR/Types.hpp"
13 #include "../Models/Models.hpp"
14
15 #include <sstream>
16
17 namespace iga {
18 void EmitSendDescriptorInfo(Platform p, SFID sfid, ExecSize execSize,
19 bool dstNonNull, int dstLen, int src0Len,
20 int src1Len, uint32_t exImmOffDesc,
21 const SendDesc &exDesc, const SendDesc &desc,
22 std::stringstream &ss);
23
24 void EmitSendgDescriptorInfoXe3p(Platform p, SFID sfid, ExecSize execSize,
25 bool dstNonNull, int src0Len, int src1Len,
26 RegRef id0, RegRef id1, uint64_t desc,
27 std::stringstream &ss);
28 } // namespace iga
29
30 #endif