SWDEV-514959 - Fix memory leaks in streamperthread tests (#14)
Change-Id: I7b133d422f675d45050d7f724d632fa2dc997baf
Este cometimento está contido em:
cometido por
GitHub
ascendente
04469c0cde
cometimento
fde891bc76
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
|
||||
Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
@@ -135,4 +135,8 @@ TEST_CASE("Unit_hipStreamPerThread_MemcpyAsync") {
|
||||
for (unsigned int i = 0; i < ele_size; ++i) {
|
||||
REQUIRE(A_h[i] == 123);
|
||||
}
|
||||
}
|
||||
|
||||
// Clean-up
|
||||
HIP_CHECK(hipHostFree(A_h));
|
||||
HIP_CHECK(hipFree(A_d));
|
||||
}
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador