Browse Source

fixed issue

tags/v1.3.0
李磊 3 years ago
parent
commit
8676e692ce
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ge/hybrid/node_executor/aicpu/aicpu_ext_info.cc

+ 2
- 1
ge/hybrid/node_executor/aicpu/aicpu_ext_info.cc View File

@@ -227,7 +227,8 @@ Status AicpuExtInfoHandler::ParseExtTopicType(AicpuExtInfo *aicpu_ext_info) {
return ACL_ERROR_GE_PARAM_INVALID;
}
GE_CHECK_NOTNULL(aicpu_ext_info->infoMsg);
auto type = *reinterpret_cast<const int32_t *>(aicpu_ext_info->infoMsg);
auto type_info = reinterpret_cast<int32_t *>(aicpu_ext_info->infoMsg);
int32_t type = *type_info;

topic_type_flag_ = TopicTypeToRtsFlag(type);
if (topic_type_flag_ == -1) {


Loading…
Cancel
Save