KhronosGroup / KhronosGroup/SYCL-CTS

Conformance test for SYCL is not working.

Open
#925 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
75
Forks
96
Avg merge
5d 18h
Merged PRs (30d)
4

Description

I tried to build conformance test using the code repository given here, for SYCL compilers:
1. DPC++
2. Our own SYCL compiler

But, the build failed for both the above SYCL compilers.
For DPC++ it is giving error multiple time (screenshot attached):
```bash
/storage/ankit/SYCL-CTS/build/tests/vector_api/vector_api_bool.cpp:86:57: error: no type named 'value_type' in 'sycl::vec'
86 | CHECK(std::is_same_v::value_type, bool>);
```
Please provide solution for this issue.

Reference screenshots of DPC++ compiler conformance testing:
```bash
cmake -S . -B build -DSYCL_IMPLEMENTATION=DPCPP
```
![Screenshot from 2024-08-16 07-59-16](https://github.com/user-attachments/assets/e70feaeb-4403-40b4-b01d-b81e292b3819)

```bash
cmake --build ./build -j24
```
![Screenshot from 2024-08-16 07-59-05](https://github.com/user-attachments/assets/50d8f34b-33ff-40e7-a3d7-e0a0cea5e43e)

ERROR:
![Screenshot from 2024-08-16 08-11-23](https://github.com/user-attachments/assets/898d90ae-20c8-4f8b-8dd4-3358d8d84bb1)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported build with `cmake -S . -B build -DSYCL_IMPLEMENTATION=DPCPP` and `cmake --build ./build -j24`. Inspect `tests/vector_api/vector_api_bool.cpp` around line 86 and compare the failure under the two mentioned SYCL compilers. Done means the conformance test build completes without this `sycl::vec::value_type` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.