Skip to content

Crash in dpctl test suite run on opencl::cpu using SYCL nightly compiler and runtime #2156

@sycloid

Description

@sycloid

The os-llvm workflow has been failing with crash due to assertion failure during execution of test_usm_ndarray_indexing.py.

I was able to reproduce this crash locally:

$ OCL_ICD_FILENAMES=~/sycl-builds/oclcpuexp/x64/libintelocl.so \
      OCL_ICD_VENDORS=. \
      CL_CONFIG_CPU_VECTORIZER_MODE=8 \
      ONEAPI_DEVICE_SELECTOR=opencl:cpu \
      python -m pytest -s dpctl/tests

<snipped>
........................................python: /__w/llvm/llvm/src/sycl/source/detail/device_kernel_info.cpp:67: void sycl::_V1::detail::DeviceKernelInfo::setCompileTimeInfoIfNeeded(const sycl::_V1::detail::compile_time_kernel_info_v1::CompileTimeKernelInfoTy&): Assertion `Info == *this' failed.
Fatal Python error: Aborted

Current thread 0x00007ff581274740 (most recent call first):
  File "/home/sycloid/repos/dpctl/dpctl/tensor/_copy_utils.py", line 795 in _extract_impl
  File "/home/sycloid/repos/dpctl/dpctl/tests/test_usm_ndarray_indexing.py", line 1473 in test_nonzero_large
  File "/home/sycloid/miniforge/envs/dev_dpctl/lib/python3.13/site-packages/_pytest/python.py", line 157 in pytest_pyfunc_call
  File "/home/sycloid/miniforge/envs/dev_dpctl/lib/python3.13/site-packages/pluggy/_callers.py", line 121 in _multicall

The crash is not reproducible if just that test file is file is run instead of entire test suite.

This issue is to investigate the crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdpcppIssues related to DPC++

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions