Skip to content

fix: align backend capabilities, tests, and docs - #43

Merged
voltjia merged 1 commit into
InfiniTensor:masterfrom
gongchensu:fix/backend-capability-matrix
Aug 10, 2026
Merged

fix: align backend capabilities, tests, and docs#43
voltjia merged 1 commit into
InfiniTensor:masterfrom
gongchensu:fix/backend-capability-matrix

Conversation

@gongchensu

@gongchensu gongchensu commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Register Ascend Graph replay testing and correct its async memset expectations in native and dispatch tests.
  • Require aclmdlRIDestroy for Ascend Graph availability and validate that captured Graph handles are non-null.
  • Document the Ascend RI runtime requirement and include Cambricon in accelerator backend mutual-exclusion checks.

Motivation

Ascend Graph capture and replay were implemented, but the replay test was not registered for Ascend builds and async memset was still expected to be unsupported.

Graph availability also did not require aclmdlRIDestroy, allowing an incomplete RI lifecycle to be reported as supported. In addition, WITH_CAMBRICON was missing from the accelerator backend mutual-exclusion check.

No linked issue.

Type of Change

  • feat - new feature / new backend capability / new public API
  • fix - bug fix
  • perf - performance improvement without behavior change
  • refactor - code restructuring without behavior change
  • test - adding or fixing tests only
  • docs - documentation only
  • build / ci - build system or CI configuration
  • chore - tooling, formatting, or other non-code changes
  • Breaking change (requires a ! in the Conventional Commits prefix or a BREAKING CHANGE: footer)

Platforms Affected

  • CPU (WITH_CPU)
  • NVIDIA (WITH_NVIDIA)
  • Iluvatar (WITH_ILUVATAR)
  • Hygon (WITH_HYGON)
  • T-Head (WITH_THEAD)
  • MetaX (WITH_METAX)
  • Moore (WITH_MOORE)
  • Cambricon (WITH_CAMBRICON)
  • Ascend (WITH_ASCEND)
  • Build system / CMake / generated headers
  • Public headers / installed consumer API
  • Documentation only

Smoke Build and Test Result

paste smoke build and test output here

Test Results on Supported Platforms

Platform Affected Build / Smoke Result Full Result / Notes
CPU
NVIDIA
Iluvatar
Hygon
MetaX
Moore
Cambricon
Ascend
Full `ctest` output (optional)
paste here

Benchmark / Performance Impact

Notes for Reviewers

@gongchensu
gongchensu requested a review from voltjia August 7, 2026 09:22
@gongchensu gongchensu self-assigned this Aug 7, 2026
@gongchensu
gongchensu force-pushed the fix/backend-capability-matrix branch from 6384328 to 7d8e35a Compare August 10, 2026 07:30
@voltjia
voltjia merged commit 96e0613 into InfiniTensor:master Aug 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants