SWDEV-465215 - hipFuncSetAttribute hipFuncGetAttributes fixes

Change-Id: I2151e4470d63918ff6b809a8fdeaae5bea5cc899
This commit is contained in:
Ajay
2024-06-04 12:53:52 -07:00
committed by Ajay GunaShekar
parent 9de6d4d46c
commit c9955a1cea
6 changed files with 54 additions and 14 deletions
+2
View File
@@ -188,6 +188,8 @@ bool LightningKernel::postLoad() {
workGroupInfo_.wavefrontPerSIMD_ = program()->rocDevice().info().maxWorkItemSizes_[0] / wavefront_size;
workGroupInfo_.wavefrontSize_ = wavefront_size;
workGroupInfo_.constMemSize_ = const_size_bytes;
workGroupInfo_.maxDynamicSharedSizeBytes_ = static_cast<int>(workGroupInfo_.availableLDSSize_ -
workGroupInfo_.localMemSize_);
if (workGroupInfo_.size_ == 0) {
return false;
}