We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6078fe7 commit 3e58dfeCopy full SHA for 3e58dfe
unified-runtime/source/adapters/level_zero/v2/command_list_cache.cpp
@@ -58,9 +58,7 @@ static bool ForceDisableCopyOffload = [] {
58
raii::ze_command_list_handle_t
59
command_list_cache_t::createCommandList(const command_list_descriptor_t &desc) {
60
ZeStruct<zex_intel_queue_copy_operations_offload_hint_exp_desc_t> offloadDesc;
61
- auto requestedCopyOffload =
62
- std::visit([](auto &&arg) { return arg.CopyOffloadEnabled; }, desc);
63
-
+ auto requestedCopyOffload = false;
64
if (ForceDisableCopyOffload && requestedCopyOffload) {
65
logger::info("Copy offload is disabled by the environment variable.");
66
requestedCopyOffload = false;
0 commit comments