-
Notifications
You must be signed in to change notification settings - Fork 771
[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
Conversation
Commited another change that extends the filter selector functionality to also accept the esimd_emulator as a valid filter value. |
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.
LGTM. Do we have a test for the change?
/verify with intel/llvm-test-suite#1312 |
This must be merged only after intel/llvm-test-suite#1312 has been merged into llvm-test-suite |
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
Merging in based on prior LGTM from @romanovvlad |
…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
…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
This commit attempts to fix the problem that occurs when the default device selector picks the ESIMD_EMULATOR when other devices are available.