Skip to content

[SYCL][PI] Fix PI unittests after PI API name changes #572

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

Merged
merged 2 commits into from
Aug 30, 2019
Merged

[SYCL][PI] Fix PI unittests after PI API name changes #572

merged 2 commits into from
Aug 30, 2019

Conversation

bjoernknafla
Copy link
Contributor

Without the CMake flag -DLLVM_BUILD_TESTS=ON unittests are not automatically build and run with the check-all target. Due to that changes in the PI API names have not been applied to the PI unittests.

This PR adapts PI API name changes to the PI unittests and fixes a compiler warning in two different commits (both signed).

Adapt namechanges, e.g., `cl::sycl::detail::pi::piInitialize` to
`cl::sycl::detail::pi::initialize`.

Signed-off-by: Bjoern Knafla <[email protected]>
Fix compiler warning in PI unittests:

```sh
warning: comparison between signed and unsigned integer expressions
 [-Wsign-compare]
```

Signed-off-by: Bjoern Knafla <[email protected]>
@bader bader merged commit 8cc087e into intel:sycl Aug 30, 2019
@bjoernknafla bjoernknafla deleted the bjoern/fix-pi-unittests branch September 2, 2019 16:26
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.

3 participants