Skip to content

Fix GPU tests after new dead code pass#27604

Merged
jabraham17 merged 1 commit intochapel-lang:mainfrom
jabraham17:fix-dead-code-gpu
Aug 6, 2025
Merged

Fix GPU tests after new dead code pass#27604
jabraham17 merged 1 commit intochapel-lang:mainfrom
jabraham17:fix-dead-code-gpu

Conversation

@jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Aug 6, 2025

Fixes a few GPU tests after adding a new dead code pass in #27562.

These tests use empty functions to trigger certain conditions in the compiler, but the empty functions are now being removed. This is a test only fix to make those functions not be empty.

  • Tested that all failing tests now pass with CHPL_GPU=nvidia
test/gpu/native/assertOnFailToGpuizeAttr.chpl
test/gpu/native/assertOnNotGpuEligible.chpl
test/gpu/native/errors/gpuTrace.chpl
test/gpu/native/errors/gpuTraceStd.chpl
test/gpu/native/errors/gpuTraceViaCall.chpl
test/gpu/native/reportGpu.chpl

[Reviewed by @e-kayrakli]

Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
@jabraham17 jabraham17 requested a review from e-kayrakli August 6, 2025 15:46
@jabraham17 jabraham17 merged commit 7351f9e into chapel-lang:main Aug 6, 2025
10 checks passed
@jabraham17 jabraham17 deleted the fix-dead-code-gpu branch August 6, 2025 18:21
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.

2 participants