data flow in cuda-sim

23 views
Skip to first unread message

Shougang Yuan

<syuan3@ncsu.edu>
unread,
Jan 11, 2023, 4:32:20 PM1/11/23
to accel-sim
Hi, All,

Have any of you tried to get the data flow of applications from the cuda-sim? If we have one memory address in gpgpu-sim, and we want to know the real data of the application corresponding to this address, how can we get it in the simulator?

Thanks and regards
Shougang

Junrui Pan

<panjunrui100@gmail.com>
unread,
Jan 11, 2023, 8:09:47 PM1/11/23
to accel-sim
Suppose you're using execution-driven mode. 
This is the memory struct that stores real data of the app

And here is the read function

And you can reference how to get a read a value from the memory struct from the functional implementation of load inst

Hope these help!

Thanks,
Junrui 
Reply all
Reply to author
Forward
0 new messages