| 105 | } |
| 106 | |
| 107 | void run(const std::string& case_name) |
| 108 | { |
| 109 | auto failures = migraphx::gpu::write_to_gpu(int32_t{0}, true); |
| 110 | compile(); |
| 111 | k.launch(nullptr, options.global, options.local)(test_cases.at(case_name), failures.get()); |
| 112 | CHECK(hipDeviceSynchronize() == hipSuccess); |
| 113 | test::report_failure(*failures); |
| 114 | } |
| 115 | }; |
| 116 | |
| 117 | int main(int argc, const char* argv[]) |