Skip to content

Conversation

@jinge90
Copy link
Contributor

@jinge90 jinge90 commented Dec 17, 2025

SYCL device library jit link path has been removed, there is no value building and installing spirv format device libraries. This PR removes all spirv device library related things in device library cmake file.

Signed-off-by: jinge90 <ge.jin@intel.com>
…s as well.

Signed-off-by: jinge90 <ge.jin@intel.com>
Signed-off-by: jinge90 <ge.jin@intel.com>
Signed-off-by: jinge90 <ge.jin@intel.com>
@jinge90
Copy link
Contributor Author

jinge90 commented Dec 18, 2025

Hi, @uditagarwal97
This PR stops building and installing the useless spv device library files since we have removed the spv device library jit link path in latest SYCL runtime.
Thanks very much.

Comment on lines -263 to -266
- name: check-libdevice
if: ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
run: |
cmake --build $GITHUB_WORKSPACE/build --target check-libdevice
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jinge90 ,
Sorry, I didn't get why we no longer want to run libdevice tests in CI? Are all tests executed as part of check-libdevice target useless now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @uditagarwal97
Yes, these tests are useless now. There are 2 parts of libdevice tests: SYCL/test-e2e/DeviceLib and libdevice/test.
The SYCL/test-e2e/DeviceLib includes all functionality e2e tests and libdevice/test(check-libdevice) is lit test to check spirv format device library files only. For example, we will use 'llvm-spirv -r' to translate spirv device library files to LLVM IR file and check whether 'double' type exits only in math/complex device libraries targets for fp64.
For now, we have removed the spirv device library jit link path in SYCL compiler, those spirv device libraries are useless now and should be removed from compiler package. So, the lit tests checking spirv device libraries should be removed together.
There is no change for SYCL/test-e2e/DeviceLib, all device library e2e tests are still ran in CI.

Thanks very much.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh.. I see. Makes sense now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jinge90 In that case, should we also remove check-libdevice CMake target?

set(exclude_from_check_all "EXCLUDE_FROM_CHECK_ALL")
endif()

add_lit_testsuite(check-libdevice "Running the libdevice regression tests"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @uditagarwal97
The check-libdevice target has been removed here.
Thanks very much.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants