Skip to content
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

Move Unified Runtime code into intel/llvm #17043

Merged
merged 5,520 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5520 commits
Select commit Hold shift + click to select a range
1d5edf0
addition of num_compute_units query for device info
dyniols Jan 7, 2025
31c8e4f
formatting fixed
dyniols Jan 8, 2025
33bf8d4
updated urDeviceGetInfo conformance test
dyniols Jan 8, 2025
d357a1d
fix
dyniols Jan 13, 2025
a8d7b49
fixed formatting
dyniols Jan 13, 2025
cd524f9
Merge branch 'main' into num_compute_units
dyniols Jan 17, 2025
33a277b
Use consistent indent style throughout
ldrumm Apr 22, 2024
6513761
Change api generator comment layout
ldrumm Apr 29, 2024
c02bf54
[NFC] regen code after formatting changes in fd6b63b2 and f68e8c0f
ldrumm Jan 17, 2025
12e8bda
[NFC] Manual reflow of some awkward comments
ldrumm Jan 14, 2025
5cdfd8e
Fix license headers and manually reflow some awkward comments
ldrumm Jan 15, 2025
d9aedb0
add building compute-runtime UMD in benchmarks jobs
pbalcer Jan 16, 2025
40f4900
[L0 v2] Add dependency on UR_DPCXX for kernel tests
kswiecicki Jan 17, 2025
584bcf0
Merge pull request #1536 from ldrumm/unified-clang-format
kbenzie Jan 17, 2025
226432d
Merge pull request #2577 from oneapi-src/bench-build-umd
igchor Jan 17, 2025
0c854e6
Enable Host USM backed images on Level Zero
przemektmalon Jan 17, 2025
9b821cf
[L0 v2] avoid nullptr derefernce in kernel.cpp
igchor Dec 19, 2024
e507f0f
[L0 v2] remove unnecessary TODO comment
igchor Dec 19, 2024
065a4ec
[CTS][L0 v2] adjust urEnqueueMemBufferMap
igchor Dec 19, 2024
eb6b6ac
[L0 v2] check alignment in USM allocate functions
igchor Dec 19, 2024
2689fbc
[L0 v2] implement USM import/release support
igchor Dec 19, 2024
e39ed26
[L0 v2] implement enqueueMemcpy2D
igchor Dec 24, 2024
c24eb81
[L0 v2] properly handle shared device-read-only allocations
igchor Dec 24, 2024
f6d5e0a
[L0 v2] fix enqueueMemBufferMap implementation
igchor Dec 26, 2024
33e93f9
[L0 v2] implement UR_QUEUE_INFO_EMPTY query
igchor Dec 27, 2024
b52fccb
[L0 v2] add logs expected by SYCL tests
igchor Dec 27, 2024
3571834
[L0 v2] do not use usm pool free for native handles
igchor Dec 31, 2024
cb9f780
[L0][L0 v2] add command list creation logs
igchor Dec 31, 2024
d848b8f
Fix Coverity COPY_INSTEAD_OF_MOVE defects.
isaacault Jan 20, 2025
bee25c2
port
yingcong-wu Jan 20, 2025
6b687cb
change name
yingcong-wu Jan 20, 2025
d73eb75
fix release order
AllanZyne Jan 20, 2025
9a56768
Merge branch 'main' into review/yang/fix_kernel_release
AllanZyne Jan 20, 2025
04b2e07
update comment
yingcong-wu Jan 20, 2025
549f8b7
Merge pull request #2582 from przemektmalon/przemek/intel-host-usm-su…
martygrant Jan 20, 2025
e115bb3
Merge pull request #2581 from kswiecicki/l0v2-deferred-tests-if-fix
pbalcer Jan 20, 2025
71e8611
add graph API benchmarks
mateuszpn Jan 14, 2025
da14f35
Added `DEVICE_INFO_PROGRAM_SET_SPECIALIZATION_CONSTANTS`
RossBrunton Jan 9, 2025
f20db32
Merge pull request #2560 from mateuszpn/add-graph-bench
pbalcer Jan 20, 2025
5297f8f
Add umf benchmarks: preloaded umfProxy
EuphoricThinking Jan 15, 2025
52ab6a5
Merge branch 'main' into num_compute_units
dyniols Jan 20, 2025
105d4e8
fix
dyniols Jan 20, 2025
b35908b
Remove the prerelease.yml job
kbenzie Jan 20, 2025
57715b2
Merge pull request #2583 from isaacault/copy_to_move
isaacault Jan 21, 2025
b4f31b4
update getDeviceType
yingcong-wu Jan 21, 2025
be22ba0
fix throw exception on free
AllanZyne Jan 21, 2025
772fe95
lock directly
yingcong-wu Jan 21, 2025
e2a894c
ci
yingcong-wu Jan 21, 2025
ede54b3
Merge branch 'main' into yc-test-main/0120-on-shadow-per-type
yingcong-wu Jan 21, 2025
dbb5613
Merge pull request #2539 from RossBrunton/ross/specconst
RossBrunton Jan 21, 2025
a68045f
Add barriers to the SignalCommandList that guarantee that resetting t…
fabiomestre Jan 20, 2025
5991b3f
Merge branch 'main' into num_compute_units
dyniols Jan 21, 2025
b08beab
resolved conflicts
dyniols Jan 21, 2025
f11d1a3
Clarify spec around isNativeHandleOwned.
aarongreig Oct 11, 2024
5cc87d8
Update cts tests.
aarongreig Oct 11, 2024
eafc0de
Fix CTS tests.
aarongreig Nov 8, 2024
8c79faa
Ensure all files are clang formatted
RossBrunton Jan 21, 2025
dd74d0b
Merge pull request #2585 from yingcong-wu/yc-test-main/0120-on-shadow…
kbenzie Jan 21, 2025
3087543
Merge pull request #2588 from kbenzie/benie/ci-delete-prerelease
kbenzie Jan 21, 2025
52568c3
Check for unsupported on CreateWithNative as well as GetNative.
aarongreig Nov 11, 2024
d3fb566
[CUDA][HIP] Fix kernel arguments being overriden when added out of order
fabiomestre Jan 14, 2025
4918b54
Rename Indices member variable to ArgPointers
fabiomestre Jan 21, 2025
cf336f9
Fix typo.
aarongreig Jan 21, 2025
d3aa07a
Merge pull request #2593 from RossBrunton/ross/formatall
RossBrunton Jan 21, 2025
bcf5a10
Merge pull request #2586 from AllanZyne/review/yang/fix_kernel_release
kbenzie Jan 22, 2025
6b060e2
Reduce CI matrix in preparation for repo move
kbenzie Jan 21, 2025
e05b81f
Fix formatting
fabiomestre Jan 22, 2025
e09ae70
Rename variable ArgIndices to ArgPointers
fabiomestre Jan 22, 2025
fdb444d
Merge pull request #2516 from igchor/sycl_e2e_fixes
pbalcer Jan 22, 2025
2480efb
Merge pull request #2193 from aarongreig/aaron/clarifyIsNativeHandleO…
kbenzie Jan 22, 2025
c84d1b6
Merge pull request #2595 from kbenzie/benie/ci-reduce-cmake-matrix
kbenzie Jan 22, 2025
8a13814
[DevASAN] Avoid directly UR api call
zhaomaosu Jan 23, 2025
4e47323
bugfix
yingcong-wu Jan 23, 2025
73dda25
Merge pull request #2605 from yingcong-wu/yc/0123-ur-quick-fix
kbenzie Jan 23, 2025
e0b411c
Enable creation of bindless images backed by host USM
przemektmalon Jan 8, 2025
817cfba
Merge pull request #2589 from Bensuo/fabio/fix_potential_race_condition
kbenzie Jan 23, 2025
43fff3c
Revert "Merge pull request #2502 from ldrumm/luke/tensormap-version"
npmiller Jan 23, 2025
d630d68
Merge pull request #2559 from Bensuo/fix_kernel_arg_indices
kbenzie Jan 23, 2025
9a46d05
Fix invalid use of dlopen()
kbenzie Jan 21, 2025
05ff03e
Revert "Merge pull request #1811 from hdelan/tensormap-exp-api"
npmiller Jan 23, 2025
01ccbf7
Fix passing struct object by value
kbenzie Jan 23, 2025
800e380
remove benchmark output from markdown
EuphoricThinking Jan 23, 2025
1984147
Merge pull request #2611 from EuphoricThinking/benchmark_no_markdown_…
pbalcer Jan 23, 2025
ae1f3e1
fix parseDisjointPoolConfig and add tests
bratpiorka Jan 24, 2025
3eb2eb1
Move urMemImageGetInfo success test from a switch to individual test.
martygrant Jan 13, 2025
790ceb9
Merge pull request #2549 from martygrant/martin/memimage-info-unswitch
martygrant Jan 24, 2025
a974fce
Revert "Move urMemImageGetInfo success test from a switch to individu…
martygrant Jan 24, 2025
45913da
Merge pull request #2572 from pbalcer/update-cache-action
pbalcer Jan 24, 2025
3ea242c
Merge pull request #2613 from oneapi-src/revert-2549-martin/memimage-…
martygrant Jan 24, 2025
5d20358
Merge pull request #2609 from kbenzie/benie/fix-large-obj-noref-arg
kbenzie Jan 24, 2025
062199a
Merge pull request #2551 from przemektmalon/przemek/bindless-images-h…
kbenzie Jan 27, 2025
75bb252
[common] Bump UMF to early 0.11 version, from main
lukaszstolarczuk Jan 22, 2025
3ee2609
Merge branch 'main' into num_compute_units
dyniols Jan 27, 2025
5228279
[CUDA][Bindless] Add support for device to device pitched copies and …
DBDuncan Oct 24, 2024
2a38201
Merge pull request #2574 from bratpiorka/rrudnick_fix_usm_pool_config…
kbenzie Jan 27, 2025
957601d
Update some UUR_KNOWN_FAILURE_ONs
RossBrunton Jan 17, 2025
28ed6de
Remove unnecessary OpenCL KNOWN_FAILURE from urKernelGetInfoTest.
aarongreig Jan 27, 2025
50a7afe
Assert that Device is valid for memory poisoning
RossBrunton Jan 27, 2025
b35afd1
Merge pull request #2625 from aarongreig/aaron/removeUnnecessaryCLSkip
aarongreig Jan 28, 2025
f97d7c3
Merge pull request #2525 from dyniols/num_compute_units
kbenzie Jan 28, 2025
dcae4fd
Merge pull request #2624 from RossBrunton/ross/msanfix
RossBrunton Jan 28, 2025
4e64647
Remove unused `virtual` in cuda command buffers
RossBrunton Jan 28, 2025
1b530de
Merge pull request #2628 from RossBrunton/ross/cudadevirtual
RossBrunton Jan 28, 2025
5f3597d
Add UR_KERNEL_INFO_SPILL_MEM_SIZE kernel info prop
kurapov-peter Jan 24, 2025
1c611ed
Add UR_KERNEL_INFO_SPILL_MEM_SIZE query implementation & test
kurapov-peter Jan 24, 2025
c6dadf9
Return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION for hip and cuda
kurapov-peter Jan 24, 2025
6b63f88
Add implementation for native cpu
kurapov-peter Jan 24, 2025
4d3e329
Change the API to return an array of uint32_t to fix the L0 v2 implem…
kurapov-peter Jan 24, 2025
d897ceb
Add a comment on the order of returned values
kurapov-peter Jan 24, 2025
2e3ad8e
Fix review comments
kurapov-peter Jan 27, 2025
3c8c934
Merge pull request #2580 from RossBrunton/ross/nofail
RossBrunton Jan 28, 2025
d5dd349
Merge pull request #2610 from npmiller/revert-tensormap
kbenzie Jan 28, 2025
6026786
Merge pull request #2594 from kbenzie/benie/cl-core-functions-no-dlopen
kbenzie Jan 28, 2025
41d56f0
Enable cmd-buf local memory update CTS tests on L0
EwanC Jan 28, 2025
2a5b2bb
Fix TEST_F -> TEST_P in platform + device native handle CTS tests.
aarongreig Jan 28, 2025
7e22550
[L0]: fix missing destroy of event given enqueue wait out event
nrspruit Jan 23, 2025
301e39e
[L0] Refactor of boolean variables for Event
winstonzhang-intel Dec 17, 2024
712c3c5
[L0] further simplify context.hpp
winstonzhang-intel Dec 19, 2024
ce6afb4
[L0] Consolidated event_flags into v2/event_provider.hpp
winstonzhang-intel Dec 23, 2024
3dcd73f
[L0] Further simplified getZeEventPoolCache
winstonzhang-intel Dec 24, 2024
d353943
[L0] reverted getEventCache due to test failure
winstonzhang-intel Dec 24, 2024
a6bb8fb
[v2] add initial Command Buffers support (#2629)
pbalcer Jan 29, 2025
a2b30f8
Remove command-buffer command handle ref counting
EwanC Jan 17, 2025
5630cfc
Use std::unique_ptr to hold command objects
EwanC Jan 22, 2025
2e653c2
Merge pull request #2632 from aarongreig/aaron/fixBadTestMacros
kbenzie Jan 29, 2025
f5e375d
[benchmarks] use manifest to build compute-runtime dependencies
pbalcer Jan 27, 2025
ec08438
Merge pull request #2621 from pbalcer/compute-runtime-manifest
pbalcer Jan 29, 2025
36dd50d
Move urMemImageGetInfo success test from a switch to individual test.
martygrant Jan 27, 2025
f6d68bd
Don't use inheritence for L0 V2 event handles
RossBrunton Jan 28, 2025
437ec0c
Merge branch 'main' into ewan/remove_command_ref_counting
kbenzie Jan 29, 2025
7b2a14d
Merge pull request #2578 from Bensuo/ewan/remove_command_ref_counting
kbenzie Jan 29, 2025
241847d
Merge pull request #2563 from EuphoricThinking/benchmark_patch_umf_pr…
pbalcer Jan 29, 2025
3841880
Merge pull request #2619 from martygrant/martin/memimage-info-unswitc…
kbenzie Jan 29, 2025
5f938ad
Merge pull request #2630 from RossBrunton/ross/v2devirtualevent
RossBrunton Jan 29, 2025
fa865c4
[UR][Bindless] Initial implementation of bindless images for HIP
GeorgeWeb Sep 20, 2024
9b99015
Address review feedback
GeorgeWeb Jan 27, 2025
63719ae
[CTS] add simple test that combines kernel launch and memcpy
igchor Jan 29, 2025
eae7b64
[L0] MAX_COMPUTE_UNITS using ze_eu_count_ext_t
winstonzhang-intel Jan 30, 2025
6df05ef
Merge pull request #2631 from Bensuo/ewan/enable_L0_SLM_update_tests
aarongreig Jan 30, 2025
0722221
Use UMF CUDA provider in UR
ldorau Jan 30, 2025
1644237
[benchmarks] update UMD and fix no-igc builds
pbalcer Jan 30, 2025
a8ff1dc
Remove virtual from L0 V2 queues
RossBrunton Jan 29, 2025
08a3f81
Merge pull request #2643 from pbalcer/update-umd
pbalcer Jan 30, 2025
607bfb7
Merge pull request #2635 from RossBrunton/ross/v2devirtqueue
RossBrunton Jan 30, 2025
bdf99e9
Remove virtual methods from ur_mem_handle_t_
RossBrunton Jan 27, 2025
c8d521e
Refactor KNOWN_FAILURE implementation to avoid repeated logic.
aarongreig Jan 30, 2025
74eb60d
Fix the easily dealt with CL adapter KNOWN_FAILURES.
aarongreig Jan 28, 2025
1931f32
Add links to issues.
aarongreig Jan 30, 2025
0ba4e2e
[L0] Fix UrL0LeaksDebug to track ImageViewCreateExt for Create Calls
nrspruit Jan 30, 2025
ca4c798
Merge pull request #2650 from nrspruit/fix_image_leak_checker
igchor Jan 30, 2025
563842d
[L0 v2] support SYCL_PI_LEVEL_ZERO_DISABLE_USM_ALLOCATOR
igchor Jan 30, 2025
93766f1
[L0 v2] fix queue destruction
igchor Jan 30, 2025
3301107
Merge pull request #2648 from aarongreig/aaron/fixEasyCLKnownErrors
aarongreig Jan 31, 2025
e0c2da6
Merge pull request #2575 from DBDuncan/duncan/extend-copies
kbenzie Jan 31, 2025
010dc4a
Merge pull request #2651 from igchor/fix_queue_variant
pbalcer Jan 31, 2025
ae350a6
Remove urDeviceRelease calls causing new crashes.
aarongreig Jan 31, 2025
00d8e1a
Document CTS fixtures and macros.
aarongreig Jan 27, 2025
e02ed86
Merge pull request #2623 from aarongreig/aaron/documentFixtures
aarongreig Jan 31, 2025
de317f9
Rename urCommandBufferEnqueueExp to urEnqueueCommandBufferExp
EwanC Jan 23, 2025
d83e83a
Merge pull request #2612 from nrspruit/destroy_wait_always
kbenzie Feb 3, 2025
0020880
[NativeCPU] Handle null phEvent.
hvdijk Jan 31, 2025
956dc28
Enable the registry of level_zero_v2
omarahmed1111 Jan 29, 2025
e0f6e18
[benchmarks] don't fail on suite setup issues
pbalcer Feb 3, 2025
781604a
[common] move makeDisjointPool and makeProxyPool to common
igchor Feb 3, 2025
47d5c43
Merge pull request #2654 from pbalcer/add-sycl-target-pvc
pbalcer Feb 4, 2025
72d8641
Merge pull request #2641 from igchor/add_test_mecpy
pbalcer Feb 4, 2025
eb6ea20
Merge pull request #2657 from igchor/v2_usm_support_env
pbalcer Feb 4, 2025
ef3f222
Merge pull request #2620 from RossBrunton/ross/l0devirtual
kbenzie Feb 4, 2025
f7cd500
Merge pull request #2596 from lukaszstolarczuk/bump-umf-0.11
kbenzie Feb 4, 2025
6636fdc
Merge pull request #2614 from kurapov-peter/spills
kbenzie Feb 4, 2025
a8a2e9a
Merge pull request #2646 from aarongreig/aaron/refactorKnownFailure
aarongreig Feb 4, 2025
e592767
Merge pull request #2618 from winstonzhang-intel/max_eu_count_calcula…
kbenzie Feb 4, 2025
e5cb366
Merge pull request #2480 from ldorau/Add_UMF_CUDA_provider
kbenzie Feb 4, 2025
43a1884
[L0 v2] simplify optimization in enqueue methods
igchor Feb 3, 2025
a0b895e
[L0 v2] extend USMFill implementation to support sizes which are not …
igchor Feb 3, 2025
792dba3
Improvements to align CTS and Spec for USM:
martygrant Jan 29, 2025
77b85c0
Merge pull request #2658 from igchor/fill_non_pow2
pbalcer Feb 5, 2025
50e9820
Merge pull request #2496 from GeorgeWeb/georgi/bindless-hip
kbenzie Feb 5, 2025
5dd0c0d
Reorganised urEventGetProfilingInfo test into separate tests instead …
martygrant Jan 24, 2025
1abe526
Merge pull request #2655 from hvdijk/nativecpu-null-phevent
kbenzie Feb 6, 2025
58513c8
Merge pull request #2642 from martygrant/martin/usm-cts-spec-gap
martygrant Feb 6, 2025
05dd502
Merge pull request #2606 from Bensuo/cmd-buf_enqueue_refactor
kbenzie Feb 6, 2025
be058f4
Merge pull request #2626 from martygrant/martin/getinfo-property-rename
martygrant Feb 7, 2025
be22119
Add USMMemcpy to v2 command buffer
Xewar313 Feb 7, 2025
9b7cebd
[CI][Bench] Use GPU mask to match the CPU mask
lukaszstolarczuk Feb 7, 2025
81a80f1
add mutex
yingcong-wu Feb 8, 2025
90386ab
comment & format
yingcong-wu Feb 8, 2025
9996e6a
trigger ci
yingcong-wu Feb 8, 2025
79c4baf
Merge pull request #2604 from zhaomaosu/asan-avoid-direct-ur-call
isaacault Feb 10, 2025
1b2dd02
move mutex
yingcong-wu Feb 10, 2025
c85bdef
Merge pull request #2679 from yingcong-wu/yc/0208-ur-dasan-bugfix-main
kbenzie Feb 10, 2025
4896d14
Add comment explaining engine choice offload
Xewar313 Feb 10, 2025
1f934be
fix missing cmake options for UMF benchmarks
EuphoricThinking Jan 30, 2025
7581985
Rename USMMemcpy operation
Xewar313 Feb 10, 2025
7e92f84
Merge pull request #2649 from EuphoricThinking/benchmark_fix_cmake_op…
pbalcer Feb 10, 2025
a828309
Fix formatting
Xewar313 Feb 10, 2025
57161d2
[L0 v2] reorder context members
igchor Feb 10, 2025
40579f9
Improvements to align CTS and Spec for Event.
isaacault Feb 10, 2025
9ffb5ff
Merge pull request #2686 from igchor/fix_context_dtor
pbalcer Feb 11, 2025
d40405d
Merge pull request #2682 from Xewar313/add-append-usm-memory-v2-comma…
pbalcer Feb 11, 2025
7e8d04e
Merge pull request #2674 from lukaszstolarczuk/minor-changes-bench
pbalcer Feb 11, 2025
6789663
Revert "Merge pull request #2606 from Bensuo/cmd-buf_enqueue_refactor"
EwanC Feb 11, 2025
08add9c
Add buffer mem calls to command buffer v2
Xewar313 Feb 10, 2025
ea8bbf6
Merge pull request #2688 from Bensuo/revert_2606
kbenzie Feb 11, 2025
e202bf0
[L0 v2] add missing urCommadBufferEnqueueExp function
pbalcer Feb 11, 2025
94b2189
Merge pull request #2690 from pbalcer/fix-v2-cmdbuf-enqueue
kbenzie Feb 11, 2025
b5e00b1
Mark OpenCL CPU known failing device more generally
kbenzie Feb 11, 2025
dc1f695
common: Bump UMF version to v0.11.0-dev2
lukaszstolarczuk Feb 7, 2025
9edff97
Merge pull request #1600 from winstonzhang-intel/event-bool-refactoring
kbenzie Feb 11, 2025
272cb7f
Address Feedback:
isaacault Feb 11, 2025
e20013b
Merge pull request #2687 from isaacault/event-cts
isaacault Feb 12, 2025
f7e0e7c
Revert "[L0] Refactoring of boolean event parameters"
kbenzie Feb 12, 2025
0122d76
Merge pull request #2694 from oneapi-src/revert-1600-event-bool-refac…
kbenzie Feb 12, 2025
16c8579
Merge pull request #2672 from lukaszstolarczuk/umf-with-icx-build-0.1…
kbenzie Feb 12, 2025
cebcc96
Set UMF_CUDA_INCLUDE_DIR to not fetch cudart from gitlab
ldorau Feb 10, 2025
66870b4
Update UMF
ldorau Feb 12, 2025
86eb6b5
Improvements to align CTS and Spec for Enqueue:
martygrant Feb 6, 2025
f49f72e
Merge pull request #2675 from martygrant/martin/enqueue-cts-spec-gap
martygrant Feb 12, 2025
dd1a3e1
Merge pull request #2684 from Xewar313/add-mem-buffer-operations
pbalcer Feb 12, 2025
c718012
[L0 v2] implement support for sampler
igchor Jan 3, 2025
2f479c4
[L0 v2] implement support for images
igchor Jan 3, 2025
cd6f080
[NFC] Small refactor for MsanInterceptor::allocateMemory
RossBrunton Feb 13, 2025
627492c
Merge pull request #2680 from ldorau/Set_UMF_CUDA_INCLUDE_DIR_to_not_…
kbenzie Feb 13, 2025
c3f3945
Merge pull request #2640 from igchor/images
pbalcer Feb 13, 2025
72ef2e5
Merge pull request #2689 from kbenzie/benie/cts-cl-cpu-known-failures
kbenzie Feb 13, 2025
a333357
Merge pull request #2592 from AllanZyne/review/yang/fix_asan_free
kbenzie Feb 13, 2025
1f41ed1
Revert "[DeviceASAN] Fix throw "UR_RESULT_ERROR_INVALID_ARGUMENT" exc…
kbenzie Feb 14, 2025
c41515e
Merge pull request #2706 from oneapi-src/revert-2592-review/yang/fix_…
kbenzie Feb 14, 2025
839e34d
Merge pull request #2571 from omarahmed1111/enable-registry-of-level_…
kbenzie Feb 14, 2025
2be5c71
Merge pull request #2704 from RossBrunton/ross/coverityfix
RossBrunton Feb 14, 2025
d68d54b
In docs, mark "allocating" functions as such
RossBrunton Jan 22, 2025
601f60c
Merge pull request #2601 from RossBrunton/ross/allocdoc
RossBrunton Feb 17, 2025
664a3ae
change markdown output in benchmark PR comments
EuphoricThinking Feb 10, 2025
0d080f8
Merge pull request #2693 from EuphoricThinking/benchmark_markdown
pbalcer Feb 17, 2025
722d1c6
add comparing to baseline in benchmark workflow
EuphoricThinking Feb 17, 2025
c4f9385
Merge pull request #2710 from EuphoricThinking/benchmark_fix_compare_…
pbalcer Feb 17, 2025
7247ca4
update README and a parameter description in benchmarks
EuphoricThinking Feb 17, 2025
939ee6c
Merge pull request #2711 from EuphoricThinking/benchmark_compare_readme
pbalcer Feb 17, 2025
dece60d
[NFC] Format python code with black
RossBrunton Feb 18, 2025
d02a480
Update docs to reflect repo move.
aarongreig Jan 20, 2025
71099c0
[NFC] Format c++ code
kbenzie Feb 18, 2025
03f1d28
Remove references to old release process in README.
aarongreig Jan 23, 2025
2341601
Merge pull request #2709 from RossBrunton/ross/black
kbenzie Feb 18, 2025
6f2de58
Merge pull request #2712 from kbenzie/benie/format-cpp-code
kbenzie Feb 18, 2025
1b71c33
Merge pull request #2590 from aarongreig/aaron/postMoveDocUpdate
kbenzie Feb 18, 2025
904cc86
Add 'unified-runtime/' from commit '1b71c333d1e211730412a92642bc04240…
kbenzie Feb 18, 2025
e84b354
[UR] Cleanup GitHub directory
kbenzie Feb 18, 2025
63cb052
[UR] Ensure UNIFIED_RUNTIME_SOURCE_DIR is set
kbenzie Feb 17, 2025
b992e8a
[UR] Ensure UMF options are set
kbenzie Feb 17, 2025
86149d0
[LIBDEVICE][UR] Ensure UR_SANITIZER_INCLUDE_DIR is set
kbenzie Feb 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion libdevice/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ set(CMAKE_MODULE_PATH
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules"
)

if(EXISTS ${FETCHCONTENT_BASE_DIR}/unified-runtime-src)
set(UR_INTREE_SOURCE_DIR "${LLVM_SOURCE_DIR}/../unified-runtime")
cmake_path(NORMAL_PATH UR_INTREE_SOURCE_DIR OUTPUT_VARIABLE UR_INTREE_SOURCE_DIR)

if(IS_DIRECTORY "${UR_INTREE_SOURCE_DIR}")
set(UR_SANITIZER_INCLUDE_DIR
${UR_INTREE_SOURCE_DIR}/source/loader/layers/sanitizer)
elseif(EXISTS ${FETCHCONTENT_BASE_DIR}/unified-runtime-src)
set(UR_SANITIZER_INCLUDE_DIR
${FETCHCONTENT_BASE_DIR}/unified-runtime-src/source/loader/layers/sanitizer)
elseif(EXISTS ${SYCL_UR_SOURCE_DIR})
Expand Down
14 changes: 13 additions & 1 deletion sycl/cmake/modules/FetchUnifiedRuntime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,19 @@ cmake_path(NORMAL_PATH UR_INTREE_SOURCE_DIR OUTPUT_VARIABLE UR_INTREE_SOURCE_DIR

if(IS_DIRECTORY "${UR_INTREE_SOURCE_DIR}")
set(UR_INTREE_BINARY_DIR ${LLVM_BINARY_DIR}/unified-runtime)
add_subdirectory(${UR_INTREE_SOURCE_DIR} ${UR_INTREE_BINARY_DIR})
set(UNIFIED_RUNTIME_SOURCE_DIR
"${UR_INTREE_SOURCE_DIR}" CACHE PATH
"Path to Unified Runtime Headers" FORCE)
set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES")
# Due to the use of dependentloadflag and no installer for UMF and hwloc we need
# to link statically on windows
if(WIN32)
set(UMF_BUILD_SHARED_LIBRARY OFF CACHE INTERNAL "Build UMF shared library")
set(UMF_LINK_HWLOC_STATICALLY ON CACHE INTERNAL "static HWLOC")
else()
set(UMF_DISABLE_HWLOC ${SYCL_UMF_DISABLE_HWLOC} CACHE INTERNAL "Disable hwloc for UMF")
endif()
add_subdirectory(${UNIFIED_RUNTIME_SOURCE_DIR} ${UR_INTREE_BINARY_DIR})
elseif(SYCL_UR_USE_FETCH_CONTENT)
include(FetchContent)

Expand Down
4 changes: 4 additions & 0 deletions unified-runtime/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
Language: Cpp
BasedOnStyle: LLVM
...
15 changes: 15 additions & 0 deletions unified-runtime/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[*]
indent_style = space
indent_size = 2

[*.py]
indent_size = 4

[scripts/core/*]
indent_size = 4

[CMakeLists.txt]
indent_size = 4

[*.cmake]
indent_size = 4
1 change: 1 addition & 0 deletions unified-runtime/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
87 changes: 87 additions & 0 deletions unified-runtime/.github/scripts/get_system_info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
#!/usr/bin/env bash

# Copyright (C) 2023 Intel Corporation
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
# See LICENSE.TXT
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

# get_system_info.sh - Script for printing system info

function check_L0_version {
if command -v dpkg &> /dev/null; then
dpkg -l | grep level-zero && return
fi

if command -v rpm &> /dev/null; then
rpm -qa | grep level-zero && return
fi

if command -v zypper &> /dev/null; then
zypper se level-zero && return
fi

echo "level-zero not installed"
}

function system_info {
echo "**********system_info**********"
cat /etc/os-release | grep -oP "PRETTY_NAME=\K.*"
cat /proc/version
echo "**********SYCL-LS**********"
source /opt/intel/oneapi/setvars.sh
sycl-ls
echo "**********VGA**********"
lspci | grep VGA
echo "**********CUDA Version**********"
if command -v nvidia-smi &> /dev/null; then
nvidia-smi
else
echo "CUDA not installed"
fi
echo "**********L0 Version**********"
check_L0_version
echo "**********ROCm Version**********"
if command -v rocminfo &> /dev/null; then
rocminfo
else
echo "ROCm not installed"
fi
echo "**********/proc/cmdline**********"
cat /proc/cmdline
echo "**********CPU info**********"
lscpu
echo "**********/proc/meminfo**********"
cat /proc/meminfo
echo "**********build/bin/urinfo**********"
$(dirname "$(readlink -f "$0")")/../../build/bin/urinfo --no-linear-ids --verbose || true
echo "******OpenCL*******"
# The driver version of OpenCL Graphics is the compute-runtime version
clinfo || echo "OpenCL not installed"
echo "**********list-environment**********"
echo "PATH=$PATH"
echo
echo "CPATH=$CPATH"
echo
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
echo
echo "LIBRARY_PATH=$LIBRARY_PATH"
echo
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
echo
echo "******list-build-system-versions*******"
gcc --version 2>/dev/null || true
echo
clang --version 2>/dev/null || true
echo
make --version 2>/dev/null || true
echo "**********/proc/modules**********"
cat /proc/modules
echo "***************installed-packages***************"
# Instructions below will return some minor errors, as they are dependent on the Linux distribution.
zypper se --installed-only 2>/dev/null || true
apt list --installed 2>/dev/null || true
yum list installed 2>/dev/null || true
}

# Call the function above to print system info.
system_info
92 changes: 92 additions & 0 deletions unified-runtime/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj
*.exp
*.pdb
*.log
*.tlog
*.ilk
*.idb
*.CopyComplete
*.pyc
*.tmp

# Precompiled Headers
*.gch
*.pch
*.ipch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Project files
*.sln
*.vcproj
*.vcxproj
*.pyproj
*.suo
*.db
*.opendb
*.user
*.filters
.vs/
.idea/

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# Debug files
scripts/**/*.json

# Python cache
__pycache__/
*.py[cod]

# Generated docs
docs/

# Build files
/build*/
out/

# irepo files
.irepo

# ci deps
.deps

# third_party files
/third_party/*/


# VS CMake settings
/CMakeSettings.json

# Temporary files
*.~vsdx

# IDE Files
/.vscode
/.devcontainer

# External content
*/**/external

# VS clangd
/.cache
/compile_commands.json
6 changes: 6 additions & 0 deletions unified-runtime/.trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Docs: https://aquasecurity.github.io/trivy/latest/docs/configuration/filtering/#trivyignore

# In docker files:
# HEALTHCHECK is not required for development, nor in CI (failed docker = failed CI).
# We're not hosting any application with usage of the dockers.
AVD-DS-0026
4 changes: 4 additions & 0 deletions unified-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Unified Runtime changelog

## v.X.X.X
* Placeholder for first release
Loading
Loading