SWDEV-308644 - merge roc blit kernels
Change-Id: I378e511959fe17c03fa45066022e9670a4d181f0
[ROCm/clr commit: f5c9ad5b1d]
このコミットが含まれているのは:
1 親
4d011fd9ae
コミット
ea2741f631
8ファイル変更
+29
-58
検索条件に一致するファイルはありません
@@ -834,22 +834,20 @@ void Device::ReleaseExclusiveGpuAccess(VirtualGPU& vgpu) const {
|
||||
|
||||
bool Device::createBlitProgram() {
|
||||
bool result = true;
|
||||
const char* extraKernel = nullptr;
|
||||
std::string extraKernel;
|
||||
|
||||
#if defined(USE_COMGR_LIBRARY)
|
||||
std::string rocKernel;
|
||||
if (settings().useLightning_) {
|
||||
if (amd::IS_HIP) {
|
||||
rocKernel = rocBlitLinearSourceCode;
|
||||
extraKernel = rocBlitLinearSourceCode;
|
||||
if (info().cooperativeGroups_) {
|
||||
rocKernel.append(GwsInitSourceCode);
|
||||
}
|
||||
extraKernel.append(GwsInitSourceCode);
|
||||
}
|
||||
}
|
||||
else {
|
||||
rocKernel = SchedulerSourceCode;
|
||||
extraKernel = SchedulerSourceCode;
|
||||
}
|
||||
|
||||
extraKernel = rocKernel.c_str();
|
||||
|
||||
}
|
||||
#endif // USE_COMGR_LIBRARY
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする