Skip to content

[SYCL][UR][L0] First version of UR L0 adapter #8744

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 50 commits into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
642f267
[SYCL][UR][L0] First version of UR L0 adapter
Feb 11, 2023
9644ae2
Some fixes
Apr 6, 2023
b447851
Some fixes
Apr 6, 2023
d7e5578
Some fixes
Apr 7, 2023
b9681bb
Stubs for the make_queue interop APIs
Apr 7, 2023
165b2c2
Use custom urContextCreateWithNativeHandle
Apr 7, 2023
0535b22
Some fixes to interop and other tests
Apr 10, 2023
e079d6a
Implement urPlatformGetApiVersion
Apr 10, 2023
baefa3a
Add UR_CONTEXT_INFO_REFERENCE_COUNT
Apr 10, 2023
7f8a6c5
Port Optimize sync of an in-order queue
Apr 10, 2023
28d7280
Port Do not use piGetDeviceAndHostTimer for only host time query
Apr 12, 2023
77af538
Port Fix PI_KERNEL_GROUP_INFO_GLOBAL_WORK_SIZE queries
Apr 14, 2023
d39759a
Port Retain build-log when program build failed
Apr 14, 2023
a02b1a5
Port Heuristically reduce overhead from immediate command-list cleanup
Apr 14, 2023
7250d46
Port Add support to propagate compile flags to device backend compiler
Apr 14, 2023
f569e92
Update loader
Apr 17, 2023
3d18689
Some fixes for test_queue, and rebase loader
Apr 18, 2023
4c6b101
Partially port native image handle support for LevelZero
Apr 18, 2023
65cd8b2
Port Report events as submitted, not running, until they are completed
Apr 18, 2023
d9da97b
Remove not needed code
Apr 21, 2023
eb9b4b7
Port Change the default to SYCL_PI_LEVEL_ZERO_USM_RESIDENT=2
Apr 21, 2023
df8ca58
Port Add infrastructure to know backend of a platform
Apr 21, 2023
f8884d2
Make USMFreeImpl static
Apr 24, 2023
7f20421
Port Enable immediate command lists by default
Apr 24, 2023
caf2888
Fix failing device CTS (#2)
bmyates Apr 25, 2023
4ae5432
Fix formatting
Apr 26, 2023
4aedd0f
Update loader with CreateWithNativeHandle updates
Apr 26, 2023
ff370d2
Move some code to L0
Apr 27, 2023
151d509
Add more code for piextMemImageCreateWithNativeHandle
Apr 27, 2023
6841364
Port Fix handling of mem_channel buffer property
Apr 27, 2023
a928c75
Port Implement proper queries for aspect::ext_oneapi_srgb
May 2, 2023
5d6d006
Port Avoid leak of active barriers' events
May 2, 2023
943afe7
Rebase loader
May 3, 2023
e1e5f63
fix interop image
May 4, 2023
5eaf7f3
Port Port PI L0 environment variables to UR L0
May 9, 2023
a47af47
fix implementation of urKernelSetArgPointer
May 11, 2023
ce3aeb1
Bump UR + various pi2ur fixes to allow rebasing cuda adapter (#8)
callumfare May 12, 2023
a73bc20
Fixes after reg (#9)
bmyates May 12, 2023
04fc86b
Fix casting for srgba-read.cpp test
May 13, 2023
f35fef4
Rebase and fix format
May 16, 2023
5935f8b
Move urUSM into new file (#10)
bmyates May 16, 2023
cd11f35
Port [SYCL[L0] Change the SYCL_PI_LEVEL_ZERO_USM_RESIDENT default
May 17, 2023
2922ae7
Port [SYCL] [L0] Remove unneeded backwards compatibility of 2023.2 ma…
May 18, 2023
3cd033c
Port [SYCL] [L0] Correct the device id check for PVC
May 18, 2023
b17b2d4
Port [SYCL][L0] Optimize barrier for in-order queue
May 22, 2023
4382210
Port [SYCL] [L0] Recycle immediate command lists for queues in a context
May 23, 2023
3e9fb4e
Rebase ur_loader and headers
May 23, 2023
7ce01a7
Port [SYCL] Properly install UR libraries
May 23, 2023
7a3deca
Add implementation of USM pools (#11)
bmyates May 23, 2023
8b2170d
Port [SYCL][L0] Check if ZE call count had started
May 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions sycl/plugins/level_zero/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,24 @@ add_sycl_plugin(level_zero
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_device.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_event.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_mem.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_module.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_kernel.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_platform.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_program.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_queue.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_sampler.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_usm.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_common.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_context.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_device.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_event.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_mem.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_module.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_kernel.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_platform.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_program.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_queue.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_sampler.cpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero_usm.cpp"
# Following are the PI Level-Zero Plugin only codes.
"pi_level_zero.cpp"
"pi_level_zero.hpp"
Expand Down
Loading