Gemm test return value (#148)

* Add return value

* Replace _Float16 to ck::half_t

* A test should return 0 if success and return non-zero if fail
This commit is contained in:
rocking5566
2022-03-25 05:26:14 +08:00
committed by GitHub
parent 12f4cfce96
commit 3ba149328f
5 changed files with 9 additions and 5 deletions

View File

@@ -113,4 +113,5 @@ int main()
}
std::cout << "TestGemm ..... " << (res ? "SUCCESS" : "FAILURE") << std::endl;
return res ? 0 : 1;
}

View File

@@ -151,4 +151,5 @@ int main()
}
std::cout << "TestGemm ..... " << (res ? "SUCCESS" : "FAILURE") << std::endl;
return res ? 0 : 1;
}

View File

@@ -151,4 +151,5 @@ int main()
}
std::cout << "TestGemm ..... " << (res ? "SUCCESS" : "FAILURE") << std::endl;
return res ? 0 : 1;
}

View File

@@ -129,4 +129,5 @@ int main()
}
std::cout << "TestGemm ..... " << (res ? "SUCCESS" : "FAILURE") << std::endl;
return res ? 0 : 1;
}