Branch: refs/heads/main
Revision: a2c7053
Author: e-kayrakli
Link: Unavailable
Log Message:
Merge pull request #20288 from e-kayrakli/gpu-multiGPU-test-fixes
Improve the portability of the "multiGPU" test
This test was pretty hard coded for the system where we run nightly testing (8
GPUs per node). This PR:
- Fixes that by instead of writing the arrays on the console, asserting values
on the CPU. - While there, uses the "new"
gpus
interface - While there, uses
writeln
to write arrays as this test no longer uses
--verbose
(changed in a previous PR)
[Trivial test change, not reviewed]
Test:
-
passes in a single-gpu workstation
-
passes in a multi-gpu compute node
Modified Files:
M test/gpu/native/multiGPU/multiGPU.chpl
M test/gpu/native/multiGPU/multiGPU.goodCompare: Comparing 73962d93e355...a2c705358757 · chapel-lang/chapel · GitHub