From 00c4ca55753ca703fa1071d299e98a325699aa56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= <contact@tobast.fr>
Date: Fri, 16 Apr 2021 15:30:41 +0200
Subject: [PATCH] Codegen: add llvm-mca begin/end markers

---
 src/pipedream/benchmark/common.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/pipedream/benchmark/common.py b/src/pipedream/benchmark/common.py
index d38f183..c844a09 100644
--- a/src/pipedream/benchmark/common.py
+++ b/src/pipedream/benchmark/common.py
@@ -1373,10 +1373,12 @@ class _Benchmark_Runner:
 
             out.comment("*" * 40)
             out.comment("BGN BENCHMARK")
+            out.comment("LLVM-MCA-BEGIN pipedream_kernel")
 
             ## actually emit kernel
             out.splice_in_code(kernel_code)
 
+            out.comment("LLVM-MCA-END")
             out.comment("END BENCHMARK")
             out.comment("*" * 40)
 
-- 
GitLab