SWDEV-356549 - del Null strm in destroyAllStreams
Change-Id: Ie04172ee39e6333247d07791dffda753a8b9ef41
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user