-
Notifications
You must be signed in to change notification settings - Fork 801
[SYCL] Stop building and installing spirv format device library files #20921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl
Are you sure you want to change the base?
Conversation
Signed-off-by: jinge90 <ge.jin@intel.com>
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>
|
Hi, @uditagarwal97 |
| - name: check-libdevice | ||
| if: ${{ !cancelled() && contains(inputs.changes, 'sycl') }} | ||
| run: | | ||
| cmake --build $GITHUB_WORKSPACE/build --target check-libdevice |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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.
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.