| Files | Last commit | Last update |
|---|---|---|
perf(machine): CSE loop-invariant shape dims in SetExprBatch Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5005 merge perf/expr-cse-setexprbatch into master perf(machine): CSE loop-invariant shape dims in SetExprBatch Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 perf(machine): CSE loop-invariant shape dims in SetExprBatch Hoist loop-invariant shape-dimension evaluation out of SetExprBatch emit path, and add -march=armv8-a for aarch64 AICPU compiles. Also preserves value-depend CF-cache behavior after BuildControlFlow refactor: - Still emit RUNTIME_RootStitch(RUNTIME_FUNCKEY_CACHESTOP) at DYNAMIC_LOOP / EXECUTE_GRAPH value-depend sites - Still set disableCtrlFlowCache for host launchers that skip CF cache build CACHESTOP (device stitch) and disableCtrlFlowCache (program header flag) are complementary, not interchangeable: CACHESTOP stops an in-progress recording; disableCtrlFlowCache asks host not to start/reuse CF cache. Changes: - CSE for invariant dims in backend / expr_generator / symbolic_scalar - UT for expr generator CSE behavior - Armv8-a march flag for aarch64 device compiles - Restore CACHESTOP emit in MarkValueDependDisableCache with clarifying comments Related Issues: N/A See merge request: cann/pypto!5005 | 4 months ago | |
perf(machine): CSE loop-invariant shape dims in SetExprBatch Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5005 merge perf/expr-cse-setexprbatch into master perf(machine): CSE loop-invariant shape dims in SetExprBatch Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 perf(machine): CSE loop-invariant shape dims in SetExprBatch Hoist loop-invariant shape-dimension evaluation out of SetExprBatch emit path, and add -march=armv8-a for aarch64 AICPU compiles. Also preserves value-depend CF-cache behavior after BuildControlFlow refactor: - Still emit RUNTIME_RootStitch(RUNTIME_FUNCKEY_CACHESTOP) at DYNAMIC_LOOP / EXECUTE_GRAPH value-depend sites - Still set disableCtrlFlowCache for host launchers that skip CF cache build CACHESTOP (device stitch) and disableCtrlFlowCache (program header flag) are complementary, not interchangeable: CACHESTOP stops an in-progress recording; disableCtrlFlowCache asks host not to start/reuse CF cache. Changes: - CSE for invariant dims in backend / expr_generator / symbolic_scalar - UT for expr generator CSE behavior - Armv8-a march flag for aarch64 device compiles - Restore CACHESTOP emit in MarkValueDependDisableCache with clarifying comments Related Issues: N/A See merge request: cann/pypto!5005 | 4 months ago | |
fix(machine): Stop emitting CACHESTOP for value-depend Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5092 merge perf/expr-cse-setexprbatch into master fix(machine): Stop emitting CACHESTOP for value-depend Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 1、值依赖由于关闭了host cache,不需要插入CACHE_STOP 2、修复ACLGRAPH模式下H2D拷贝失败的问题 See merge request: cann/pypto!5092 | 4 months ago | |
perf(machine): CSE loop-invariant shape dims in SetExprBatch Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5005 merge perf/expr-cse-setexprbatch into master perf(machine): CSE loop-invariant shape dims in SetExprBatch Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 perf(machine): CSE loop-invariant shape dims in SetExprBatch Hoist loop-invariant shape-dimension evaluation out of SetExprBatch emit path, and add -march=armv8-a for aarch64 AICPU compiles. Also preserves value-depend CF-cache behavior after BuildControlFlow refactor: - Still emit RUNTIME_RootStitch(RUNTIME_FUNCKEY_CACHESTOP) at DYNAMIC_LOOP / EXECUTE_GRAPH value-depend sites - Still set disableCtrlFlowCache for host launchers that skip CF cache build CACHESTOP (device stitch) and disableCtrlFlowCache (program header flag) are complementary, not interchangeable: CACHESTOP stops an in-progress recording; disableCtrlFlowCache asks host not to start/reuse CF cache. Changes: - CSE for invariant dims in backend / expr_generator / symbolic_scalar - UT for expr generator CSE behavior - Armv8-a march flag for aarch64 device compiles - Restore CACHESTOP emit in MarkValueDependDisableCache with clarifying comments Related Issues: N/A See merge request: cann/pypto!5005 | 4 months ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
perf(machine): CSE loop-invariant shape dims in SetExprBatch Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5005 merge perf/expr-cse-setexprbatch into master perf(machine): CSE loop-invariant shape dims in SetExprBatch Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 perf(machine): CSE loop-invariant shape dims in SetExprBatch Hoist loop-invariant shape-dimension evaluation out of SetExprBatch emit path, and add -march=armv8-a for aarch64 AICPU compiles. Also preserves value-depend CF-cache behavior after BuildControlFlow refactor: - Still emit RUNTIME_RootStitch(RUNTIME_FUNCKEY_CACHESTOP) at DYNAMIC_LOOP / EXECUTE_GRAPH value-depend sites - Still set disableCtrlFlowCache for host launchers that skip CF cache build CACHESTOP (device stitch) and disableCtrlFlowCache (program header flag) are complementary, not interchangeable: CACHESTOP stops an in-progress recording; disableCtrlFlowCache asks host not to start/reuse CF cache. Changes: - CSE for invariant dims in backend / expr_generator / symbolic_scalar - UT for expr generator CSE behavior - Armv8-a march flag for aarch64 device compiles - Restore CACHESTOP emit in MarkValueDependDisableCache with clarifying comments Related Issues: N/A See merge request: cann/pypto!5005 | 4 months ago | |
perf(machine): CSE loop-invariant shape dims in SetExprBatch Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5005 merge perf/expr-cse-setexprbatch into master perf(machine): CSE loop-invariant shape dims in SetExprBatch Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 perf(machine): CSE loop-invariant shape dims in SetExprBatch Hoist loop-invariant shape-dimension evaluation out of SetExprBatch emit path, and add -march=armv8-a for aarch64 AICPU compiles. Also preserves value-depend CF-cache behavior after BuildControlFlow refactor: - Still emit RUNTIME_RootStitch(RUNTIME_FUNCKEY_CACHESTOP) at DYNAMIC_LOOP / EXECUTE_GRAPH value-depend sites - Still set disableCtrlFlowCache for host launchers that skip CF cache build CACHESTOP (device stitch) and disableCtrlFlowCache (program header flag) are complementary, not interchangeable: CACHESTOP stops an in-progress recording; disableCtrlFlowCache asks host not to start/reuse CF cache. Changes: - CSE for invariant dims in backend / expr_generator / symbolic_scalar - UT for expr generator CSE behavior - Armv8-a march flag for aarch64 device compiles - Restore CACHESTOP emit in MarkValueDependDisableCache with clarifying comments Related Issues: N/A See merge request: cann/pypto!5005 | 4 months ago | |
fix(machine): Stop emitting CACHESTOP for value-depend Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5092 merge perf/expr-cse-setexprbatch into master fix(machine): Stop emitting CACHESTOP for value-depend Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 1、值依赖由于关闭了host cache,不需要插入CACHE_STOP 2、修复ACLGRAPH模式下H2D拷贝失败的问题 See merge request: cann/pypto!5092 | 4 months ago | |
fix(machine): Stop emitting CACHESTOP for value-depend Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5092 merge perf/expr-cse-setexprbatch into master fix(machine): Stop emitting CACHESTOP for value-depend Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 1、值依赖由于关闭了host cache,不需要插入CACHE_STOP 2、修复ACLGRAPH模式下H2D拷贝失败的问题 See merge request: cann/pypto!5092 | 4 months ago | |
fix(machine): Add mainblock leaf conds Co-authored-by: yanggen<yanggen4@hisilicon.com> # message auto-generated for no-merge-commit merge: !4807 merge master into master fix(machine): Add mainblock leaf conds Created-by: yanggen Commit-by: yanggen Merged-by: cann-robot Description: 问题背景: 当前主尾块判断条件是遍历所有的coalist,从中读取shape与validshape值;但是OP_RESHAPE_COPY_OUT/IN,OP_VEC_DUP / OP_RANGE / OP_TRIUL / OP_UNIFORM等算子,会在coalist后面增加一些额外信息,导致现有直接从coalist中取shape等会校验失败; 整改方案: 修改validshape读取逻辑,不直接遍历所有的coalist,遍历所有io的iop以及oop,然后通过GetIOpAttrOffset与GetOOpAttrOffset获取coaindex,然后根据index值读取对应的validshape值 See merge request: cann/pypto!4807 | 4 months ago | |
fix(machine): Add mainblock leaf conds Co-authored-by: yanggen<yanggen4@hisilicon.com> # message auto-generated for no-merge-commit merge: !4807 merge master into master fix(machine): Add mainblock leaf conds Created-by: yanggen Commit-by: yanggen Merged-by: cann-robot Description: 问题背景: 当前主尾块判断条件是遍历所有的coalist,从中读取shape与validshape值;但是OP_RESHAPE_COPY_OUT/IN,OP_VEC_DUP / OP_RANGE / OP_TRIUL / OP_UNIFORM等算子,会在coalist后面增加一些额外信息,导致现有直接从coalist中取shape等会校验失败; 整改方案: 修改validshape读取逻辑,不直接遍历所有的coalist,遍历所有io的iop以及oop,然后通过GetIOpAttrOffset与GetOOpAttrOffset获取coaindex,然后根据index值读取对应的validshape值 See merge request: cann/pypto!4807 | 4 months ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago |