-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SST integration into gpgpusim #44
Conversation
…tribution into sst-integration
…d fix bugs in pipeline script
The Jenkins run might fail a few times as we are still waiting for |
Since the simulator needs to be configured with both normal mode and sst mode, need to rebuild make target to clean prior runs.
…tribution into sst-integration
…tribution into sst-integration
I guess there should also be a CI test for testing GPGPU-Sim with SST unit test? |
…tribution into sst-integration
…cudaMallocHostSST
…tribution into sst-integration
We properly would want to have this merged some time so I don't have to point people to my personal repo in SST docs haha. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. I have some questions, but not neccesary needs changes. Take a look
- Resolve the conflicts, I created PR several days ago to address gcc-10+ problem. You fixed that as well. \
- Would it make sense to move the changes in
shader.cc
andshader.h
and create a filesst-shader.cc
? Just saying. If it's too much trouble then I'm fine withcurrect state.
I fixed most of the places except for moving the changes out of |
Add SST integration into gpgpusim
Allow SST (Structural Simulation Toolkit) to utilize GPGPUSim during simulation.
Usage
To enable SST mode, make sure you have
-SST_mode 1
in thegpgpusim.config
file. You should also use SST specific CUDA functions.Changes
Changes related to SST are encapsulated with#ifdefine __SST__
directives with flag passed from makefilelibcuda
: mostly withcuda_runtime_api.cc
to add SST specific APIs as with SST we won't have access to/proc/self/exe
to extract PTX file info.src/gpgpu-sim/gpu-sim.cc
: for creating simt cluster and SST specific cycle functionsrc/gpgpu-sim/shader.cc
: for handling memory transactions with SST memory system instead of GPGPUSim's