Skip to content

Level Zero Loader detection does not work with most recent DPC++ nightly #2022

Closed

Description

@sommerlukas

intel/llvm#17104 changed the way the Level Zero library is linked into the DPC++/UR Level Zero adapter.

This means that the logic to detect the name of the Level Zero loader library here, which relies on Level Zero being linked dynamically to the adapter and showing up in readelf -d will stop working.

The first nightly of DPC++ with which this behavior can be triggered is the nightly from 2025-03-04.

Activity

  1. added a commit that references this issue on Mar 4, 2025
  2. self-assigned this
    on Mar 5, 2025
  3. ndgrigorian commented on Mar 18, 2025

    @ndgrigorian
    Collaborator

    As an update, solution offered is to default to libze_loader.so.1 as the name.

    dpctl will move forward with an update to default to libze_loader.so.1 as the Level Zero loader filename, keeping the legacy detection implementation and only updating this name if the current readelf implementation works to attempt to maintain backwards compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions