SWDEV-351966 - Dispatch table for hip runtime

Change-Id: Ie4a44fa8cf1ff9c152146070bbbf6b0636d4e325


[ROCm/clr commit: 5e21f0c6bd]
Этот коммит содержится в:
Anusha GodavarthySurya authored and Anusha Godavarthy Surya committed 2023-11-22 01:11:19 -05:00
1 родитель cea00f53fb
Коммит 3bdedf0cc7
37 files changed
+4496 -192

No files matched your search

+3 -2
Просмотреть файл
@@ -22,8 +22,9 @@
#include <windows.h>
#include <iostream>
namespace hip {
void ihipDestroyDevice();
}
#ifdef DEBUG
static int reportHook(int reportType, char* message, int* returnValue) {
@@ -52,7 +53,7 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved) {
((thread = new amd::HostThread()) != nullptr && thread == amd::Thread::current()))) {
return true;
}
ihipDestroyDevice();
hip::ihipDestroyDevice();
} break;
case DLL_THREAD_DETACH: {
amd::Thread* thread = amd::Thread::current();