Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

How to Query Power Supply using OpenCL

Hello,

Im doing a dissertation using the cyclone v board, and need to vary the power supply using OpenCL so that I can use the information to execute different kernels depending on the result. IIm told this is possible using OpenCL, can anyone explain how?

thanks

OK :)

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Power supply or power usage? If you want to measure power usage, it depends on whether the board you are using has a power sensor or not. If it doesn't, there is nothing you can do. If it does, you should ask the board manufacturer to see if they provide an API to query the sensor. Either way, this has nothing to do with OpenCL.