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
2025-09-21 19:23:12 -04:00
کامیت شده توسط GitHub
والد 69d96d9e0a
کامیت c6c2fa212c
@@ -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_;