| from pathlib import Path | |
| from reproduction.kernel_audit import audit_cuda_sources | |
| ROOT = Path(__file__).resolve().parents[1] | |
| def test_released_kernels_sparse_gather_but_do_not_implement_literal_no_multiply(): | |
| audit = audit_cuda_sources(ROOT) | |
| assert audit["sparse_dynamic_value_gather"] is True | |
| assert audit["literal_value_stage_no_multiply"] is False | |
| assert audit["no_multiply_verdict"] == "falsified" | |
| assert set(audit["files_with_value_multiply"]) == { | |
| "flash_style_fused_santa_fixed_tile_budgets/santa_cuda_kernel.cu", | |
| "santa_fused_proportional_tile_budgets/santa_cuda_kernel.cu", | |
| } | |