Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added aerialvision/ply/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file added aerialvision/ply/__pycache__/lex.cpython-38.pyc
Binary file not shown.
Binary file added aerialvision/ply/__pycache__/yacc.cpython-38.pyc
Binary file not shown.
10 changes: 7 additions & 3 deletions src/debug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,13 @@ void gpgpu_sim::gpgpu_debug() {
if (!strcmp(tok, "dp")) {
int shader_num = 0;
tok = strtok(NULL, " \t\n");
sscanf(tok, "%d", &shader_num);
dump_pipeline((0x40 | 0x4 | 0x1), shader_num, 0);
printf("\n");
if (0x0 == tok) {
printf("Hint: dp must take with <n> to display pipeline contents on SM \n");
} else {
sscanf(tok, "%d", &shader_num);
dump_pipeline((0x40 | 0x4 | 0x1), shader_num, 0);
printf("\n");
}
fflush(stdout);
} else if (!strcmp(tok, "q") || !strcmp(tok, "quit")) {
printf("\nreally quit GPGPU-Sim (y/n)?\n");
Expand Down