Skip to content

[SYCL]Fix ESIMD_EMULATOR being picked as default device #6870

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 24 commits into from
Oct 14, 2022

Conversation

lbushi25
Copy link
Contributor

@lbushi25 lbushi25 commented Sep 23, 2022

This commit attempts to fix the problem that occurs when the default device selector picks the ESIMD_EMULATOR when other devices are available.

@lbushi25 lbushi25 changed the title JIRA CMPLRLLVM-39732 Fix ESIMD_EMULATOR from being picked as default device Sep 23, 2022
@lbushi25 lbushi25 changed the title Fix ESIMD_EMULATOR from being picked as default device [SYCL]Fix ESIMD_EMULATOR from being picked as default device Sep 28, 2022
@lbushi25 lbushi25 changed the title [SYCL]Fix ESIMD_EMULATOR from being picked as default device [SYCL]Fix ESIMD_EMULATOR being picked as default device Sep 28, 2022
@lbushi25
Copy link
Contributor Author

Commited another change that extends the filter selector functionality to also accept the esimd_emulator as a valid filter value.

@lbushi25 lbushi25 requested a review from romanovvlad October 5, 2022 16:22
Copy link
Contributor

@romanovvlad romanovvlad left a comment

Choose a reason for hiding this comment

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

LGTM. Do we have a test for the change?

@lbushi25
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1312

@lbushi25 lbushi25 marked this pull request as ready for review October 14, 2022 21:14
@lbushi25 lbushi25 requested a review from a team as a code owner October 14, 2022 21:14
@lbushi25
Copy link
Contributor Author

This must be merged only after intel/llvm-test-suite#1312 has been merged into llvm-test-suite

pvchupin pushed a commit to intel/llvm-test-suite that referenced this pull request Oct 14, 2022
The esimd_test_utils.hpp file has been changed to provide a correct esimd_emulator selector and the library_loading.cpp has been changed to only check for esimd_emulator loading if the filter is set to esimd_emulator. This checks the functionality introduced in the following PR: intel/llvm#6870
@pvchupin pvchupin merged commit 44d7926 into intel:sycl Oct 14, 2022
@pvchupin
Copy link
Contributor

Merging in based on prior LGTM from @romanovvlad

aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Feb 23, 2023
…1312)

The esimd_test_utils.hpp file has been changed to provide a correct esimd_emulator selector and the library_loading.cpp has been changed to only check for esimd_emulator loading if the filter is set to esimd_emulator. This checks the functionality introduced in the following PR: intel#6870
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…llvm-test-suite#1312)

The esimd_test_utils.hpp file has been changed to provide a correct esimd_emulator selector and the library_loading.cpp has been changed to only check for esimd_emulator loading if the filter is set to esimd_emulator. This checks the functionality introduced in the following PR: intel#6870
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