Skip to content

[L0][v2] Fix segfault from null zeDeviceGetVectorWidthPropertiesExt - #22974

Merged
KornevNikita merged 2 commits into
intel:syclfrom
kweronsx:fix-null-func-ptr-segfault
Aug 25, 2026
Merged

[L0][v2] Fix segfault from null zeDeviceGetVectorWidthPropertiesExt#22974
KornevNikita merged 2 commits into
intel:syclfrom
kweronsx:fix-null-func-ptr-segfault

Conversation

@kweronsx

@kweronsx kweronsx commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Fall back to default vector-width properties,
when the function pointer is null.
Fixes: #22834

Fall back to default vector-width properties,
when the function pointer is null.
@kweronsx
kweronsx force-pushed the fix-null-func-ptr-segfault branch from a7ddcd5 to c94151d Compare August 21, 2026 06:04
@kweronsx
kweronsx marked this pull request as ready for review August 21, 2026 07:49
@kweronsx
kweronsx requested a review from a team as a code owner August 21, 2026 07:49
Comment thread unified-runtime/source/adapters/level_zero/common/device.cpp Outdated
@kweronsx
kweronsx marked this pull request as draft August 21, 2026 10:15
Move query to platform initialization
@kweronsx
kweronsx marked this pull request as ready for review August 24, 2026 06:14
@kweronsx
kweronsx requested a review from pbalcer August 24, 2026 06:14
@sys-ce-bb

Copy link
Copy Markdown
Contributor

@intel/llvm-gatekeepers please consider merging

@kweronsx

Copy link
Copy Markdown
Contributor Author

@intel/llvm-gatekeepers please consider merging. Thanks

@KornevNikita
KornevNikita merged commit 74e1289 into intel:sycl Aug 25, 2026
40 checks passed
@kweronsx
kweronsx deleted the fix-null-func-ptr-segfault branch August 25, 2026 12:27
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.

Segmentation fault when trying to run pytorch with intel kernels

4 participants