-
Notifications
You must be signed in to change notification settings - Fork 802
[SYCL][UR] Use Windows proxy loader for UR #15262
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
martygrant
merged 25 commits into
intel:sycl
from
callumfare:callum/ur_use_win_proxy_loader
Sep 6, 2024
Merged
Changes from 13 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
9180bdc
WIP: Use Windows proxy loader for UR
e51c3b4
Fix formatting
callumfare 636d255
Fix missing .def file and Linux build
callumfare cb57e20
Call releaseDefaultContexts in shutdown_win
callumfare b408a8b
Merge branch 'sycl' into callum/ur_use_win_proxy_loader
callumfare 93dc3de
Fix include_deps test
callumfare 6ce1e6a
Reenable failing tests on Windows
callumfare 3c5c74d
Don't pull windows.h into the headers
callumfare b1c737c
Add missing UR loader dependency
callumfare e6d7eec
Don't pull the proxy loader into the headers
callumfare 1dc8b92
Keep linking unit tests with UR loader directly
callumfare ae77ba8
Refactor UR function ptrs
callumfare a76ee6d
Link unittest executables with the proxy loader
callumfare 56d338c
Simplify the proxy loader by only preloading the UR loader
callumfare 68efb74
Merge branch 'sycl' into callum/ur_use_win_proxy_loader
callumfare 96cf079
Fix formatting
callumfare 45145f3
Bump UR tag
callumfare ce5a55f
Preload all known adapter libraries
callumfare 9ca5080
Merge branch 'sycl' into callum/ur_use_win_proxy_loader
callumfare bf7fe56
Revert "Call releaseDefaultContexts in shutdown_win"
callumfare 7812166
Revert "Reenable failing tests on Windows"
callumfare 96711eb
Fix tracing in ur_win_proxy_loader
callumfare 37052ce
Fix unintentionally updated test
callumfare 58d5182
Ignore malformed SYCL_UR_TRACE in the proxy loader
callumfare 7e3637e
Merge branch 'sycl' into callum/ur_use_win_proxy_loader
callumfare File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,8 +23,7 @@ option(SYCL_UR_USE_FETCH_CONTENT | |
| set(SYCL_UR_SOURCE_DIR | ||
| "" CACHE PATH "Path to root of Unified Runtime repository") | ||
|
|
||
| option(SYCL_UMF_DISABLE_HWLOC | ||
| "Disable hwloc support in UMF" ON) | ||
| set(SYCL_UMF_DISABLE_HWLOC ON CACHE BOOL "Disable hwloc support in UMF") | ||
|
|
||
| # Here we override the defaults to disable building tests from unified-runtime | ||
| set(UR_BUILD_EXAMPLES OFF CACHE BOOL "Build example applications." FORCE) | ||
|
|
@@ -116,14 +115,14 @@ if(SYCL_UR_USE_FETCH_CONTENT) | |
| CACHE PATH "Path to external '${name}' adapter source dir" FORCE) | ||
| endfunction() | ||
|
|
||
| set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git") | ||
| set(UNIFIED_RUNTIME_REPO "https://github.com/callumfare/unified-runtime.git") | ||
| # commit b766009add8dc41ad03e2a63be9f6ed40eea4c55 (HEAD, origin/main, origin/HEAD) | ||
| # Merge: 608e9184 c3c57284 | ||
| # Author: Omar Ahmed <[email protected]> | ||
| # Date: Tue Aug 27 16:30:04 2024 +0100 | ||
| # Merge pull request #2011 from nrspruit/fix_opencl_usm_align_check | ||
| # [OpenCL] Fix USM alignment error check to occur always and return nulllptr | ||
| set(UNIFIED_RUNTIME_TAG b766009add8dc41ad03e2a63be9f6ed40eea4c55) | ||
| set(UNIFIED_RUNTIME_TAG callum/ur_api_def) | ||
|
|
||
| set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES") | ||
| # Due to the use of dependentloadflag and no installer for UMF and hwloc we need | ||
|
|
||
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.