SWDEV-513197 - Improve launch perf for Device Heap kernels
- If any kernel uses device heap, the launch needs to be preceeded by an init kernel, Save on the extra barrier packet launch/flush between the init heap kernel and user kernel Change-Id: I8ebc6246188200e5f673dc464bc76a53bcb8b7c6
이 커밋은 다음에 포함됨:
1 부모
e9b33af45a
커밋
ca530c660b
2 파일이 변경됨
+6
-6
검색과 일치하는 파일 없음
@@ -851,10 +851,9 @@ bool VirtualGPU::processMemObjects(const amd::Kernel& kernel, const_address para
|
||||
WriteAqlArgAt(const_cast<address>(params), mem, sizeof(void*), it->second);
|
||||
}
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_KERN,
|
||||
"Arg%d: %s %s = val:%s", i, desc.typeName_.c_str(), desc.name_.c_str(),
|
||||
(desc.size_ == 4) ? std::to_string(*reinterpret_cast<const int*>(srcArgPtr)).c_str() :
|
||||
(desc.size_ == 8) ? std::to_string(*reinterpret_cast<const long long*>(srcArgPtr)).c_str()
|
||||
: "");
|
||||
"Arg%d: %s %s = val:0x%lx", i, desc.typeName_.c_str(), desc.name_.c_str(),
|
||||
(desc.size_ == 4) ? *reinterpret_cast<const int*>(srcArgPtr) :
|
||||
(desc.size_ == 8) ? *reinterpret_cast<const long long*>(srcArgPtr) : 0LL);
|
||||
}
|
||||
else if (desc.type_ == T_SAMPLER) {
|
||||
uint32_t index = desc.info_.arrayIndex_;
|
||||
|
||||
새 이슈에서 참조
사용자 차단