SWDEV-552613 - Windows: Use Direct Dispatch only on HSA ROCr Backend (#809)
* SWDEV-552613 - Disable Direct Dispatch on Windows * SWDEV-552613 - Use Direct Dispatch on HSA backend only --------- Co-authored-by: GunaShekar <agunashe@amd.com> Co-authored-by: Christophe Paquot <35546540+chrispaquot@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
fb6fe518e8
Коммит
2202dcfe80
@@ -45,7 +45,7 @@ void init(bool* status) {
|
||||
#if DISABLE_DIRECT_DISPATCH
|
||||
constexpr bool kDirectDispatch = false;
|
||||
#else
|
||||
#ifndef WITHOUT_HSA_BACKEND
|
||||
#if defined(WITH_HSA_DEVICE)
|
||||
constexpr bool kDirectDispatch = true;
|
||||
#else
|
||||
constexpr bool kDirectDispatch = false;
|
||||
|
||||
Ссылка в новой задаче
Block a user