SWDEV-520384 - Improve postLoad latency during program load (#758)
Change-Id: I3c5a9e148efbd845c8fa3e4b51d9653664e9c499
This commit is contained in:
1 parent
a028359ead
commit
191f068193
5 files changed
+87
-59
No files matched your search
@@ -47,11 +47,6 @@ bool Kernel::postLoad() {
|
||||
workGroupInfo_.availableLDSSize_ = device().info().localMemSizePerCU_;
|
||||
assert(workGroupInfo_.availableLDSSize_ > 0);
|
||||
|
||||
if (!SetAvailableSgprVgpr()) {
|
||||
DevLogError("Cannot set available SGPR/VGPR\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
// Get the kernel code handle
|
||||
hsa_status_t hsaStatus;
|
||||
hsa_executable_symbol_t symbol;
|
||||
@@ -145,6 +140,8 @@ bool Kernel::postLoad() {
|
||||
}
|
||||
assert(wavefront_size > 0);
|
||||
|
||||
workGroupInfo_.availableVGPRs_ = device().isa().vgprPerWavefront();
|
||||
workGroupInfo_.availableSGPRs_ = device().isa().sgprPerWavefront();
|
||||
workGroupInfo_.privateMemSize_ = workitemPrivateSegmentByteSize_;
|
||||
workGroupInfo_.localMemSize_ = workgroupGroupSegmentByteSize_;
|
||||
workGroupInfo_.usedLDSSize_ = workgroupGroupSegmentByteSize_;
|
||||
|
||||
Reference in new issue
Block a user