Open JunjoFor opened 2 weeks ago
@JunjoFor The current implementation of unified memory is buggy. We are currently working on a project that will entirely revamp the implementation of unified memory. Do you need this problem urgently solved? I may give you some suggestions on how to avoid this problem.
The visualisation of the tasks is cool, but not a must for me. I reported the issue to let you know. Nice to know that you are working on revising the unified memory implementation. I would like to implement a L3 TLB shared by all GPUs like in https://arxiv.org/pdf/2404.18361 in the near future. I don't know how the revamp might interfere with the implementation of that (with the idea of merging that into the main repository one day).
To Reproduce MGPUSim version of commit ID: 1596eeab6f73a98dbc435d2cca51afba1e9fc998
Command that recreates the problem
./fft -unified-gpus=1,2,3,4 -timing -use-unified-memory -trace-vis
Current behavior The simulation crashes with a Panic: UNIQUE constraint failed: trace.task_id.
Full error:
Expected behavior The simulation doesn't crash
Additional context It also happens when I try to run fir with the same options and extended length