intel / intel/llvm

Basic/device_config_file_consistency.cpp failing sporadically on SPIR-V backend

Open
#21,594 0 comments 0 reactions 0 assignees View on GitHub
bug confirmed
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Describe the bug

https://github.com/intel/llvm/actions/runs/23431514279/job/68160849119

https://github.com/intel/llvm/actions/runs/23358039390/job/67955637093

```
Run # Report E2E Failures
Failed Tests (1):
SYCL :: Basic/device_config_file_consistency.cpp

```

```
FAIL: SYCL :: Basic/device_config_file_consistency.cpp (925 of 2437)
******************** TEST 'SYCL :: Basic/device_config_file_consistency.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 10
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/Basic/Output/device_config_file_consistency.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/Basic/Output/device_config_file_consistency.cpp.tmp.out
# .---command stdout------------
# | note: the device intel_gpu_bmg_g21 supports aspect gpu but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect online_compiler but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect online_linker but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect queue_profiling but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect usm_device_allocations but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect usm_host_allocations but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect usm_shared_allocations but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_pci_address but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_eu_count but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_eu_simd_width but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_slices but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_subslices_per_slice but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_eu_count_per_subslice but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_device_info_uuid but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_native_assert but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_hw_threads_per_eu but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_free_memory but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_device_id but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_memory_clock_rate but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_memory_bus_width but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_legacy_image but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_bindless_images but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_bindless_images_1d_usm but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_bindless_images_2d_usm but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_external_memory_import but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_external_semaphore_import but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_matrix but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_graph but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_limited_graph but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_private_alloca but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_bindless_sampled_image_fetch_1d_usm but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_bindless_sampled_image_fetch_1d but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_bindless_sampled_image_fetch_2d_usm but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_bindless_sampled_image_fetch_2d but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_bindless_sampled_image_fetch_3d but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_queue_profiling_tag but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_virtual_mem but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_image_array but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_virtual_functions but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_spill_memory_size but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_current_clock_throttle_reasons but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_power_limits but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_async_memory_alloc but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_exportable_device_mem but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_clock_sub_group but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_ipc_memory but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_device_wait but it is not declared in the device config file
# `-----------------------------
# RUN: at line 10
env ONEAPI_DEVICE_SELECTOR=opencl:gpu /__w/llvm/llvm/build-e2e/Basic/Output/device_config_file_consistency.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=opencl:gpu /__w/llvm/llvm/build-e2e/Basic/Output/device_config_file_consistency.cpp.tmp.out
# .---command stdout------------
# | note: the device intel_gpu_bmg_g21 supports aspect gpu but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect online_compiler but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect online_linker but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect queue_profiling but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect usm_device_allocations but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect usm_host_allocations but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect usm_shared_allocations but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_pci_address but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_eu_count but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_slices but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_subslices_per_slice but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_eu_count_per_subslice but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_device_info_uuid but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_srgb but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_gpu_hw_threads_per_eu but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_device_id but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_legacy_image but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_matrix but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_private_alloca but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_atomic16 but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_oneapi_virtual_functions but it is not declared in the device config file
# | note: the device intel_gpu_bmg_g21 supports aspect ext_intel_device_info_node_mask but it is not declared in the device config file
# `-----------------------------
# RUN: at line 10
env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/Basic/Output/device_config_file_consistency.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/Basic/Output/device_config_file_consistency.cpp.tmp.out
# .---command stdout------------
# | No aspects found for device intel_cpu_gnr
# `-----------------------------
# error: command failed with exit status: 1

```

### To reproduce

1. Include a code snippet that is as short as possible
2. Specify the command which should be used to compile the program
3. Specify the command which should be used to launch the program
4. Indicate what is wrong and what was expected

### Environment

- OS: [e.g Windows/Linux]
- Target device and vendor: [e.g. Intel GPU]
- DPC++ version: [e.g. commit hash or output of `clang++ --version`]
- Dependencies version: [e.g. the output of `sycl-ls --verbose`]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.