Skip to content

Commit

Permalink
Update assertOnGpu-in-LM=flat tests
Browse files Browse the repository at this point in the history
Signed-off-by: Danila Fedorin <[email protected]>
  • Loading branch information
DanilaFe committed Aug 30, 2024
1 parent 56f4e09 commit 594dee7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions test/gpu/nongpu/assertOnGpu.stmt.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
assertOnGpu.chpl:9: error: @assertOnGpu encountered in non-GPU compilation
assertOnGpu.chpl:9: note: this attribute has a runtime component, and will always halt execution in a non-GPU context.
assertOnGpu.chpl:9: note: consider using '@gpu.assertEligible' to ensure that the code can be executed on the GPU without runtime checks.
assertOnGpu.chpl:9: warning: @assertOnGpu encountered in non-GPU compilation
assertOnGpu.chpl:9: warning: this attribute has a runtime component, and will always halt execution in a non-GPU context.
assertOnGpu.chpl:9: warning: consider using '@gpu.assertEligible' to ensure that the code can be executed on the GPU without runtime checks.
assertOnGpu.chpl:9: error: assertOnGpu() failed
8 changes: 5 additions & 3 deletions test/gpu/nongpu/assertOnGpu.var.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
assertOnGpu.chpl:14: error: @assertOnGpu encountered in non-GPU compilation
assertOnGpu.chpl:14: note: this attribute has a runtime component, and will always halt execution in a non-GPU context.
assertOnGpu.chpl:14: note: consider using '@gpu.assertEligible' to ensure that the code can be executed on the GPU without runtime checks.
assertOnGpu.chpl:14: warning: @assertOnGpu encountered in non-GPU compilation
assertOnGpu.chpl:14: warning: this attribute has a runtime component, and will always halt execution in a non-GPU context.
assertOnGpu.chpl:14: warning: consider using '@gpu.assertEligible' to ensure that the code can be executed on the GPU without runtime checks.
assertOnGpu.chpl:14: warning: consider using '@gpu.assertEligible' to ensure that the code can be executed on the GPU without runtime checks.
assertOnGpu.chpl:14: error: assertOnGpu() failed

0 comments on commit 594dee7

Please sign in to comment.