---
title: aclrtBinaryLoadOption
description: "```"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/runtimeapi/aclcppdevg_03_1811.html
sourcePath: /source/zh/canncommercial/900/API/runtimeapi/aclcppdevg_03_1811.html
indexId: 7b6ea1f1686bba1a8ac0ffa937c8599fae3641587617e43a6171e77f9e1f826e68
---
# aclrtBinaryLoadOption

```
typedef struct {
    aclrtBinaryLoadOptionType type;
    aclrtBinaryLoadOptionValue value;
} aclrtBinaryLoadOption;
```

加载算子二进制文件时，每个参数是由参数类型aclrtBinaryLoadOption.type及其对应的参数值aclrtBinaryLoadOption.value组成，例如，aclrtBinaryLoadOption.type为ACL_RT_BINARY_LOAD_OPT_LAZY_LOAD时，aclrtBinaryLoadOption.value需根据isLazyLoad的取值来配置。

aclrtBinaryLoadOption.type的定义请参见aclrtBinaryLoadOptionType。

aclrtBinaryLoadOption.value的定义请参见aclrtBinaryLoadOptionValue。
