Skip to content

[UR][L0v2] Remove unused ZeCopyOffloadExtensionSupported flag - #23114

Open
ldorau wants to merge 1 commit into
intel:syclfrom
ldorau:URL0v2_Remove_unused_ZeCopyOffloadExtensionSupported_flag
Open

[UR][L0v2] Remove unused ZeCopyOffloadExtensionSupported flag#23114
ldorau wants to merge 1 commit into
intel:syclfrom
ldorau:URL0v2_Remove_unused_ZeCopyOffloadExtensionSupported_flag

Conversation

@ldorau

@ldorau ldorau commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

After the fix in #23110 (which changed createCommandList()'s
copy-offload-support check to rely solely on
ZeCopyOffloadQueueFlagSupported / ZeCopyOffloadListFlagSupported),
ZeCopyOffloadExtensionSupported is set during platform initialization
but never read anywhere in any conditional logic. It only flowed
through: platform.cpp (probed from the driver's extension list) ->
context.cpp (passed to command_list_cache_t's constructor) ->
command_list_cache.hpp/cpp (stored as a class member), without
affecting behavior.

Remove the flag and its now-pointless extension name/version probing
block across platform.hpp/.cpp, context.cpp, and
command_list_cache.hpp/.cpp. No behavior change; the
ur_zex_intel_queue_copy_operations_offload_hint_exp_desc_t descriptor
and its pNext fallback usage are unrelated and unaffected.

After the fix in intel#23110 (which changed createCommandList()'s
copy-offload-support check to rely solely on
ZeCopyOffloadQueueFlagSupported / ZeCopyOffloadListFlagSupported),
ZeCopyOffloadExtensionSupported is set during platform initialization
but never read anywhere in any conditional logic. It only flowed
through: platform.cpp (probed from the driver's extension list) ->
context.cpp (passed to command_list_cache_t's constructor) ->
command_list_cache.hpp/cpp (stored as a class member), without
affecting behavior.

Remove the flag and its now-pointless extension name/version probing
block across platform.hpp/.cpp, context.cpp, and
command_list_cache.hpp/.cpp. No behavior change; the
ur_zex_intel_queue_copy_operations_offload_hint_exp_desc_t descriptor
and its pNext fallback usage are unrelated and unaffected.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau
ldorau marked this pull request as ready for review September 7, 2026 13:38
@ldorau
ldorau requested a review from a team as a code owner September 7, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant