This repository was archived by the owner on Mar 28, 2023. It is now read-only.
forked from llvm/llvm-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 130
[SYCL] tests for win_proxy_loader #1465
Merged
againull
merged 7 commits into
intel:intel
from
cperkinsintel:cperkins-win_proxy_loader-tests
Mar 1, 2023
Merged
[SYCL] tests for win_proxy_loader #1465
againull
merged 7 commits into
intel:intel
from
cperkinsintel:cperkins-win_proxy_loader-tests
Mar 1, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…il after piTearDown is complete.
/verify with intel/llvm#7756 |
againull
pushed a commit
to intel/llvm
that referenced
this pull request
Mar 1, 2023
DLLs manually loaded by SYCL are not tracked as direct dependencies in the same way that linked DLLs are. This means these DLL may be unloaded before SYCLs shutdown() routine is called, which will lead to problems when that routine tries to call those DLL to release resources. This PR adds a new proxy DLL that is a linked dependency of SYCL itself. This proxy DLL loads all the SYCL manually loaded DLLs early, before SYCL itself is loaded, and conversely, they are not unloaded until the proxy itself unloads, which is after SYCL unloads. So now the manually loaded plugin DLLs will be resident when shutdown() is called and piTearDown can complete safely and successfully. I had a previous PR for this work ( #7756 ), but it encountered interference with a difference in how Windows handles threads and their termination. I'm addressing that problem separately. In this version, I am reducing the shutdown() procedure on Windows to only release the plugins and nothing else. This avoids the issue for now. Tests are at intel/llvm-test-suite#1465 --------- Signed-off-by: Chris Perkins <[email protected]>
againull
approved these changes
Mar 1, 2023
This test was run successfully against intel/llvm#8242 and you can see it's latest successful status there. ping to reviewers. |
myler
pushed a commit
to myler/llvm-test-suite
that referenced
this pull request
Mar 22, 2023
…arget (intel#1465) * [ESIMD] Add EMBARGO test for xmx::dpas() with double type on Rialto target Signed-off-by: Vyacheslav N Klochkov <[email protected]> * Run 'suite_generator_sycl.pl SYCL_ESIMD_EMBARGO' to update the suite What the script did: 1) Removed *.xml and *.info for those tests that don't have sources because were deleted from EMBARGO test suite. For example, 10 lsc* tests do not exist anymore in SYCL_ESIMD_EMBARGO folder, but they were listed in 'llvm_test_suite_esimd_embargo.xml'. Also, some of those fantom tests had *.info and *.xml 2) Renamed: TEMPLATE_llvm_test_suite_esimd_embargo.xml -> esimd_embargo_named_barriers_nb_exec_in_order.xml 3) Added entries for the newly added test 'dpas_double.cpp' 4) Did harmless changes in few lines in 'llvm_test_suite_esimd_embargo.xml'. For example, removed rule that most likely is not needed: '<advancedRule perfSupport="accurate"' Signed-off-by: Vyacheslav N Klochkov <[email protected]> Signed-off-by: Vyacheslav N Klochkov <[email protected]>
myler
pushed a commit
to myler/llvm-test-suite
that referenced
this pull request
Mar 22, 2023
Tests to verify win_proxy_loader keeps plugin DLLs from unloading until after piTearDown is complete.
aelovikov-intel
pushed a commit
to aelovikov-intel/llvm
that referenced
this pull request
Mar 27, 2023
Tests to verify win_proxy_loader keeps plugin DLLs from unloading until after piTearDown is complete.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tests to verify win_proxy_loader keeps plugin DLLs from unloading until after piTearDown is complete.