sarchlab / mgpusim

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

BUG with command -use-unified-memory #81

Open InnoBogus opened 1 month ago

InnoBogus commented 1 month ago

To Reproduce MGPUSim version of commit ID: v3 Command that recreates the problem

./KMPRMMBS-MMMM -unified-gpus=1,2,3,4 -use-unified-memory   -timing -report-all

Current behavior the usage of cpu decrease and the simulation discontinue

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. 图片 图片

Additional context remove ‘-use-unified-memory’ then the command works

syifan commented 1 month ago

This is a known bug. We are working on it. Unfortunately, the only way to fully get it to work is to fully reimplement the page migration feature. So we will only be able to fix it in the v4 release of MGPUSim (no guarantee). For now, please do not use this feature. Even without unified memory, you can have inter-GPU memory access, just no page migration.