NVlabs / timeloop

Timeloop performs modeling, mapping and code-generation for tensor algebra workloads on various accelerator architectures.
https://timeloop.csail.mit.edu/
BSD 3-Clause "New" or "Revised" License
340 stars 104 forks source link

Using accelergy with timeloop #66

Closed Diksha-Moolchandani closed 3 years ago

Diksha-Moolchandani commented 3 years ago

Hi,

I installed accelergy and "which accelergy" works fine. Now when I install timeloop, I provided the pat symbolic link as given in the readme and then built with scons --accelergy and scons -j4.

I also have timeloop running on another machine where I followed the same steps except scons --accelergy.

In both of them I am getting the same energy per macc output. I am unsure if the first version is using accelergy or it is using the default pat model.

Can you please guide me here? Is the default pat symbolic link needed in case of running with accelergy?

nellie-wu commented 3 years ago

scons --accelergy is the command for compiling Timeloop with Accelergy and scons -j4 is the command for compiling without Accelergy.

So in your case, please only run scons --accelergy command.

Diksha-Moolchandani commented 3 years ago

Thanks a lot