Skip to content

dpctl.program._program.SyclProgramCompilationError for some kernels for cpu target (latest updates) #1156

@fcharras

Description

@fcharras

With latest updates (>=0.21.2 I think) some of my kernels can't compile anymore when the device is "cpu":

sklearn_numba_dpex/kmeans/engine.py:252: in get_labels
    labels, _ = self._get_labels_inertia(X, sample_weight, with_inertia=False)
sklearn_numba_dpex/kmeans/engine.py:266: in _get_labels_inertia
    assignments_idx, inertia = get_labels_inertia(
sklearn_numba_dpex/kmeans/drivers.py:663: in get_labels_inertia
    label_assignment_fixed_window_kernel(
/opt/venv/lib/python3.10/site-packages/numba_dpex/core/kernel_interface/dispatcher.py:467: in __call__
    kernel_bundle = dpctl_prog.create_program_from_spirv(
dpctl/program/_program.pyx:274: in dpctl.program._program.create_program_from_spirv
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   ???
E   dpctl.program._program.SyclProgramCompilationError

dpctl/program/_program.pyx:311: SyclProgramCompilationError

minimal reproducer is hard to achieve. The surfaced error does not give information unfortunately.

Metadata

Metadata

Assignees

No one assigned

    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