Skip to content

Test the Float32 explicit tau-leaping kernel on GPUs now that PoissonRandom supports it - #686

Merged
isaacsas merged 1 commit into
SciML:masterfrom
isaacsas:test/poissonrandom-float32-gpu
Oct 24, 2026
Merged

isaacsas merged 1 commit into
SciML:masterfrom
isaacsas:test/poissonrandom-float32-gpu

Conversation

@isaacsas

Copy link
Copy Markdown
Member

PoissonRandom 0.4.14, registered on 2026-10-17, makes procf type-stable for Float32 rates (SciML/PoissonRandom.jl#103). As a result, the Float32 explicit tau-leaping kernel now compiles on GPU backends. The @test_broken for that case in test/kernel_contract_tests.jl therefore passes unexpectedly, and the GPU Tests job fails on every PR (for example #683 and #685):

Kernel current-parameter rates: SimpleExplicitTauLeaping{Float64}: Error During Test at test/kernel_contract_tests.jl:180
 Unexpected Pass

This PR removes that special case. The Float32 GPU case now runs the same assertions as every other algorithm, backend, and rate type.

Not included: raising the PoissonRandom compat floor from 0.4.8 to 0.4.14. With an older PoissonRandom, the Float32 explicit tau-leaping kernel still fails to compile on GPUs, as it did before. I can add the floor here if wanted.

Validation

  • Locally, the CPU-backend kernelabstractions_explicit_tau.jl passes (current-parameter rates: 36/36).
  • The GPU path is checked by this PR's GPU Tests job.

🤖 Generated with Claude Code 2.1.300 (model: claude-opus-5-5)

PoissonRandom 0.4.14 (SciML/PoissonRandom.jl#103) makes `procf`
type-stable for Float32 rates, so the Float32 explicit tau-leaping
kernel now compiles on GPU backends. The `@test_broken` for that case
passed unexpectedly and failed the GPU tests. Run the same assertions
for every algorithm, backend, and rate type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@isaacsas
isaacsas merged commit e9356a4 into SciML:master Oct 24, 2026
15 checks passed
@isaacsas
isaacsas deleted the test/poissonrandom-float32-gpu branch October 24, 2026 01:31
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.

1 participant