SWDEV-469422 - Avoid using of hipStream_t in internal methods (#69)

Change-Id: Ifd5362f371c846a88241927383cb95cf046548ef
Tá an tiomantas seo le fáil i:
Godavarthy Surya, Anusha
2025-04-28 15:09:11 +05:30
tiomanta ag GitHub
tuismitheoir bbcb1f9c70
tiomantas fb92683d86
D'athraigh 10 comhad le 35 breiseanna agus 46 scriosta
+1 -1
Féach ar an gComhad
@@ -294,7 +294,7 @@ bool MemoryPool::FreeMemory(amd::Memory* memory, Stream* stream, Event* event) {
// Add a marker to the stream to trace availability of this memory
Event* e = new hip::Event(0);
if (e != nullptr) {
if (hipSuccess == e->addMarker(reinterpret_cast<hipStream_t>(stream), nullptr)) {
if (hipSuccess == e->addMarker(stream, nullptr)) {
ts.SetEvent(e);
// Make sure runtime sends a notification
auto result = e->ready();