diff options
| author | Tim Rogers <[email protected]> | 2013-08-12 08:37:47 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:58 -0700 |
| commit | 33262d1b6c2101dc43eb748d432df43097a1c849 (patch) | |
| tree | 19018b9e7b50302c4a5c90775ae4d4028d6e6340 | |
| parent | 7f49fe9feb174d34efc2a011bad79b38522a360b (diff) | |
Adding the ability to trace all the shader cores
Review ID: 75001 lgtm: 2
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16758]
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | src/gpgpu-sim/shader_trace.h | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -51,7 +51,8 @@ Version 3.2.1+edits (development branch) versus 3.2.1 at half of its original speed. - Replaced intersim with intersim2. intersim is the original BookSim with extentions to interface with GPGPU-Sim. We applied similar changes to - BookSim 2.0. + BookSim 2.0. +- Added the ability to trace all the shader cores in the SHADER_DPRINTF - Bug Fixes: - Fixed the flit count sent to GPUWattch for atomic operations. - Fix for Bug 51 - Updated the function declaration of diff --git a/src/gpgpu-sim/shader_trace.h b/src/gpgpu-sim/shader_trace.h index 8a433cb..de3e059 100644 --- a/src/gpgpu-sim/shader_trace.h +++ b/src/gpgpu-sim/shader_trace.h @@ -36,7 +36,8 @@ #define SHADER_PRINT_STR SIM_PRINT_STR "Core %d - " #define SCHED_PRINT_STR SHADER_PRINT_STR "Scheduler %d - " -#define SHADER_DTRACE(x) (DTRACE(x) && Trace::sampling_core == get_sid()) +#define SHADER_DTRACE(x) (DTRACE(x) && (Trace::sampling_core == get_sid()\ + || Trace::sampling_core == -1)) // Intended to be called from inside components of a shader core. // Depends on a get_sid() function |
