From 027af8dacd242027b4b606fcd84bcdd359a4f94d Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Fri, 20 Sep 2024 10:32:52 -0400 Subject: [PATCH] hsakmt: Update hsa capabilities with precise ALU ops Update the HSA capabilities field with precise ALU ops bit support for GPU debugging. Change-Id: I796f2c2e0559577828aba510c401ed5187e10179 --- libhsakmt/include/hsakmt/hsakmttypes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libhsakmt/include/hsakmt/hsakmttypes.h b/libhsakmt/include/hsakmt/hsakmttypes.h index 5350f7e16f..15a6c801f1 100644 --- a/libhsakmt/include/hsakmt/hsakmttypes.h +++ b/libhsakmt/include/hsakmt/hsakmttypes.h @@ -217,7 +217,8 @@ typedef union unsigned int SVMAPISupported : 1; // Whether or not the SVM API is supported unsigned int CoherentHostAccess: 1; // Whether or not device memory can be coherently accessed by the host CPU unsigned int DebugSupportedFirmware : 1; // Indicates if HWS firmware supports GPU debugging - unsigned int Reserved : 2; + unsigned int PreciseALUOperationsSupported : 1; //Indicates if precise ALU operations are supported for GPU debugging + unsigned int Reserved : 1; } ui32; } HSA_CAPABILITY;