Skip to content

Retry test failures - #617

Merged
michel2323 merged 2 commits into
JuliaGPU:mainfrom
christiangnrd:ptr2.8
Aug 20, 2026
Merged

Retry test failures#617
michel2323 merged 2 commits into
JuliaGPU:mainfrom
christiangnrd:ptr2.8

Conversation

@christiangnrd

@christiangnrd christiangnrd commented Aug 19, 2026

Copy link
Copy Markdown
Member

Revert the hacky workaround.

Runic fails because this branch is in a fork but it was run

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.48%. Comparing base (cf175bf) to head (7d99558).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #617   +/-   ##
=======================================
  Coverage   80.48%   80.48%           
=======================================
  Files          50       50           
  Lines        3490     3490           
=======================================
  Hits         2809     2809           
  Misses        681      681           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@michel2323 michel2323 added the alcf-ci Run ALCF Aurora CI (GitLab) on this fork PR label Aug 19, 2026
@michel2323

Copy link
Copy Markdown
Member

ALCF pipeline is broken after a maintenance window. Filed a ticket.

@michel2323 michel2323 added alcf-ci Run ALCF Aurora CI (GitLab) on this fork PR and removed alcf-ci Run ALCF Aurora CI (GitLab) on this fork PR labels Aug 19, 2026
christiangnrd and others added 2 commits August 20, 2026 09:19
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@michel2323 michel2323 added alcf-ci Run ALCF Aurora CI (GitLab) on this fork PR and removed alcf-ci Run ALCF Aurora CI (GitLab) on this fork PR labels Aug 20, 2026
@michel2323
michel2323 merged commit 5b708e2 into JuliaGPU:main Aug 20, 2026
4 of 6 checks passed
@christiangnrd
christiangnrd deleted the ptr2.8 branch August 20, 2026 15:39
michel2323 referenced this pull request Aug 21, 2026
Every kernel launch, copy, and fill used to create a fresh command list,
submit it to the task's command queue, and drop the reference — leaving
destruction of thousands of driver objects (lists, command buffers, heaps)
to finalizer timing. Under launch storms that garbage is what pushes the
driver into allocation failure, where NEO's error handling is at its worst
(the scratch path aborts outright). It is also pure overhead: the
per-dispatch list costs ~8x in submission latency.

Replace the per-dispatch machinery with a per-task oneStream holding one
in-order asynchronous immediate command list: appends submit directly, and
the garbage source disappears entirely. Level Zero >= 1.9 is required; there
is no fallback submission path.

oneMKL work still needs a real command queue for SYCL interop, so each
stream lazily creates a companion queue — a separate execution stream, which
makes the previously implicit ordering between Julia kernels and oneMKL
calls explicit: sycl_queue drains the immediate list before handing out the
SYCL queue (Julia -> MKL), and a dirty flag makes the next Julia-side
submission drain the companion queue (MKL -> Julia). FFT plans capture
their queue at construction, so their _exec! methods apply the boundary
themselves.

The LTS drain-before-free machinery follows the shape change: the queue
registry becomes a stream registry, draining both the immediate list and
the companion queue before a buffer referenced by in-flight work is freed;
immediate lists get the same bounded-drain finalizer as queues. The
sync-each-submission workaround now host-synchronizes the list after each
append. KA.priority! swaps the task's stream for one with the requested
priority. The scratch hedge moves to the stream, and remains on the
explicit-queue compatibility path (@oneapi queue=...), which still submits
through a per-dispatch list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alcf-ci Run ALCF Aurora CI (GitLab) on this fork PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants