aclrtCreateBinary
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Creates data of the aclrtBinary type. This data type is used to describe the binary information of an operator. The operator here is a custom operator developed by using Ascend C.
To destroy data of the aclrtBinary type, call aclrtDestroyBinary.
Prototype
1 | aclrtBinary aclrtCreateBinary(const void *data, size_t dataLen) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
data |
Input |
Pointer to the memory address for storing the binary file (*.o file) data of the operator. In standard |
dataLen |
Input |
Memory size, in bytes |
Returns
Pointer to data of the aclrtBinary type.