!2290 update AicpuParamHead

Merge pull request !2290 from yanzhenxiang2020/aicpu_param_open
This commit is contained in:
mindspore-ci-bot 2020-06-18 21:51:55 +08:00 committed by Gitee
commit 5d3792c273
1 changed files with 4 additions and 2 deletions

View File

@ -43,8 +43,10 @@ constexpr auto kTopK = "TopK";
constexpr auto kTopKV2 = "TopKV2";
struct AicpuParamHead {
uint32_t length; // Total length: include cunstom message
uint32_t ioAddrNum; // Input and output address number
uint32_t length; // Total length: include cunstom message
uint32_t ioAddrNum; // Input and output address number
uint32_t extInfoLength; // extInfo struct Length
uint64_t extInfoAddr; // extInfo address
} __attribute__((packed));
class AicpuOpUtil {