sarchlab / mgpusim

A highly-flexible GPU simulator for AMD GPUs.
MIT License
62 stars 9 forks source link

Fix bug: cannot report total kernel time when use command "-unified-gpus" #79

Closed DX990307 closed 3 days ago

DX990307 commented 2 days ago

This problem happens due to the function addKernelTimeTracer. This function traces kernel time when the driver processes task *driver.LaunchKernelCommand. If we use args”-gpus”, the driver will not trace the driver’s kernel time since the driver processes task *driver.LaunchUnifiedMultiGPUKernelCommand.