SWDEV-469422 - Avoid using of hipStream_t in internal methods (#69)
Change-Id: Ifd5362f371c846a88241927383cb95cf046548ef
[ROCm/clr commit: fb92683d86]
Цей коміт міститься в:
1 джерело
0eb2e5e8f2
коміт
ff69bcc903
10 files changed
+35
-46
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Заблокувати користувача