Skip to content

Commit bde2022

Browse files
committed
ACRMS unit test: reduced unit test waveform size from 50M to 10M points due to maxStorageBufferRange limit on llvmpipe causing unit test failures when tests were run on GitHub Actions runners with no discrete GPU. Fixes #978.
1 parent b0bf659 commit bde2022

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Filters/Filter_ACRMS.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ TEST_CASE("Filter_ACRMS")
7878
GPU cycle-by-cycle output 10.84 ms
7979
*/
8080

81-
const size_t depth = 50000000;
81+
//50M is a good benchmark, but drop down to 10M because CI uses llvmpipe which has maxStorageBufferRange
82+
//of 134217728 (128 MB = 32M float32s)
83+
const size_t depth = 10000000;
8284

8385
//Input waveforms
8486
UniformAnalogWaveform* wfm = new UniformAnalogWaveform;

0 commit comments

Comments
 (0)