SWDEV-447384 - Handle double free case.
Change-Id: I7a1d45c2f7510180911507d56ec863982b161f6c
[ROCm/clr commit: 43e2bb6126]
Este cometimento está contido em:
cometido por
Jaydeepkumar Patel
ascendente
6733795fee
cometimento
2d8d4d5821
@@ -171,6 +171,8 @@ hipError_t hipFreeAsync(void* dev_ptr, hipStream_t stream) {
|
||||
// The current implementation has unconditional waits
|
||||
return ihipFree(dev_ptr);
|
||||
}
|
||||
} else {
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
} else {
|
||||
if (!AMD_DIRECT_DISPATCH) {
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador