rocrtst: fix rocrtst.Test_Example

VerifyResult always returns true. That's not expected.

Signed-off-by: Lang Yu <lang.yu@amd.com>


[ROCm/ROCR-Runtime commit: 89926f5b0b]
This commit is contained in:
Lang Yu
2025-03-13 14:21:03 +08:00
committed by Yu, Lang
parent b570f22aca
commit cd239c7bcf
@@ -285,7 +285,7 @@ uint32_t TestExample::RealIterationNum(void) {
}
static bool VerifyResult(uint32_t *ar, size_t sz) {
for (size_t i = sz; i < sz; ++i) {
for (size_t i = 0; i < sz; ++i) {
if (i*i != ar[i]) {
return false;
}