Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
https://gitcode.com/cann/ops-nn/blob/7eb068bc601508d2dda8fd3717ffdf5c77f69e1d/activation/relu/docs/aclnnAddRelu%26aclnnInplaceAddRelu.md
2.5 命令行/示例可执行性——调用示例存在内存泄漏:第二次 aclrtMalloc(&workspaceAddr, ...) 覆盖第一次 workspace 指针前未 aclrtFree,且文末仅按当前 workspaceSize 条件释放一次。
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Document Link(文档链接)
https://gitcode.com/cann/ops-nn/blob/7eb068bc601508d2dda8fd3717ffdf5c77f69e1d/activation/relu/docs/aclnnAddRelu%26aclnnInplaceAddRelu.md
Issues Section(问题文档片段)
Existing Issues(存在的问题)
2.5 命令行/示例可执行性——调用示例存在内存泄漏:第二次 aclrtMalloc(&workspaceAddr, ...) 覆盖第一次 workspace 指针前未 aclrtFree,且文末仅按当前 workspaceSize 条件释放一次。