SWDEV-547108 - Fix compilation errors under Windows (#867)

Interop and numa are not enabled.

[ROCm/clr commit: 0ac913e64c]
This commit is contained in:
Andryeyev, German authored and GitHub committed 2025-08-17 02:33:31 -04:00
1 parent 35e48d1eaf
commit 72b9408fed
14 files changed
+110 -80

No files matched your search

+5 -1
View File
@@ -45,7 +45,11 @@ void init(bool* status) {
#if DISABLE_DIRECT_DISPATCH
constexpr bool kDirectDispatch = false;
#else
constexpr bool kDirectDispatch = IS_LINUX;
#ifndef WITHOUT_HSA_BACKEND
constexpr bool kDirectDispatch = true;
#else
constexpr bool kDirectDispatch = false;
#endif
#endif
AMD_DIRECT_DISPATCH = flagIsDefault(AMD_DIRECT_DISPATCH) ? kDirectDispatch : AMD_DIRECT_DISPATCH;
if (!amd::Runtime::init()) {