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

Change-Id: Ifd5362f371c846a88241927383cb95cf046548ef

[ROCm/clr commit: fb92683d86]
Цей коміт міститься в:
Godavarthy Surya, Anusha authored and GitHub committed 2025-04-28 15:09:11 +05:30
1 джерело 0eb2e5e8f2
коміт ff69bcc903
10 files changed
+35 -46

No files matched your search

+1 -1
Переглянути файл
@@ -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();