SWDEV-508590 - Fix segfault issue with hipModuleLoad
- Ensuring devProgram pointer isn't nullptr Change-Id: Ia5786d0a2441f3a512d79b4998eb314beb98b35e
このコミットが含まれているのは:
@@ -132,7 +132,7 @@ int32_t Program::addDeviceProgram(Device& device, const void* image, size_t leng
|
||||
Device& rootDev = device;
|
||||
|
||||
// if the rootDev is already associated with a program
|
||||
if (devicePrograms_[&rootDev] != NULL) {
|
||||
if (getDeviceProgram(rootDev) != NULL) {
|
||||
return CL_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする