From 43126bc19b4a70ac7b5beebec55f32a59df64e9a Mon Sep 17 00:00:00 2001 From: Ioannis Assiouras Date: Mon, 11 Sep 2023 10:47:38 +0100 Subject: [PATCH] SWDEV-420989 - Initialize tiled_info meta_group_rank and meta_group_size Change-Id: I6792e928702d0fef81f18e74eaead3ad3a8fbb7b --- hipamd/include/hip/amd_detail/amd_hip_cooperative_groups.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hipamd/include/hip/amd_detail/amd_hip_cooperative_groups.h b/hipamd/include/hip/amd_detail/amd_hip_cooperative_groups.h index 589c8c950f..04ecca70d2 100644 --- a/hipamd/include/hip/amd_detail/amd_hip_cooperative_groups.h +++ b/hipamd/include/hip/amd_detail/amd_hip_cooperative_groups.h @@ -390,6 +390,8 @@ class coalesced_group : public thread_group { coalesced_info.member_mask = member_mask; // Which threads are active coalesced_info.size = __popcll(coalesced_info.member_mask); // How many threads are active coalesced_info.tiled_info.is_tiled = false; // Not a partitioned group + coalesced_info.tiled_info.meta_group_rank = 0; + coalesced_info.tiled_info.meta_group_size = 1; } public: