Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
0c42764
[OFFLOAD] Add plugin with support for Intel Level Zero
adurang Sep 16, 2025
e8c471e
Merge branch 'main' into l0_plugin
adurang Sep 16, 2025
f8956cd
Update offload/CMakeLists.txt
adurang Sep 16, 2025
d3fc4d7
Update offload/plugins-nextgen/level_zero/CMakeLists.txt
adurang Sep 16, 2025
4b38386
Update offload/plugins-nextgen/level_zero/include/L0Plugin.h
adurang Sep 16, 2025
6c1c820
Replace pragma once
adurang Sep 17, 2025
fd91c47
Address review comments
adurang Sep 17, 2025
84665dc
Fix makefile format
adurang Sep 17, 2025
a2217db
change to StringRef in multiple places
adurang Sep 17, 2025
08880a6
remove tokenize
adurang Sep 18, 2025
9a3088c
remove unused code
adurang Sep 18, 2025
24d0645
fix format
adurang Sep 18, 2025
0eb5712
Remove environment variable
adurang Sep 18, 2025
f491f3d
fix getAsInteger conditions
adurang Sep 18, 2025
9bbdae3
Merge branch 'main' into l0_plugin
adurang Sep 18, 2025
fe633f4
Don't use __tgt_device_image
adurang Sep 19, 2025
e36a8fc
fix image checking
adurang Sep 19, 2025
53bce7e
changes from review comments
adurang Sep 21, 2025
69df388
remove more CMake messages
adurang Sep 21, 2025
91fa069
format
adurang Sep 21, 2025
561e4ca
remove unnecessary check
adurang Sep 21, 2025
ad07ee8
Merge branch 'main' into l0_plugin
adurang Sep 23, 2025
5b90ccb
Add level_zero to liboffload platforms
adurang Sep 23, 2025
6b8280d
fix different issues
adurang Sep 23, 2025
f983135
Fix ELF bits from #159623
adurang Sep 23, 2025
b6c393a
format & add more Deviceinfo tags
adurang Sep 23, 2025
b226c70
tidy up Makefile
adurang Sep 23, 2025
af1945f
format & renaming
adurang Sep 23, 2025
3dba3c3
Remove ompt_device_t reference
adurang Sep 24, 2025
ac62231
address reviews
adurang Sep 25, 2025
17c8e31
remove unused argument
adurang Sep 25, 2025
e550bf1
Merge branch 'main' into l0_plugin
adurang Sep 26, 2025
b859179
cleanup
adurang Sep 26, 2025
f1d1aad
[OFFLOAD] Enable level zero testing
adurang Sep 26, 2025
c141f9d
address review
adurang Sep 30, 2025
dd774b6
fix & remove dead code
adurang Sep 30, 2025
7fa9dda
remove support for target ICVs
adurang Sep 30, 2025
96411ce
typo & format
adurang Sep 30, 2025
a4cd814
Merge branch 'main' into l0_plugin
adurang Sep 30, 2025
6c5278f
Adjust interfaces after merge
adurang Sep 30, 2025
44b2f48
push some error checking down
adurang Sep 30, 2025
b4e238f
Update offload/plugins-nextgen/level_zero/include/L0Device.h
adurang Oct 9, 2025
166028d
address review comments
adurang Oct 9, 2025
6629159
format
adurang Oct 9, 2025
c00c288
more format :/
adurang Oct 9, 2025
93d3948
add missed wrapper; remove unused macro
adurang Oct 9, 2025
4a2140e
Remove level_zero from default plugin list
adurang Oct 15, 2025
94335ac
Merge branch 'main' into l0_plugin
adurang Oct 15, 2025
bd43212
remove removed plugin interface
adurang Oct 15, 2025
2be5a5a
Merge branch 'l0_plugin' into l0_tests
adurang Oct 15, 2025
7f9c0c8
update spirv target
adurang Oct 15, 2025
2d7cc66
address some reviews
adurang Oct 20, 2025
987f44c
[OFFLOAD] Add support for indexed per-thread containers
adurang Oct 20, 2025
91e51ed
address more reviews
adurang Oct 20, 2025
12ab478
address more comments
adurang Oct 20, 2025
3287b1a
change some containers
adurang Oct 21, 2025
69abec0
more container changes
adurang Oct 21, 2025
b7e95ab
move unsafe code out of destructors
adurang Oct 21, 2025
91f1033
Remove legacy error checking Pt 1
adurang Oct 21, 2025
1221006
Remove legacy error checking Pt 2
adurang Oct 21, 2025
45d38a2
Remove legacy error checking Pt 3
adurang Oct 21, 2025
6ec68e7
Remove legacy error checking Pt 4
adurang Oct 21, 2025
ef8d794
Add more error checking
adurang Oct 21, 2025
19e888e
fix format
adurang Oct 21, 2025
a591b0e
Move DeviceRange to PluginInterface and remove internal Device list
adurang Oct 22, 2025
fc61165
refactor MemPool options field
adurang Oct 22, 2025
40f2626
change auto returns
adurang Oct 22, 2025
f04fef7
Remove link copy queues
adurang Oct 22, 2025
e95cab5
Merge branch 'main' into extend_ptt
jhuber6 Oct 22, 2025
e0c46a6
Change container
adurang Oct 23, 2025
0d3d6dc
Add deinit method
adurang Oct 23, 2025
2de9273
renaming variables, remove some locks
adurang Oct 23, 2025
f4e89a9
format
adurang Oct 23, 2025
5ebf0a4
more renaming
adurang Oct 23, 2025
8bff29d
forgot one mutex
adurang Oct 23, 2025
d29eac0
missed one container
adurang Oct 23, 2025
4a6b196
debug build fixes
adurang Oct 23, 2025
caedd4d
remove auto
adurang Oct 23, 2025
01f9c44
missed one
adurang Oct 23, 2025
e80dcf9
Some renaming
adurang Oct 23, 2025
5451f22
Add asserts
adurang Oct 23, 2025
120e3d4
fixes and cleanup
adurang Oct 27, 2025
40ad342
format :/
adurang Oct 27, 2025
8bb25ad
fixes
adurang Oct 29, 2025
08d5f32
fix incorrect memory logging and MemPool small refactor
adurang Nov 3, 2025
ba08709
Refactor code from comments
adurang Nov 3, 2025
69c0db3
Restructure kernel launching code
adurang Nov 3, 2025
ba0ac45
Remove unused code
adurang Nov 3, 2025
32b9b59
Use correct thread information
adurang Nov 3, 2025
b44f992
format
adurang Nov 3, 2025
a14ee62
Fix asserts to not be undefined
adurang Nov 4, 2025
e1dfd79
Fix env var parsing issue
adurang Nov 5, 2025
21effca
Merge branch 'extend_ptt' into l0_plugin
adurang Nov 5, 2025
581b952
Merge branch 'main' into l0_plugin
adurang Nov 5, 2025
045c94c
add isAccessiblePtrImpl to L0Device
adurang Nov 5, 2025
fd15e04
fixes
adurang Nov 7, 2025
827b28c
format
adurang Nov 7, 2025
26a1231
fix
adurang Nov 7, 2025
e2b8523
make kernel properties mutable; remove unused field
adurang Nov 12, 2025
bd364c5
Implement a few additional services
adurang Nov 17, 2025
0f59337
minor change
adurang Nov 17, 2025
579264a
minor refactoring
adurang Nov 19, 2025
26fbcc0
Refactor container concepts checks
adurang Nov 19, 2025
32819df
remove clearAll
adurang Nov 19, 2025
2d4f364
Simplify PerThreadData
adurang Nov 19, 2025
9c602be
Merge branch 'extend_ptt' into l0_plugin
adurang Nov 19, 2025
bc0ccaf
fix
adurang Nov 19, 2025
fd38f8d
Address comments
adurang Nov 21, 2025
9c5942e
fix comments
adurang Nov 25, 2025
8160235
Merge branch 'extend_ptt' into l0_plugin
adurang Nov 25, 2025
1cadfb8
Merge branch 'main' into l0_plugin
adurang Nov 26, 2025
6f850c2
adjust to removal of memory pool
adurang Nov 26, 2025
3f78a5a
cleanup L0ThreadTLS
adurang Dec 5, 2025
1b98333
use std::bitset to track AsyncQueues
adurang Dec 5, 2025
f2c2c32
address comments to changes in PluginInterface
adurang Dec 5, 2025
2623a9f
change usages of *INT_MAX to use numeric_limits
adurang Dec 5, 2025
b76ef59
remove level_zero from pluginNameToBackend
adurang Dec 5, 2025
8caa36d
remove level_zero from liboffload
adurang Dec 5, 2025
7ad1982
fix typo
adurang Dec 12, 2025
7e9e2f4
Make a constant for timeout expression
adurang Dec 12, 2025
2e820be
address comments
adurang Dec 12, 2025
e613b16
address comments
adurang Dec 12, 2025
9a10b71
format
adurang Dec 12, 2025
2b5b460
address comments
adurang Dec 12, 2025
6556a10
Address comments
adurang Dec 15, 2025
0aa85d5
remove some macros
adurang Dec 15, 2025
88b8091
remove unusued macro
adurang Dec 15, 2025
be26aac
remove str macro
adurang Dec 15, 2025
7093e7b
Fix comments punctuation Pt.1
adurang Dec 15, 2025
2d5430c
Fix comments punctuation Pt.2
adurang Dec 15, 2025
12e4bda
Simplify getDevicesRange
adurang Dec 15, 2025
45a62df
space
adurang Dec 15, 2025
bc28628
Fix level zero library name
adurang Dec 15, 2025
bd3367a
[OFFLOAD] Recognize level zero plugin in liboffload
adurang Dec 17, 2025
5faf61c
Merge branch 'main' into offload_add_l0
adurang Dec 18, 2025
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
1 change: 1 addition & 0 deletions offload/liboffload/API/Platform.td
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def ol_platform_backend_t : Enum {
Etor<"UNKNOWN", "The backend is not recognized">,
Etor<"CUDA", "The backend is CUDA">,
Etor<"AMDGPU", "The backend is AMDGPU">,
Etor<"LEVEL_ZERO", "The backend is Level Zero">,
Etor<"HOST", "The backend is the host">,
];
}
Expand Down
2 changes: 2 additions & 0 deletions offload/liboffload/src/OffloadImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ constexpr ol_platform_backend_t pluginNameToBackend(StringRef Name) {
return OL_PLATFORM_BACKEND_AMDGPU;
} else if (Name == "cuda") {
return OL_PLATFORM_BACKEND_CUDA;
} else if (Name == "level_zero") {
return OL_PLATFORM_BACKEND_LEVEL_ZERO;
} else {
return OL_PLATFORM_BACKEND_UNKNOWN;
}
Expand Down
Loading