| 95 | } |
| 96 | |
| 97 | void compile() |
| 98 | { |
| 99 | if(not k.empty()) |
| 100 | return; |
| 101 | migraphx::gpu::context ctx; |
| 102 | auto binary = migraphx::gpu::compile_hip_raw(ctx, generate_source(), options); |
| 103 | |
| 104 | k = {binary, options.kernel_name}; |
| 105 | } |
| 106 | |
| 107 | void run(const std::string& case_name) |
| 108 | { |