-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Remove plugin interface #14145
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
Changes from 81 commits
Commits
Show all changes
239 commits
Select commit
Hold shift + click to select a range
cd40463
UR port cmake basics
aarongreig 580ae02
UR port plugin first pass
aarongreig dc83909
UR port platform/device to get sycl-ls working
aarongreig c8dd930
Finish up device queries, bump to a more recent UR.
aarongreig 27a6f76
First pass at porting context, to enable queue/event.
aarongreig 6f2ce5f
Queue first pass - Basic/queue.cpp e2e test passing.
aarongreig fa58efd
First pass port event.
aarongreig e4f7350
First pass of program and kernel port
callumfare 504e5b6
Update UR to latest main tag
aarongreig 85677f2
Buffer, image, bindless image, memory manager first pass.
aarongreig 86d717b
Tidy duplicate device target string code
callumfare 34a3c8e
Port USM impl
callumfare fb3c9bd
Port commands, scheduler, graphs, etc
callumfare adacf4b
Finish device global port
callumfare 873f2cf
Fix kernel fusion check in queue_impl
callumfare 2e1450a
Bump UR commit
callumfare b64e954
Fix atomic memory scope queries failing
callumfare 5dd14bf
Port sampler
callumfare 543a468
Set the UR_ENABLE_COMGR option for HIP when SYCL kernel fusion is ena…
callumfare 5e08657
Remove some of the remaining PI calls from the runtime.
aarongreig c46c55c
Port interop and backend
callumfare b815dfa
Remove call to deprecated entry point piextPluginGetOpaqueData
aarongreig 7c3d3b0
Fix a few compiler warnings we introduced and remove PI from error ha…
aarongreig 506c09f
Port decoupled adapter sources to UR fetch module.
aarongreig 0932f6a
Replace direct casts in opencl interop get calls to getNativeHandle
omarahmed1111 4d1111a
Remove the old plugin object.
aarongreig da1c029
Replace "UrPlugin" with just "Plugin".
aarongreig 6d63685
Bump UR commit and fix some rebase issues
aarongreig 5fe61a8
Uncomment platform info queries to fix test.
aarongreig 9e27636
Delete ur.def
omarahmed1111 26da41c
Replace PI tracing with UR tracing
callumfare 81a5c8c
Port usm_analyzer and sycl-sanitize to UR
callumfare 434de32
Fix some rebase issues, bump UR commit and pull in some UR cmake changes
aarongreig 7406b78
Remove PI plugin library ABI tests
kbenzie 68f5289
Delete sycl/plugins directory
kbenzie bc618be
Remove pi.h includes from .cpp file
kbenzie e4ce2a8
Remove PI type aliases
kbenzie 9dbf4dd
Remove pi.h includes in sycl/source files
kbenzie 56eb238
Remove pi.h includes from sycl/detail headers
kbenzie 43a9547
Remove pi.h includes from extension headers
kbenzie ee31f85
Remove pi.h from public headers
kbenzie f084966
Remove pi.h include from exception.hpp
kbenzie 901d8c9
Resolve rebase issues + bump UR commit
aarongreig 41eb6e3
[UR] Use CMake option to disable building examples
kbenzie 2039ea6
Fix some tests from sycl/test
kbenzie a4c6b0f
Fix Windows build & bad formatting
kbenzie f9e9589
Fix Windows sycl.dll ABI symbols test
kbenzie 61cf322
Merge branch 'benie/pi2ur-disable-examples' into 'PI2UR-main'
kbenzie 50b7667
Rename placeholder getUrHandleRef -> getHandleRef.
aarongreig 274c849
Merge branch 'benie/pi2ur-fix-windows-build' into 'PI2UR-main'
kbenzie bb49925
Merge branch 'benie/pi2ur-fix-some-sycl-tests' into 'PI2UR-main'
kbenzie e8e0871
Hook up urAdapterGetLastError.
martygrant c8f2efa
Force examples/tests to be disabled
kbenzie f887850
Update the SYCL ABI test on Linux
kbenzie ab31ce6
Merge branch 'pi2ur/adapterGetLastError' into 'PI2UR-main'
kbenzie 2544c90
Various fixes for remaining XPTI fails
callumfare 61de1cc
Merge branch 'aaron/replaceUrHandleRef' into 'PI2UR-main'
kbenzie 1143db0
Merge branch 'pi2ur/xpti_fixes' into 'PI2UR-main'
kbenzie 0ed5ed5
Merge branch 'benie/pi2ur-small-fixes' into 'PI2UR-main'
kbenzie da22011
Various bindless images fixes
kbenzie b279b1a
Enable the UR ASAN layer when required
callumfare 9fa876d
Remove remaining uses of SYCL_PREFER_UR
callumfare 621cd97
Remove stringifyErrorCode
callumfare 533d611
Merge branch 'pi2ur/enable_asan' into 'PI2UR-main'
callumfare e823d12
Merge branch 'benie/pi2ur-fix-bindless-images' into 'PI2UR-main'
callumfare 0b4f68b
Remove all remaining uses of pi_result
callumfare 8c1c5b6
Merge branch 'pi2ur/replace_pi_result' into 'PI2UR-main'
aarongreig a2cf3ff
Add a backend_traits_hip include for interop-task-hip test
omarahmed1111 52f34ee
Merge branch 'fix-HostInteropTask/interop-task-hip' into 'PI2UR-main'
omarahmed1111 ddcfe1e
Test for adapter release; call urLoaderTearDown
callumfare fb3379b
Fix Regression/implicit_kernel_bundle_image_filtering checks
callumfare e8ead5b
Merge branch 'pi2ur/various_e2e_fixes' into 'PI2UR-main'
callumfare 42e0f89
Fix USM/memadvise_flags.cpp E2E test
callumfare a54226d
Move pi::cast to ur::cast in new ur.hpp header
kbenzie 538fdf5
Merge branch 'benie/pi2ur-replace-pi-cast' into 'PI2UR-main'
kbenzie 7d5cfe8
Clean up some PI helper files
aarongreig bce17a4
Fix header lit tests
aarongreig 4d515f5
Merge branch 'pi2ur/fix_usm_memadvise_flags' into 'PI2UR-main'
aarongreig 807683e
Merge branch 'aaron/cleanUpPiFiles' into 'PI2UR-main'
aarongreig 7e5b2ec
Remove pi::die, pi::assertion, and pi::cast
kbenzie c841103
Delete redundant event returns from queue_impl
omarahmed1111 a867839
Merge branch 'sycl' into aaron/mergeSyclToMain
aarongreig cab52ab
Merge branch 'benie/pi2ur-pi-assertion-cleanup' into 'PI2UR-main'
aarongreig c3bd737
Remove pi::die, pi::assertion, and pi::cast
kbenzie 8fb916f
Port new features and fix bad conflict resolutions.
aarongreig fcc9435
Fix include_deps test.
aarongreig bcbd19d
Rename placeholder getUrHandleRef -> getHandleRef.
aarongreig 78c8633
Various fixes for remaining XPTI fails
callumfare 3e3d9b8
Force examples/tests to be disabled
kbenzie bb0d5c4
Update the SYCL ABI test on Linux
kbenzie 8f20dab
Enable the UR ASAN layer when required
callumfare 0cebe67
Remove remaining uses of SYCL_PREFER_UR
callumfare 11c6f35
Various bindless images fixes
kbenzie 4cccdcf
Remove stringifyErrorCode
callumfare 94fcca0
Remove all remaining uses of pi_result
callumfare 80fcc4a
Replace PiMock with interface to UR mocking functionality
aarongreig 9342dcb
Merge branch 'PI2UR-main' into aaron/replacePiMock
aarongreig 93e0d23
Merge branch 'aaron/mergeSyclToMain' into aaron/replacePiMock
aarongreig 213dc5e
Fix conflict issues and port some new tests.
aarongreig 7b13aa1
Fix kernel pointer + bad conflict resolution.
aarongreig 9a71395
Port another new test
aarongreig 64a3f99
Fix kernel pointer + bad conflict resolution.
aarongreig be4d80d
All tests passing again
aarongreig 381d481
Port pi_win_proxy_loader to ur_win_proxy_loader
kbenzie 6cdac15
Merge branch 'delete-redundant-event-returns' into 'PI2UR-main'
kbenzie 9726cd3
Merge branch 'sycl' into PI2UR-main
aarongreig 0fa7e8b
Fix dodgy conflict resolution
aarongreig 8d026ef
Merge remote-tracking branch 'internal/PI2UR-main' into PI2UR-main
aarongreig eff63c7
Merge branch 'sycl' into PI2UR-main
aarongreig eeea5e6
Rename pi_utils.hpp to ur_utils.hpp
kbenzie cff16fd
Remove mode PI references
kbenzie f889704
Format the diff
kbenzie 0fe9c2c
Fix Linux ABI test
kbenzie 51a215a
Fixup tests
kbenzie 1697d14
Fix some trivial new e2e regressions.
aarongreig 56384d0
Merge branch 'PI2UR-main' into aaron/replacePiMock
aarongreig 4a0b82a
Fix tests with latest commit.
aarongreig c854c04
Fix DiscardEvent fails.
aarongreig bcb9171
Fix CUDA & HIP feature macro definitions
kbenzie b2f66dc
Merge branch 'benie/pi2ur-port-win-proxy-loader' into 'PI2UR-main'
kbenzie 28776c2
Merge branch 'benie/pi2ur-pi-renames' into 'PI2UR-main'
kbenzie 7b1328f
Remove SYCL_PI_TRACE & its implementation
kbenzie e54cfa5
Cleanup or otherwise port a few bits and pieces.
aarongreig fd72048
prepare for removal of pi.h
aarongreig 2267684
Remove pi.h, move dev binary stuff to ur.hpp
aarongreig 985f032
Move binary defs into own file
aarongreig 472a70d
Merge branch 'aaron/fixSomeNewRegressions' into 'PI2UR-main'
kbenzie dc7957b
Merge pi.hpp + ur.hpp.
aarongreig 1c63acb
Merge pi.cpp + ur.cpp.
aarongreig 053411f
Delete pi.hpp
aarongreig dc35a84
Move device binary definitions into ur.hpp
aarongreig 9f61e7b
Remove last uses of pi.hpp and delete pi.def.
aarongreig dcd13bf
Init struct stype field
callumfare 41546d6
Fix bindless image external semaphore signal
callumfare 42d4479
Merge branch 'benie/pi2ur-remove-pi-trace' into 'PI2UR-main'
kbenzie 88f60b5
Fix exception ABI test
aarongreig 6faf39d
Fix include missing header that persisted in build dir.
aarongreig 5358705
Add a macro to replace the non-descript zero values in trait .def files.
aarongreig 60f2011
Merge branch 'benie/pi2ur-fix-feature-macros' into 'PI2UR-main'
kbenzie 3d4d2a2
Merge branch 'aaron/miscCleanup' into 'PI2UR-main'
kbenzie fc4a5d4
Merge branch 'pi2ur/bindless_image_fixes' into 'PI2UR-main'
kbenzie 497089f
Merge branch 'aaron/addMacroForZeroTraits' into 'PI2UR-main'
kbenzie 16203dc
Fix Plugin/enqueue-arg-order tests
callumfare 5104f21
Merge branch 'pi2ur/fix_enqueue_arg_order_tests' into 'PI2UR-main'
aarongreig 60def75
Merge branch 'PI2UR-main' into aaron/removePiHeader
aarongreig 4abab89
Fix include_deps again
aarongreig b75519b
Merge branch 'aaron/removePiHeader' into 'PI2UR-main'
aarongreig 4da5fb8
Remove the workaround for CUDA/HIP backend operations now uintptr_t i…
callumfare 7fa05fe
Update use of SYCL_PI_TRACE in GitHub workflows
kbenzie 5e1c623
Merge branch 'benie/pi2ur-fix-sycl-ls-trace' into 'PI2UR-main'
kbenzie 37a2cef
Fix Windows OS utils namespace & filenames
kbenzie 6f07103
Merge branch 'sycl' into PI2UR-main
aarongreig 62c321a
Merge remote-tracking branch 'internal/PI2UR-main' into PI2UR-main
aarongreig ae8ff61
Merge branch 'sycl' into PI2UR-main
aarongreig 02fe912
Merge branch 'pi2ur/reenable_disabled_get_native_ops' into 'PI2UR-main'
kbenzie ec9028e
Merge branch 'benie/pi2ur-fix-os-utils' into 'PI2UR-main'
kbenzie d16668d
Don't reinterpret_cast to the same type
kbenzie c6f7942
Update Windows ABI test
kbenzie 7929962
Delete pi_error.def
kbenzie fd17c83
Remove accidentally added files
kbenzie 748fea1
Merge branch 'PI2UR-main' into aaron/replacePiMock
aarongreig 3af09f3
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie a76d2b0
Fix documentation build
kbenzie 1c9b149
Port new virtual function test + disable it until UR fix merges.
aarongreig 4fbfc50
Merge branch 'PI2UR-main' into aaron/replacePiMock
aarongreig 0390562
Remove unused .def file and fix incorrect conflict resolution.
aarongreig 8528c9a
Merge branch 'aaron/replacePiMock' into 'PI2UR-main'
kbenzie d164006
Fix macOS build
kbenzie 2bed873
Blanket rename all PI device binary stuff to UR.
aarongreig 0f6404f
Rename and re-enable pi::cast unittest
aarongreig 8b18075
Revert unrelated formatting change.
aarongreig 71bd27b
Fix a few failing tests
aarongreig 87f1b3d
Merge branch 'aaron/renameDeviceBinary' into 'PI2UR-main'
aarongreig 0df01dd
Remove most remaining reference to PI
aarongreig 1825b1a
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie 05504e4
Fix erroneous bindless image type name change
kbenzie 3c106d9
Address some review feedback.
aarongreig 57ff033
Revert accessor.hpp formatting.
aarongreig 04b60cb
Fix install of all adapters
kbenzie 284cf07
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie ebb2bb2
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie 2cd5ee4
XFAIL regressions to be fixed post-merge
aarongreig a4e247e
Fix unresolved tests
kbenzie ced5ac2
Change XFAIL: * to UNSUPPORTED: linux, windows.
aarongreig 0ab745e
Un-XFAIL most native cpu tests
kbenzie 5f169b4
XFAIL 2 two tests
kbenzie f1e899b
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie ccd2421
Update Windows ABI check test
kbenzie 13adbda
Un-XFAIL one more native cpu test
kbenzie e04ce03
Merge branch 'sycl' into PI2UR-main
aarongreig b271c28
XFAIL new windows fails.
aarongreig fad8eee
Disable validation temporarily to see if it unblocks cuda CI.
aarongreig fcf4a37
Remove ur_print.hpp include and re-implement stringifyErrorCode
aarongreig fed8dc4
Merge branch 'sycl' into PI2UR-main
aarongreig 254c4a2
Reset native cpu tag
kbenzie 65a8864
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie f46e409
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie 5de3077
Merge branch 'sycl' into PI2UR-main
aarongreig 96a6d15
Revert abi break to num_regs aspect, re-enable validation.
aarongreig 5d39e5b
Revert contextSetExtendedDeleter ABI break
aarongreig e705c38
Port new unittest over to new mock framework
kbenzie f5a30ff
Update tests that still expect PI tracing
callumfare 75c654c
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie 312070c
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie 03baa49
Fix RuntimeLinkingCommon.hpp override
kbenzie bc007c5
Revert all xfailed e2e + lit tests.
aarongreig 11f0b98
Remove debug prints
kbenzie 18e38ed
Fix USM/memory_coherency_hip test
callumfare 7e87131
Fix handling of device_read_only usm flag
callumfare a2809d6
Fix Plugin/interop-opencl.cpp by removing direct UR native handle cast.
aarongreig b9f6e55
Fix the majority of the native cpu lit fails
aarongreig a1ba4d2
Use AdjustedName when calling urKernelCreate - fixes kernel_compiler_…
martygrant cb943a3
Use UR version of mem_advice flag for in_order_usm_implicit e2e test.
martygrant cac3da9
Fix various e2e tests related to opencl interop and others
omarahmed1111 c3746c8
Fix CUDA interop tests in check-sycl
kbenzie a627db5
Address review feedback
omarahmed1111 98f3161
Merge branch 'sycl' into PI2UR-main
callumfare 39760e3
Merge branch 'sycl' into PI2UR-main
callumfare 5ed9db1
Fix include_deps tests
callumfare 866c209
Merge branch 'sycl' into PI2UR-main
callumfare 7949962
Fix Windows ABI test
kbenzie 9f0123b
Update Plugin/dll-detach-order.cpp
kbenzie 97597e6
Mark Basic/queue/release.cpp unsupported on Windows
kbenzie 5411d4b
Fix regex match for DiscardEvents/discard_events_usm_ooo_queue.cpp
kbenzie b1cd015
Fix cache_env_vars_* tests
omarahmed1111 ac868cd
Disable Windows regressions
kbenzie 957fabb
Disable remaining tests
kbenzie 2373a19
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie 9187e16
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie 97a3311
Merge branch 'sycl' into PI2UR-main
aarongreig 9b0f038
Disable new windows regression.
aarongreig d31a163
Merge branch 'sycl' into PI2UR-main
aarongreig 39f424b
Fix bad conflict resolution in unittest
aarongreig f769b4d
Remove unnecessary includes
kbenzie 632cc70
Merge remote-tracking branch 'origin/sycl' into PI2UR-main
kbenzie 5db5bdb
Disable latest regressions
kbenzie 58edb70
[UR] Bump main tag to b7b0c8b3
kbenzie cd22184
Disable kernel fusion tests on hip
kbenzie 3653659
Make Plugin/dll-detach-order.cpp unsupported on Windows
kbenzie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
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.