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:
@@ -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_;
|
||||
|
||||
مرجع در شماره جدید
Block a user