SWDEV-1 Fix a bug of VGPRs (#1000)

Fix a bug of VGPRs due to a previous patch:
SWDEV-546223 - Get image support info from ISA meta
This commit is contained in:
MachineTom authored and GitHub committed 2025-09-21 19:23:12 -04:00
1 parent 69d96d9e0a
commit c6c2fa212c
1 file changed
+1 -1
@@ -128,7 +128,7 @@ bool Kernel::postLoad() {
}
assert(wavefront_size > 0);
workGroupInfo_.availableVGPRs_ = device().info().vgprsPerSimd_;
workGroupInfo_.availableVGPRs_ = device().info().availableVGPRs_;
workGroupInfo_.availableSGPRs_ = device().info().availableSGPRs_;
workGroupInfo_.privateMemSize_ = workitemPrivateSegmentByteSize_;
workGroupInfo_.localMemSize_ = workgroupGroupSegmentByteSize_;