SWDEV-292021 - Fix Device Reset

- Device Reset should not purge the allocations that were not by the user
- Addresses QMCPack Test abort due to the removal of all the mem objects during reset

Change-Id: I7b7a123e72bcc985d7e51d17c2382bc618d3e041
이 커밋은 다음에 포함됨:
Satyanvesh Dittakavi 작성하고 Maneesh Gupta가 2021-08-22 23:56:08 -07:00를 커밋함
1 부모 8c5c2befeb
커밋 924695fb5e
5 파일이 변경됨
+12 -7

검색과 일치하는 파일 없음

+1
파일 보기
@@ -508,6 +508,7 @@ bool HSAILProgram::createGlobalVarObj(amd::Memory** amd_mem_obj, void** device_p
}
/* Create a View from the global pal::Memory */
flags = ROCCLR_MEM_INTERNAL_MEMORY;
parent = codeSegGpu_->owner();
*amd_mem_obj = new (parent->getContext()) amd::Buffer(*parent, flags, offset, *bytes);