From: Matt Sinclair Date: Sat, 21 Jul 2018 00:57:22 +0000 (-0400) Subject: arch-gcn3: convert vALU instruction counters from 32 to 64-bit X-Git-Tag: v20.1.0.0~446 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13079629a13c7176a63be9a45bd1baf6eed1fa7d;p=gem5.git arch-gcn3: convert vALU instruction counters from 32 to 64-bit The vALU instruction counters were previously 32 bits, but for some workloads this value wraps around and triggers an assert failure because the max vALU operations are reached. To resolve this, this commit increases the counter size to 64 bits. Change-Id: I90ed4514669485cfea7ccc37ba9d69665277bccb Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29950 Maintainer: Anthony Gutierrez Tested-by: kokoro Reviewed-by: Matt Sinclair --- diff --git a/src/gpu-compute/shader.hh b/src/gpu-compute/shader.hh index 238f6e05c..3e2e56950 100644 --- a/src/gpu-compute/shader.hh +++ b/src/gpu-compute/shader.hh @@ -258,8 +258,8 @@ class Shader : public ClockedObject Stats::Vector vectorInstDstOperand; void regStats(); - int max_valu_insts; - int total_valu_insts; + int64_t max_valu_insts; + int64_t total_valu_insts; Shader(const Params *p); ~Shader();