summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader_trace.h
diff options
context:
space:
mode:
authorAaron Barnes <[email protected]>2023-08-07 12:27:43 -0400
committerGitHub <[email protected]>2023-08-07 12:27:43 -0400
commit57452f0afc9f25118ef03aa317669331feaa8571 (patch)
treec617f1a97f6549642034de7d6f3b70723bc6ba75 /src/gpgpu-sim/shader_trace.h
parent712b6104e7399b2dd42c25b4cd788f0f36b5b39d (diff)
parenta42b72214b92b6a97f16c180ad09631cbe50da33 (diff)
Merge branch 'dev' into fix-stats
Diffstat (limited to 'src/gpgpu-sim/shader_trace.h')
-rw-r--r--src/gpgpu-sim/shader_trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/shader_trace.h b/src/gpgpu-sim/shader_trace.h
index e7486d8..367262c 100644
--- a/src/gpgpu-sim/shader_trace.h
+++ b/src/gpgpu-sim/shader_trace.h
@@ -38,7 +38,7 @@
#define SCHED_PRINT_STR SHADER_PRINT_STR "Scheduler %d - "
#define SHADER_DTRACE(x) \
(DTRACE(x) && \
- (Trace::sampling_core == get_sid() || Trace::sampling_core == -1))
+ (Trace::sampling_core == (int)get_sid() || Trace::sampling_core == -1))
// Intended to be called from inside components of a shader core.
// Depends on a get_sid() function