SWDEV-546223 - Get image support info from ISA meta (#773)

This commit is contained in:
Ioannis Assiouras authored and GitHub committed 2025-09-02 15:05:18 +01:00
1 parent ae874b489d
commit a1c30318fb
8 files changed
+83 -159

No files matched your search

@@ -131,8 +131,8 @@ bool Kernel::postLoad() {
}
assert(wavefront_size > 0);
workGroupInfo_.availableVGPRs_ = device().isa().vgprPerWavefront();
workGroupInfo_.availableSGPRs_ = device().isa().sgprPerWavefront();
workGroupInfo_.availableVGPRs_ = device().info().vgprsPerSimd_;
workGroupInfo_.availableSGPRs_ = device().info().availableSGPRs_;
workGroupInfo_.privateMemSize_ = workitemPrivateSegmentByteSize_;
workGroupInfo_.localMemSize_ = workgroupGroupSegmentByteSize_;
workGroupInfo_.usedLDSSize_ = workgroupGroupSegmentByteSize_;