SWDEV-356549 - del Null strm in destroyAllStreams

Change-Id: Ie04172ee39e6333247d07791dffda753a8b9ef41
This commit is contained in:
pghafari authored and Payam Ghafari committed 2022-12-29 15:45:54 -05:00
1 والد 95b2441cbc
کامیت a643c199de
5 files changed
+29 -6

No files matched your search

@@ -464,9 +464,7 @@ hipError_t hipDeviceGetSharedMemConfig ( hipSharedMemConfig * pConfig ) {
hipError_t hipDeviceReset ( void ) {
HIP_INIT_API(hipDeviceReset);
hip::Device* dev = hip::getCurrentDevice();
hip::Stream::destroyAllStreams(dev->deviceId());
amd::MemObjMap::Purge(dev->devices()[0]);
hip::getCurrentDevice()->Reset();
HIP_RETURN(hipSuccess);
}