From 13079629a13c7176a63be9a45bd1baf6eed1fa7d Mon Sep 17 00:00:00 2001 From: Matt Sinclair Date: Fri, 20 Jul 2018 20:57:22 -0400 Subject: [PATCH] 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 --- src/gpu-compute/shader.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.30.2