You need to manually construct `DeviceWrapper` inside the initializer list.

```
 tvm::Map<tvm::runtime::profiling::DeviceWrapper, tvm::Array<tvm::String>> 
metrics({
     {tvm::runtime::profiling::DeviceWrapper({kDLCPU, 0}), {"perf::Cycles"}}
     });
```





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/papi-counters-with-basic-matmul-relay-function/11263/6)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/b7d9e3f2d15d23670bf3a251df64a1ef5fefc9668bd2405b0bcfa2040515e3f4).

Reply via email to