Debian Codegraph @

visa/iga/IGALibrary/Backend/GED/GEDUtil.hpp

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 #ifndef _IGA_BACKEND_GED_GEDUTIL_H_
10 #define _IGA_BACKEND_GED_GEDUTIL_H_
11
12 #include "../../Models/OpSpec.hpp"
13 #include "ged.h"
14
15 // These interfaces can be used by IGA to encapsulate usage of GED enums
16 // and the GED api.
17 //
18 // Some other stuff common to both the encoder and decoder may go
19 // in here as well.
20 namespace iga {
21 // iga::SFID getSFID(Platform p, const OpSpec &os, uint32_t exDesc, uint32_t
22 // desc);
23 iga::SFMessageType getMessageType(Platform p, SFID sfid, uint32_t desc);
24 uint32_t getMessageLengths(Platform p, const OpSpec &os, uint32_t exDesc,
25 uint32_t desc, uint32_t *mLen, uint32_t *emLen,
26 uint32_t *rLen);
27
28 } // namespace iga
29
30 #endif //_IGA_GEDUTIL_H_