Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[ESIMD] Fix several non-critical errors/warnings in LIT tests #546

Merged
merged 2 commits into from
Nov 3, 2021

Conversation

v-klochkov
Copy link

  1. Added sycl::free() where needed
  2. Replaced exception::get_cl_code() to avoid warnings. In about half of
    places the call was used incorrectly (returned non-zero value instead
    of zero/false);
  3. Removed usages of "cl::" prefix;
  4. Replaced some other deprecated APIs.

Signed-off-by: Vyacheslav N Klochkov [email protected]

@v-klochkov v-klochkov force-pushed the esimd_non_critical_fixes branch 2 times, most recently from 243a767 to a628a45 Compare November 2, 2021 15:46
@v-klochkov v-klochkov marked this pull request as ready for review November 2, 2021 15:49
@v-klochkov v-klochkov requested a review from kbobrovs as a code owner November 2, 2021 15:49
1. Added sycl::free() where needed
2. Replaced exception::get_cl_code() to avoid warnings. In about half of
   places the call was used incorrectly (returned non-zero value instead
   of zero/false);
3. Removed usages of "cl::" prefix;
4. Replaced some other deprecated APIs.

Signed-off-by: Vyacheslav N Klochkov <[email protected]>
@v-klochkov v-klochkov force-pushed the esimd_non_critical_fixes branch from a628a45 to e85d45d Compare November 3, 2021 04:52
Copy link

@kbobrovs kbobrovs left a comment

Choose a reason for hiding this comment

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

LGTM, with couple of corrections above

@v-klochkov v-klochkov merged commit 2b21583 into intel:intel Nov 3, 2021
@v-klochkov v-klochkov deleted the esimd_non_critical_fixes branch November 3, 2021 14:32
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…llvm-test-suite#546)

* [ESIMD] Fix several non-critical errors/warnings in LIT tests

1. Added sycl::free() where needed
2. Replaced exception::get_cl_code() to avoid warnings. In about half of
   places the call was used incorrectly (returned non-zero value instead
   of zero/false);
3. Removed usages of "cl::" prefix;
4. Replaced some other deprecated APIs.

Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Co-authored-by: kbobrovs <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants