removed redundant signal destroy

Change-Id: Icf0cd76b2620d34c87cfb6c7a83049087c0a0bc4


[ROCm/hip commit: fa7933eb91]
Cette révision appartient à :
Aditya Atluri
2016-07-26 13:35:35 -05:00
Parent 3027a1f269
révision 06abacce98
-4
Voir le fichier
@@ -1657,10 +1657,6 @@ void ihipStream_t::copySync(LockedAccessor_StreamCrit_t &crit, void* dst, const
{
device->_staging_buffer[1]->CopyDeviceToHost(dst, src, sizeBytes, depSignalCnt ? &depSignal : NULL);
}
if(crit->_last_command_type == ihipCommandKernel){
std::cout<<"Destroying depSignal MemcpySync"<<std::endl;
hsa_signal_destroy(depSignal);
}
// The copy completes before returning so can reset queue to empty:
this->wait(crit, true);