diff options
| -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 |
