Check RMA functional test data in GPU kernel (#91)

此提交包含在:
Yiltan authored and GitHub committed 2025-04-28 16:06:05 -04:00
1 父節點 67bc5b9e5a
當前提交 c81722c339
6 file changed
+100 -18

No files matched your search

+3
查看文件
@@ -83,6 +83,8 @@ Tester::Tester(TesterArguments args) : args(args) {
CHECK_HIP(hipMalloc((void**)&timer, sizeof(long long int) * num_timers));
CHECK_HIP(hipMalloc((void**)&start_time, sizeof(long long int) * num_timers));
CHECK_HIP(hipMalloc((void**)&end_time, sizeof(long long int) * num_timers));
CHECK_HIP(hipHostMalloc((void**)&verification_error, sizeof(bool)));
*verification_error = false;
}
Tester::~Tester() {
@@ -92,6 +94,7 @@ Tester::~Tester() {
CHECK_HIP(hipEventDestroy(stop_event));
CHECK_HIP(hipEventDestroy(start_event));
CHECK_HIP(hipStreamDestroy(stream));
CHECK_HIP(hipFree(verification_error));
}
std::vector<Tester*> Tester::create(TesterArguments args) {