Lets take example of AlterOpLayout. Currently, if we want to tag a function to run on specific targets, we can do that in Python. For example, we can use register("cpu")
to trigger this function only for Intel CPUs.
Is there a way to do the same in C++?