Commit f54b693
committed
docs(plan): the three CANN uncertainties, measured
Two confirmed, one not, and the one that failed is the only real obstacle.
All CANN repos clone anonymously from gitcode.com/cann at branch 8.5.0 under
the CANN Open Software License Agreement 2.0.
CONFIRMED -- hardware-free execution exists, and it is the vendor's own test
path. Ascend C has three run modes, not two: npu (default), sim (NPU
simulation) and cpu (CPU debug), selected by -DCMAKE_ASC_RUN_MODE=. The
simulators ship inside the toolkit per SoC and asc-devkit's own unit tests link
them (pvmodel_ascend910/310p/610, pem_davinci_ascend910B1/310B/610Lite).
The distinction that decides whether a criterion is usable: cpu mode links
tikicpulib and the tikcpp headers, so the same kernel source is compiled by the
HOST compiler and there is no island in that graph at all. Passing in cpu mode
proves the kernel's numerics, not the mechanism under test -- the criterion
would be pointed at the wrong object, which is a shape this repository has paid
for repeatedly. sim mode is recorded as keeping the island by inference, not by
measurement, with the check to run at implementation time stated.
CONFIRMED -- operator registration is JSON and is per-SoC. In ops-math (72 MB,
1451 .cpp under math/) each operator carries op_host/config/<soc>/<op>_binary.json
mapping the operator signature to the device binary's filename, with six SoC
directories. That is a textbook role = "manifest" case and it is target-
conditional, so the slice exercises SPEC-004's target axis as well. The source
layout is also already islanded: op_kernel/ beside op_host/ per operator.
NOT CONFIRMED -- BiSheng is not a standalone artifact. It lives at
${ASCEND_DIR}/compiler/ccec_compiler/bin/bisheng inside the CANN toolkit, whose
download requires accepting a separate licence and appears to need login. No
stable anonymous URL was found and redistribution terms are unverified. This is
the experiment's one real obstacle and it is not a technical one.
Consequently the feasibility gate is corrected: "hardware or a simulator" was
wrong as a hard gate, because the decisive criterion (git diff src/ empty) is
entirely build-time. The only true prerequisite is obtaining BiSheng lawfully.
Incidental finding worth recording: CMake registers Ascend C as a LANGUAGE
(FindASC.cmake, "plugin support ASC language") with the real machinery inside
the toolkit. That is third-party corroboration of the axis in section 9 --
CMake puts it in the engine, mcpp puts it in a package. Same axis, different
attribution, which is exactly what section 7 exists to decide.1 parent cb14d58 commit f54b693
1 file changed
Lines changed: 109 additions & 12 deletions
Lines changed: 109 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
466 | 466 | | |
467 | | - | |
468 | | - | |
| 467 | + | |
| 468 | + | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | | - | |
475 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
476 | 573 | | |
477 | 574 | | |
478 | | - | |
| 575 | + | |
479 | 576 | | |
480 | 577 | | |
481 | | - | |
| 578 | + | |
482 | 579 | | |
483 | | - | |
484 | | - | |
| 580 | + | |
485 | 581 | | |
486 | 582 | | |
487 | 583 | | |
| |||
541 | 637 | | |
542 | 638 | | |
543 | 639 | | |
544 | | - | |
| 640 | + | |
| 641 | + | |
0 commit comments