SWDEV-245503 - Improve hipModuleLoad performance
Change-Id: Icbcd37d9b4e6d79f296cc8693edf25689b19fa11
[ROCm/clr commit: e914f281ff]
Этот коммит содержится в:
1 родитель
7395ae1366
Коммит
8b61666254
1 file changed
+1
-1
@@ -2002,7 +2002,7 @@ bool Program::setBinary(const char* binaryIn, size_t size, const device::Program
|
||||
if (same_dev_prog != nullptr) {
|
||||
compileOptions_ = same_dev_prog->compileOptions();
|
||||
linkOptions_ = same_dev_prog->linkOptions();
|
||||
} else {
|
||||
} else if (!amd::IS_HIP) {
|
||||
clBinary()->loadCompileOptions(compileOptions_);
|
||||
clBinary()->loadLinkOptions(linkOptions_);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user