OpenCL Kernel Power Consumption

I look for a software measurement tool or an API I can include in my code to know my kernel power consumption during execution on GPU / Linux. Is there an existing way to do that?

Intel has some tools which can measure CPU and GPU power usage. I’m not aware of anything off the top of my head for AMD or NVIDIA.