accel-sim / accel-sim-framework

This is the top-level repository for the Accel-Sim framework.
https://accel-sim.github.io
Other
298 stars 116 forks source link

Dose Accel-sim simulate local memory correctly? #200

Closed gty111 closed 1 year ago

gty111 commented 1 year ago

Hi

In trace-driven mode, I found memory address for inst about local memory is all the same in a warp, like 4080 ffffffff 1 R252 LDL.LU 1 R1 4 1 0xfff72c 0 But actually, local memory is private for each thread. When the inst is sent to gpgpu-sim at here, it treats global memory and local memory access as the same. So it may not properly simulate inst about local memory. This confused me. Looking forward to your reply.

Thanks!

gty111 commented 1 year ago

Oh, I found this function shader_core_ctx::translate_local_memaddr. This can explains aforementioned questions.