Skip to content

FusedSolver: refactorize!+solve! exceed FUSED_CYCLE_ALLOC_BUDGET on oneAPI #165

Closed

Description

@michel2323

Found while working on: the ALCF Aurora CI for the oneAPI extension (PR #157), not a task

What: test/test_fused.jl:244, testset "refactorization and solve allocate within the launch allowance". All six cases (Float32 and Float64; laplacian3d 10³ and 18³ "SPD", random_symindef 400 "S") fail on oneAPI because the host allocations of one refactorize! plus solve! exceed FUSED_CYCLE_ALLOC_BUDGET = 65536 (test/utils.jl:817).

  • Aurora, Max 1550, LTS stack, oneAPI.jl 2.10, ALCF pipeline 72804: 65872–69264 B.
  • headroom, the oneapi leg of ci.yml on main: 68992–75520 B.

The budget was set from CUDA measurements (36–42 KB per cycle), and oneAPI.jl's per-launch host allocation is apparently larger. Everything else in the GPU suite passes on Aurora: 66535 pass, 6 fail (only these), 4 broken.

Why it is out of scope: it belongs to T33 (FusedSolver) or T34 (fused pipeline). PR #157 only moves the oneAPI CI to Aurora. It will make the new ALCF / LTS stack (Aurora) check red until it is fixed.

Suggested fix or plan change: either a per-backend allowance, as ka_cpu_alloc_budget does for the KA 0.10 CPU backend (#145), measured on oneAPI, or find which oneAPI.jl call allocates per launch.

Activity

  1. added
    found-by-agent
    bug
    testing
    oneapi
    fused
    on Oct 29, 2026
  2. michel2323 commented on Oct 29, 2026

    @michel2323
    MemberAuthor

    Related: #145 (the CPU allowance is too loose, this one is too tight for oneAPI). Both ask for a per-backend measured allowance; #166 was a duplicate of this issue.

  3. michel2323 commented on Oct 30, 2026

    @michel2323
    MemberAuthor

    Fixed by #169: FUSED_CYCLE_ALLOC_BUDGET became the per-backend fused_cycle_alloc_budget(backend) (64 KiB default, 96 KiB on oneAPI), after measuring 352–368 B of host allocation per KernelAbstractions launch on Aurora (Max 1550) against ~256 B on CUDA, independent of n. test_fused passes on Aurora (CPU + oneAPI) and the CI on main is green. The too-loose CPU allowance stays tracked in #145.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfound-by-agentfusedoneapitesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions