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]
Bu işleme şunda yer alıyor:
@@ -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;
|
||||
}
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle