Skip to content

Amx sys matrix #16

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

Closed
wants to merge 1,185 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1185 commits
Select commit Hold shift + click to select a range
23e8f46
[SYCL] Add E2E invoke_simd 'smoke' test. (#1124)
kbobrovs Aug 5, 2022
9d35612
[SYCL] new tests for SYCL 2020 callable device selector interfaces (#…
cperkinsintel Aug 5, 2022
fd36103
[SYCL][CUDA][HIP] Fix compile command in CommandCleanupThreadSafety.c…
t4c1 Aug 5, 2022
813b2f6
[SYCL][CUDA] Enable printf test for CUDA (#1096)
pgorlani Aug 5, 2022
145b113
[SYCL][CUDA] Fix compile command in gpu.cpp (#1088)
t4c1 Aug 5, 2022
b57e11f
[SYCL][CUDA][HIP] Fix device_num.cpp test (#1081)
t4c1 Aug 5, 2022
d5d594f
[SYCL][CUDA] Fix kernel bundle related tests (#1093)
t4c1 Aug 5, 2022
8756be6
[SYCL] Enable reduction_nd_n_vars test (#1133)
KseniyaTikhomirova Aug 8, 2022
b061789
[SYCL] Enable reduction tests back (LevelZero GPU RT was updated) (#1…
KseniyaTikhomirova Aug 8, 2022
2c6eb63
[SYCL][CUDA][HIP] Expand Config/select_device.cpp for CUDA and HIP (#…
sami-hatna66 Aug 9, 2022
bdd8cc4
[SYCL][HIP] Disable device_num.cpp (#1136)
t4c1 Aug 9, 2022
fec22e4
Test for changes to ensure proper compilation of bitshift functions (…
fineg74 Aug 9, 2022
7e0c477
[SYCL] Enable assert_in_simultaneously_multiple_tus back for LevelZer…
KseniyaTikhomirova Aug 10, 2022
dafd0f6
[SYCL] Use 0 for generic mem_advise (#1140)
steffenlarsen Aug 10, 2022
1f66a4f
[SYCL] Update get_profiling_info() test (#1120)
raaiq1 Aug 10, 2022
66c65ac
[SYCL][L0] check fixed queue indices when submitting to sub-sub-devic…
smaslov-intel Aug 10, 2022
a4f2cae
[SYCL] Adjust SYCL 2020 guarded feature tests (#1137)
steffenlarsen Aug 11, 2022
daad7c2
[SYCL] Complementary change for removing cl:: namespace (#1128)
aelovikov-intel Aug 11, 2022
9282530
[SYCL] E2E test for code_location. (#1123)
cperkinsintel Aug 11, 2022
f05f8e0
[SYCL] disable code_loc e2e test on hip and cuda (#1145)
cperkinsintel Aug 12, 2022
be1de4c
Add regression test for DAE and separate compile (#970)
AlexeySachkov Aug 12, 2022
b1e3dad
[SYCL][HIP] Enable reduction span test (#1097)
pgorlani Aug 12, 2022
2fb0a0e
[SYCL][HIP] Re-enable aspect::atomic64 tests (#1094)
pgorlani Aug 12, 2022
713a078
[SYCL] new tests for SYCL 2020 standalone device selectors ( gpu_sele…
cperkinsintel Aug 12, 2022
b1d9a04
[libdevice] Add tests for imf simd APIs. (#1074)
jinge90 Aug 15, 2022
bf08859
[SYCL] Disable recently added test on CUDA/HIP (#1148)
Aug 16, 2022
e7db723
[SYCL] Enable Assert/assert_in_simultaneously_multiple_tus.cpp for L0…
againull Aug 16, 2022
58ceaa1
[SYCL][XPTI] Increase number of expected args in reduction (#1040)
steffenlarsen Aug 16, 2022
313c5bd
[SYCL] Update invoke_simd smoke test, add test on argument conversion…
kbobrovs Aug 16, 2022
03b449b
[SYCL][ESIMD][EMU] Enabling dpas_test1/2/3 tests (#1151)
dongkyunahn-intel Aug 17, 2022
5676213
[SYCL] Enable handler_mem_op test (#1154)
againull Aug 17, 2022
1a084e5
[SYCL] Temporarily disable failing XPTI test on CPU (#1157)
steffenlarsen Aug 17, 2022
f7f2884
[SYCL] Remove XFAIL for sub group reduce tests (#1156)
wwXing0 Aug 17, 2022
f977ac0
[SYCL] Re-enable SYCL/Reduction/ tests (#1153)
aelovikov-intel Aug 18, 2022
b555195
[SYCL] Remove OpenCL event interop test after feature removal (#1161)
steffenlarsen Aug 18, 2022
efeffb3
Revert "[SYCL] temporarily disable tests" (#1149)
Aug 18, 2022
45a96ee
[SYCL][ESIMD] Test half type conversion under ESIMD emulator (#1155)
fineg74 Aug 18, 2022
26a8734
[SYCL] Adjust XPTI/kernel/content.cpp for https://github.com/intel/ll…
aelovikov-intel Aug 19, 2022
71b369c
[SYCL][ESIMD][EMU] Half-type test updates (#1167)
dongkyunahn-intel Aug 20, 2022
bb92e5f
[SYCL] reenable test after CPU driver uplift (#1166)
cperkinsintel Aug 22, 2022
7d7e339
[SYCL] Enable discard_events feature tests for L0 (#1132)
againull Aug 22, 2022
c9b5bf5
[SYCL] Temporarily disable assert_in_simultaneously_multiple_tus for …
steffenlarsen Aug 22, 2022
2250b17
[SYCL] Temporarily disable failing tests (#1168)
steffenlarsen Aug 22, 2022
a46fce9
[SYCL] Remove tests for ext::oneapi::reduction (#1152)
aelovikov-intel Aug 23, 2022
de2e166
[SYCL][libdevice] Add tests for intel math device library. (#1043)
jinge90 Aug 23, 2022
6304842
[SYCL] Fix use of deprecated address space naming (#1163)
steffenlarsen Aug 23, 2022
3a47f25
[SYCL] Add sycl complex testing (#1058)
AidanBeltonS Aug 23, 2022
dcec231
[SYCL] Remove deprecated buffer interop case after removal (#1175)
steffenlarsen Aug 24, 2022
4d196e9
[HIP] Disable flaky failing tests on HIP (#1173)
KseniyaTikhomirova Aug 24, 2022
9e32012
[SYCL] Modify SYCL/KernelAndProgram/cache_env_vars.cpp to pass with -…
aelovikov-intel Aug 24, 2022
4869162
[SYCL] Remove UB in sampler.cpp (#1177)
steffenlarsen Aug 24, 2022
e63cce9
[SYCL] Reenable previously failing tests (#1172)
steffenlarsen Aug 25, 2022
8c8996a
[SYCL] Use host device explicitly and add default ctor tests (#1169)
steffenlarsen Aug 25, 2022
46fc03b
[SYCL] Support accessor property interface (#1165)
KornevNikita Aug 26, 2022
c2d6146
[ESIMD] Add tests for atomic operations. (#1171)
kbobrovs Aug 29, 2022
90738b1
[ESIMD] Add a LIT test verifying DPAS with 2 tfloat32 arguments (#1180)
v-klochkov Aug 29, 2022
3830247
[SYCL][ESIMD][EMU] LSC support bringup (#1018)
dongkyunahn-intel Aug 29, 2022
636b587
[SYCL][ESIMD] Change comparison method for for double arguments (#1181)
fineg74 Aug 29, 2022
d18dace
[SYCL] Disable dword_atomic_smoke.cpp to unblock development (#1185)
romanovvlad Aug 30, 2022
53b6f5b
[SYCL] [CUDA] Disable an assert test on CUDA due to flaky failures (#…
romanovvlad Aug 30, 2022
483fb75
[SYCL] Make checks more robust in the level_zero_device_scope_events.…
againull Aug 31, 2022
ccef0d4
[SYCL] Update tests to use local_accessor (#1063)
AidanBeltonS Sep 2, 2022
3f3402c
[SYCL][CUDA] CXX std lib funcs for CUDA backend (#1112)
hdelan Sep 2, 2022
a0ee398
[SYCL] Add a test for https://github.com/intel/llvm/pull/6680 (#1192)
aelovikov-intel Sep 2, 2022
6c5ca79
[ESIMD] Test mix of unnamed ESIMD and nonESIMD kernels compilation (#…
fineg74 Sep 2, 2022
6393422
[ESIMD] Separate out cmpxchg tests which can take more time to execut…
kbobrovs Sep 4, 2022
d89605a
[ESIMD] Add bfloat16 test cases. (#1193)
kbobrovs Sep 4, 2022
0a43209
[SYCL] Remove tests using sycl::program (#1187)
KornevNikita Sep 5, 2022
a93df17
[SYCL] Remove host run and dependencies from SYCL/Plugin tests (#1215)
steffenlarsen Sep 5, 2022
5b34a79
[SYCL] Remove host run and dependencies from SYCL/Reduction tests (#1…
steffenlarsen Sep 5, 2022
f044d25
[SYCL] Remove host run and dependencies from SYCL/Sampler tests (#1217)
steffenlarsen Sep 5, 2022
649ec7d
[SYCL] Remove host run and dependencies from SYCL/FilterSelector test…
steffenlarsen Sep 5, 2022
f787cff
[SYCL] Remove host run and dependencies from SYCL/SpecConstants tests…
steffenlarsen Sep 5, 2022
0a62ea0
[SYCL] Remove host run and dependencies from SYCL/DeviceGlobal tests …
steffenlarsen Sep 5, 2022
b27af77
[SYCL] Remove host run and dependencies from SYCL/SubGroup tests (#1220)
steffenlarsen Sep 5, 2022
3b2640f
[SYCL] Remove host run and dependencies from SYCL/GroupAlgorithm test…
steffenlarsen Sep 5, 2022
4ce1459
[SYCL] Remove host run and dependencies from SYCL/OnlineCompiler test…
steffenlarsen Sep 5, 2022
20f514b
[SYCL] Remove host run and dependencies from SYCL/InorderQueue tests …
steffenlarsen Sep 5, 2022
86fc200
[SYCL] Remove host run and dependencies from SYCL/Functor tests (#1209)
steffenlarsen Sep 5, 2022
2fef19b
[SYCL] Add bfloat16 'hello world' host test. (#1189)
kbobrovs Sep 5, 2022
6980a70
[SYCL] Remove host run and dependencies from SYCL/AOT tests (#1196)
steffenlarsen Sep 6, 2022
332118a
[SYCL] Test for device.has(aspect::atomic64) (#946)
denis-kabanov Sep 6, 2022
92972e7
[SYCL] Remove host run and dependencies from SYCL/DotProduct tests (#…
steffenlarsen Sep 6, 2022
4fe3e90
[SYCL] Remove host run and dependencies from SYCL/DiscardEvents tests…
steffenlarsen Sep 6, 2022
8909767
[SYCL] Remove host run and dependencies from SYCL/Complex tests (#1199)
steffenlarsen Sep 6, 2022
3794bb6
[SYCL] Remove host run and dependencies from SYCL/DeviceLib tests (#1…
steffenlarsen Sep 6, 2022
e4add67
[SYCL] Remove host run and dependencies from SYCL/AtomicRef tests (#1…
steffenlarsen Sep 6, 2022
32f59c2
[SYCL] Prevent skipped GPU run from overwriting CPU output in DeviceL…
steffenlarsen Sep 6, 2022
90d7f5a
[SYCL][CUDA] Enable Basic Image tests (#1131)
pgorlani Sep 6, 2022
2eb7ff3
[SYCL][CUDA] Re-enable host-task-dependency test for CUDA (#1064)
pgorlani Sep 6, 2022
d6e43f6
[SYCL] Support query of free device memory extension (#1162)
smaslov-intel Sep 6, 2022
9ca4851
[SYCL] Remove host run and dependencies from SYCL/Scheduler tests (#1…
steffenlarsen Sep 7, 2022
bd52f31
[SYCL] Migrate remaining device-dependent in-tree LIT tests (#1195)
steffenlarsen Sep 7, 2022
1e8b1df
[SYCL] Remove host run and dependencies from SYCL/HierPar tests (#1211)
steffenlarsen Sep 7, 2022
7b348b3
[SYCL] Remove host run and dependencies from SYCL/KernelParams tests …
steffenlarsen Sep 7, 2022
68733c1
[SYCL] Remove host run and dependencies from SYCL/Config tests (#1200)
steffenlarsen Sep 7, 2022
beb2efe
[SYCL] Remove host run and dependencies from SYCL/InvokeSimd tests (#…
steffenlarsen Sep 7, 2022
5e4e7e2
[SYCL] Remove External/RSBench host test case (#1207)
steffenlarsen Sep 7, 2022
9117bf7
Remove incorrect XFAIL (#1229)
AlexeySachkov Sep 7, 2022
cafd91e
Temporary disable hanging device_has_aspect L0 test (#1234)
AlexeySachkov Sep 7, 2022
4a7aa37
[SYCL][CUDA] Fix compile command in HostAccDestruction.cpp (#1085)
t4c1 Sep 8, 2022
bfd61bb
[SYCL] Remove host run and dependencies from SYCL/USM tests (#1221)
steffenlarsen Sep 8, 2022
16b4541
[SYCL] Make DeviceGlobal tests unsupported rather than xfail (#1235)
steffenlarsen Sep 8, 2022
47539d5
[HIP][SYCL] Remove not relevant XFAIL on HIP AtomicRef (#1236)
KseniyaTikhomirova Sep 8, 2022
288acc6
[SYCL][ESIMD] Lsc block load/store predicate test (#1194)
fineg74 Sep 9, 2022
0ff7f3f
[SYCL] Remove host run and dependencies from SYCL/Basic tests (#1198)
steffenlarsen Sep 9, 2022
647c8c4
[SYCL] Remove host run and dependencies from SYCL/DeprecatedFeatures …
steffenlarsen Sep 9, 2022
4bac3b5
[SYCL] Remove host run and dependencies from SYCL/Regression tests (#…
steffenlarsen Sep 9, 2022
51c9fe5
[SYCL] Move host-compiler tests from in-tree LIT (#1240)
steffenlarsen Sep 9, 2022
be4717c
[SYCL] Modify test for changing namespace for intel device info exten…
raaiq1 Sep 9, 2022
44697ec
Update SubGroup tests to account for optionality of double (#1241)
AlexeySachkov Sep 9, 2022
6d3dd9d
[ESIMD]Test correctness of type conversion fix (#1170)
fineg74 Sep 10, 2022
735d633
[SYCL][ESIMD] Bugfix & single_task for fmod_compatibility test (#1243)
dongkyunahn-intel Sep 10, 2022
e9c8e59
[SYCL] Pass /Zc:__cplusplus for fsycl-host-compiler-win.cpp test (#1245)
aelovikov-intel Sep 12, 2022
720e857
[SYCL] Update part of the tests to make double support optional (#1190)
romanovvlad Sep 12, 2022
ee421ec
[SYCL] Remove host from supported device types and backends (#1224)
steffenlarsen Sep 12, 2022
2adfa38
[SYCL] [CUDA] Disable an assert test on CUDA due to flaky failures (#…
romanovvlad Sep 12, 2022
1f44112
[SYCL] Use float instead of double in some SpecConstants tests (#1247)
aelovikov-intel Sep 12, 2022
390f24c
[SYCL] Remove host run and dependencies from SYCL/ESIMD tests (#1206)
steffenlarsen Sep 12, 2022
4b0ccd1
[SYCL] Fix sycl-host-compiler run line (#1252)
romanovvlad Sep 12, 2022
8c99324
[ESIMD] Test invoke_simd() accepting reference to var holding func ad…
v-klochkov Sep 12, 2022
f3a885b
[SYCL] Assign code owners for SYCL/InvokeSimd tests. (#1239)
kbobrovs Sep 13, 2022
7f2d049
[ESIMD] Remove duplicated check for fp16/fp64 aspect used in wrong te…
v-klochkov Sep 13, 2022
fc64e4e
[SYCL] Add wait to device_global_device_only to avoid race (#1254)
romanovvlad Sep 13, 2022
5b915e1
[SYCL] Check for aspect::fp64 in ESIMD/api/*ops_heavy.cpp (#1248)
aelovikov-intel Sep 13, 2022
5f9e79a
[SYCL] Update more tests to account for optionality of double type (#…
AlexeySachkov Sep 13, 2022
0d17174
[SYCL][ESIMD][EMU] LSC Atomic update for emulator backend (#1259)
dongkyunahn-intel Sep 13, 2022
91e3d0e
[ESIMD] Disable aot_mixed.cpp until get fixed 'Unsupported required s…
dbudanov-cmplr Sep 14, 2022
57f9755
[SYCL] Skip ESIMD/api/functional tests if HW has no support (#1262)
aelovikov-intel Sep 14, 2022
106dd60
[SYCL][L0] Fix has_aspect_atomic64 test and reenable it (#1253)
KseniyaTikhomirova Sep 14, 2022
03757b7
[SYCL][ESIMD] Disable tests failing in pre-commit CI (#1261)
aelovikov-intel Sep 14, 2022
b8c39f4
[SYCL] Fix events caching test (#1138)
againull Sep 14, 2022
2da7640
[SYCL] Fix failures on tests that use double datatype (#1246)
aelovikov-intel Sep 14, 2022
7ad253a
Revert "[SYCL][ESIMD][EMU] LSC Atomic update for emulator backend (#1…
dongkyunahn-intel Sep 14, 2022
3bac74f
[SYCL] Add MAJOR_VERSION to the name of the sycl library on Win (#1237)
aelovikov-intel Sep 14, 2022
191ddf7
add new matrix tests that use the new interface (#1231)
dkhaldi Sep 15, 2022
6d27a02
[SYCL] Add/Update DiscardEvents tests (#1258)
againull Sep 15, 2022
f63f13e
[SYCL] Add tests for reuse of l0 events in plugin (#1263)
againull Sep 15, 2022
d39abc6
[SYCL] Disable Basic/buffer/buffer_migrate.cpp (#1268)
aelovikov-intel Sep 15, 2022
2eaa125
[SYCL] Move more intel/llvm in-tree tests to test-suite (#1269)
steffenlarsen Sep 16, 2022
124e3bd
[SYCL] Disable device_global test compilation without device_image_sc…
steffenlarsen Sep 16, 2022
3654a30
[SYCL] Add a test for pointer queries with a descendent device (#1232)
sergey-semenov Sep 16, 2022
76ab40d
[SYCL][ESIMD][EMU] Set default platform for ESIMD_EMULATOR (#1226)
dongkyunahn-intel Sep 16, 2022
41f64f3
[ESIMD] Disable raw send tests on unsupported platform. (#1271)
kychendev Sep 17, 2022
7312c8e
[SYCL] Move more in-tree tests to the test-suite (#1279)
steffenlarsen Sep 21, 2022
d799d0f
[SYCL] Add regression test for local_accessor 3D subscript (#1191)
steffenlarsen Sep 21, 2022
502ce9b
[SYCL] Add triple to compilation line in fsycl-host-compiler-win.cpp …
steffenlarsen Sep 21, 2022
c48368e
[ESIMD] Add test for radix sort. (#1277)
kychendev Sep 21, 2022
e962dc9
Update outdated comment. (#1284)
bader Sep 22, 2022
87f890d
Update version of sycl library on Win (#1285)
KornevNikita Sep 22, 2022
78be3ae
[ESIMD] Add tests for new esimd::xmx:dpas API (#1281)
v-klochkov Sep 23, 2022
00e3045
Add test for __imf_llmax/min, __imf_ullmax/min, __imf_umax/umin (#1275)
jinge90 Sep 26, 2022
47a169f
[SYCL] Change uses of info::kernel_device_specific::max_sub_group_siz…
steffenlarsen Sep 26, 2022
e80a5c1
[SYCL][L0] Use compute engine for memory fill command (#1273)
smaslov-intel Sep 26, 2022
42cd6d3
[SYCL] Add a test checking wrapped USM pointers (#1288)
Fznamznon Sep 27, 2022
be408a8
[SYCL][ESIMD]Add tests for lsc_block_load supporting 8/16 bit data (#…
fineg74 Sep 27, 2022
18b3729
[ESIMD] Add tests for ESIMDOptimizeVecArgCallConv pass. (#1289)
kbobrovs Sep 28, 2022
7fc11d5
[ESIMD] Add more tests for new xmx::dpas() (#1291)
v-klochkov Sep 28, 2022
7015143
[SYCL][Reduction] Prefer fast_reduce to fast_atomics (#1294)
aelovikov-intel Sep 29, 2022
6c708d0
[SYCL] Update tests with changes in device selector exception message…
mkrainiuk Sep 29, 2022
b88fd92
[ESIMD][NFC] Fix compilation warnings caused by using deprecated API …
v-klochkov Sep 29, 2022
25c9aad
[SYCL] Set the feature macro to use the non-use matrix API (#1292)
dkhaldi Sep 30, 2022
3d32795
[SYCL] Fix radix test sort memeory leak (#1298)
raaiq1 Oct 3, 2022
907a49b
[SYCL] updating device selectors (#1160)
cperkinsintel Oct 3, 2022
196d3d2
[ESIMD] Add 'unsigned long' type tests to atomic_smoke.cpp test (#1297)
v-klochkov Oct 3, 2022
5d7c2b9
[ESIMD] Fix potential infinite loop in dword_atomic_cmpxchg.cpp. (#1304)
kbobrovs Oct 4, 2022
e440ea2
[SYCL] Fix gcc-style %sycl_options on Windows (#1306)
aelovikov-intel Oct 4, 2022
61a5926
[SYCL] remove overfitting from reduction test (#1308)
cperkinsintel Oct 5, 2022
eb4ecde
[SYCL][ESIMD]Add tests for support for different types for lsc functi…
fineg74 Oct 5, 2022
1f72c41
[ESIMD] Add tests for DPAS with tfloat32 arguments (#1303)
v-klochkov Oct 5, 2022
8b8ecdf
[SYCL][CUDA] Tensor Cores - Add test cases for const T (#1280)
JackAKirk Oct 5, 2022
2b6cb67
[SYCL] reenabling content.cpp test on CPU device (#1310)
cperkinsintel Oct 6, 2022
8177cf6
[SYCL][ESIMD] Add tests to validate tf32 support (#1287)
fineg74 Oct 6, 2022
68cbeba
[SYCL] Fix exclusive scan memory leak (#1307)
raaiq1 Oct 7, 2022
d142785
[SYCL][ESIMD] Test lsc template argument type deduction (#1257)
fineg74 Oct 7, 2022
2d6858c
[SYCL] Fix output of fsycl-host-compiler-win.cpp when clang++ is used…
steffenlarsen Oct 11, 2022
67734e7
[SYCL][HIP] Mark more AtomicRef tests unsupported (#1318)
npmiller Oct 11, 2022
decb682
[SYCL] Replace SYCL_EXT_ONEAPI_MATRIX with SYCL_EXT_ONEAPI_MATRIX_VER…
MrSidims Oct 11, 2022
a4b77f0
[SYCL] tests for ONEAPI_DEVICE_SELECTOR. (#1270)
cperkinsintel Oct 11, 2022
a5a41f4
[SYCL] disable esimd_preemption on dg2 (#1159)
myler Oct 13, 2022
bc5e945
[cmake] validate `CHECK_SYCL_ALL` more thoroughly during configuratio…
ldrumm Oct 13, 2022
119307e
[SYCL] Add local_accessor iterator tests (#1225)
KornevNikita Oct 13, 2022
da119bf
[SYCL][ESIMD] Fix lsc predicate test that failed on PVC hardware (#1315)
fineg74 Oct 13, 2022
05700f0
Add named_barriers tests (#1272)
fveselov Oct 13, 2022
7757644
[SYCL][ESIMD][EMU] LSC Atomic update for emulator backend (#1274)
dongkyunahn-intel Oct 14, 2022
d7f7d03
Revert "Add named_barriers tests" (#1324)
Oct 14, 2022
222c616
[SYCL] Added test for ext_intel_device_id (#1320)
atafra Oct 14, 2022
cfe4813
[ESIMD] Add tests on named barriers APIs (#1326)
fveselov Oct 14, 2022
87a75bd
[SYCL] Change library loading and fix esimd selector function (#1312)
lbushi25 Oct 14, 2022
d249d72
[SYCL] Add test case with USM pointer wrapped by a base (#1309)
Fznamznon Oct 17, 2022
f79467e
[SYCL] Add regression test for barriers with active work (#1067)
steffenlarsen Oct 17, 2022
2834fab
[SYCL][CUDA] Unified matrix interface updated tests (#1183)
JackAKirk Oct 18, 2022
d4ef260
[SYCL][CUDA] Xfail matrix tests that are not supported yet. (#1331)
JackAKirk Oct 18, 2022
079a62d
[SYCL][CUDA] Fixed macro name in failing matrix test (#1332)
JackAKirk Oct 18, 2022
0316a1e
[SYCL][ESIMD]Add tests to test invoke_simd with functions returning v…
fineg74 Oct 18, 2022
74b271a
[SYCL] Add tests for kernel properties (#1302)
steffenlarsen Oct 19, 2022
7dd12a2
[SYCL][L0] The query of free memory is not supported on integrated GP…
smaslov-intel Oct 19, 2022
e03f8ac
[SYCL] tests for aspect_selector (#1327)
cperkinsintel Oct 19, 2022
193b6fe
[SYCL] Enable sub_group_size_prop on HIP (#1337)
steffenlarsen Oct 20, 2022
a46a8bc
[SYCL] Temporarily disable work_group_size_prop for CUDA (#1338)
steffenlarsen Oct 20, 2022
20b2dd3
[SYCL] Add double GRF test (#1328)
sarnex Oct 20, 2022
c0061e0
[SYCL][ESIMD] Test fix for proper intrinsic generation (#1319)
fineg74 Oct 21, 2022
40e304f
[CUDA] Enable fixed fp16 tests (#1342)
jchlanda Oct 24, 2022
d6bbaed
[SYCL][CUDA] Replace xfail cuda tests to unsupported cuda tests (#1340)
jle-quel Oct 24, 2022
9caa74b
[SYCL] Remove mentions of host device from README (#1345)
steffenlarsen Oct 24, 2022
b5c7058
[SYCL] Don't check for specific error messages in device compiler log…
sergey-semenov Oct 25, 2022
18915b4
[SYCL] Remove <sycl/sycl.hpp> workaround (#1344)
aelovikov-intel Oct 25, 2022
4c37620
add matrix-xmx8 feature config for XMX8 tests (#1349)
myler Oct 26, 2022
b8a6c13
[SYCL] Add tests for sycl_ext_intel_device_architecture for AOT (#1322)
dm-vodopyanov Oct 26, 2022
4a5ab8f
[SYCL] Update test for https://github.com/intel/llvm/pull/7184 (#1348)
aelovikov-intel Oct 27, 2022
c7d9530
[SYCL][L0] Add a barrier before signal of host-visible proxy (#1357)
smaslov-intel Oct 31, 2022
cb20604
[SYCL] Add and adjust tests for SYCL 2020 multi_ptr (#1293)
steffenlarsen Nov 1, 2022
daa5aec
add a new test that handles big combination size 32x64 (#1350)
dkhaldi Nov 1, 2022
f681f3a
level_zero_device_free_mem.cpp is not supported on integrated devices…
myler Nov 2, 2022
c9efc13
[SYCL][L0] check copy operations on interop queue (#855)
smaslov-intel Nov 2, 2022
cb7d25a
[SYCL][libdevice] Tests for half value type cast utils. (#1301)
jinge90 Nov 3, 2022
26e147d
[SYCL] tests to validate sub-devices have parent (or not) (#1346)
cperkinsintel Nov 3, 2022
f6dffae
[SYCL] Prevent use of fp64 and fp16 when unsupported in more tests (#…
steffenlarsen Nov 4, 2022
7f2a22e
[SYCL][HIP] Improve test for barrier and enable it for HIP (#1122)
t4c1 Nov 7, 2022
0bcef07
[SYCL] Tests for missing accessor functions (#1265)
KornevNikita Nov 8, 2022
de95dbf
[SYCL] Add test for set_arg with local_accessor (#1367)
AlexeySachkov Nov 8, 2022
de9a209
[SYCL] Replace SYCL_DEVICE_FILTER with ONEAPI_DEVICE_SELECTOR (#1354)
raaiq1 Nov 8, 2022
b279d46
[ESIMD] Add test to validate tanh function fix (#1361)
fineg74 Nov 8, 2022
99c83d3
Guard double type usage with aspect::fp64 check in invoke_simd_conv.c…
kbobrovs Nov 8, 2022
3d696bb
Add PVC tests and move XMX8 tests to a new folder (#1347)
dkhaldi Nov 9, 2022
04b6050
[SYCL] Add test for default async_handler (#1351)
steffenlarsen Nov 9, 2022
181fef3
[SYCL][ESIMD] Make the tanh test pass in ESIMD Emulator (#1372)
fineg74 Nov 10, 2022
a90c4fc
[SYCL] Add large GRF test (#1368)
sarnex Nov 10, 2022
642a3f1
[ESIMD] Mark with XFAIL on gen12 the test simd_view_select_2d_int.cpp…
v-klochkov Nov 10, 2022
bcc90f2
[SYCL] Remove use of SYCL_DEVICE_FILTER from set-arg-local-accessor (…
steffenlarsen Nov 10, 2022
65e630e
[SYCL] Temporarily disable barrier_order for HIP and L0 backends (#1376)
steffenlarsen Nov 14, 2022
02abd04
[SYCL][CUDA] Enable generic atomic tests (#1382)
jchlanda Nov 14, 2022
306a712
[ESIMD] Allow small epsilon in FP division result comparison. (#1359)
kbobrovs Nov 14, 2022
508b946
Add tests for trivial fp16 util functions. (#1250)
jinge90 Nov 16, 2022
70a12b5
[SYCL] Add test for sorting over sub-group (#1380)
romanovvlad Nov 17, 2022
5d63e2a
[SYCL] Add end-to-end tests for queue shortcut functions (#1362)
Nov 17, 2022
4365f38
[SYCL] Add test for memory clock rate and bus width queries (#1386)
againull Nov 17, 2022
ecc67a2
[SYCL] Disable sort over sub-group for CUDA and HIP BEs (#1396)
romanovvlad Nov 18, 2022
94fa3c8
[SYCL][ESIMD] Enable ctor_broadcast_fp_extra ESIMD test (#1387)
steffenlarsen Nov 18, 2022
bde7457
[SYCL] Test exception throwing for unsupported kernel feature (#1314)
KornevNikita Nov 21, 2022
28ee1ff
[SYCL] Fix typo (#1399)
raaiq1 Nov 21, 2022
1192df5
[SYCL] Add a new query test that uses the new API (#1358)
dkhaldi Nov 21, 2022
3c9884e
[SYCL] Add a test with reduction kernel accepting sycl::item (#1403)
aelovikov-intel Nov 22, 2022
15d5413
[SYCL][Reduction] Add a test for range+multiple reds version (#1400)
aelovikov-intel Nov 22, 2022
08d3640
[SYCL] Remove CL namespace from level_zero_sub_sub_device.cpp (#1408)
raaiq1 Nov 23, 2022
252525f
[LIT][SYCL] Avoid fp64 support requirement (#1410)
romanovvlad Nov 23, 2022
e2ecc95
[SYCL][Level Zero][USM] Add a test for read-only shared alloc (#1409)
aelovikov-intel Nov 24, 2022
2ddcd9d
[SYCL] Temporarily disable KernelAndProgram/kernel-bundle-merge-optio…
aelovikov-intel Nov 24, 2022
4b9e726
[SYCL] Add a test targeting internal reduction APIs (#1373)
aelovikov-intel Nov 24, 2022
6ca3723
amx syscall
Nov 28, 2022
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
  •  
  •  
  •  
37 changes: 37 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
* @pvchupin

# Use runtime team as the umbrella for most of the tests
/SYCL/ @intel/llvm-reviewers-runtime

# SYCL sub-directory matchers are grouped by code owner first, followed by
# alphabetical order within the group. Please, keep this ordering.

# Group algorithms
/SYCL/GroupAlgorithm/ @Pennycook @intel/llvm-reviewers-runtime
/SYCL/GroupLocalMemory/ @Pennycook @intel/llvm-reviewers-runtime
/SYCL/SubGroup/ @Pennycook @intel/llvm-reviewers-runtime
/SYCL/SubGroupMask/ @Pennycook @intel/llvm-reviewers-runtime

# Plugin interface for Level Zero
/SYCL/Plugin/*level-zero* @intel/dpcpp-l0-pi-reviewers
/SYCL/Plugin/*level_zero* @intel/dpcpp-l0-pi-reviewers

# Explicit SIMD
/SYCL/ESIMD/ @intel/dpcpp-esimd-reviewers

# BFloat16 conversion
/SYCL/BFloat16/ @intel/dpcpp-tools-reviewers

# Compiler tests
/SYCL/AOT/ @intel/dpcpp-tools-reviewers
/SYCL/DeviceCodeSplit/ @intel/dpcpp-tools-reviewers
/SYCL/SeparateCompile/ @intel/dpcpp-tools-reviewers

# Printf
/SYCL/Printf/ @intel/dpcpp-tools-reviewers

# Specialization constant
/SYCL/SpecConstants/ @intel/dpcpp-tools-reviewers

# invoke_simd
/SYCL/InvokeSimd/ @rolandschulz @kbobrovs
34 changes: 34 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: clang-format-check

on:
pull_request:
branches:
- intel

jobs:
build:
runs-on: ubuntu-latest

container:
image: ghcr.io/intel/llvm/sycl_ubuntu2004_nightly:no-drivers

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2

- name: Run clang-format for the patch
shell: bash {0}
run: |
git config --global --add safe.directory /__w/llvm-test-suite/llvm-test-suite
git clang-format ${GITHUB_SHA}^1
git diff > ./clang-format.patch

# Add patch with formatting fixes to CI job artifacts
- uses: actions/upload-artifact@v1
with:
name: clang-format-patch
path: ./clang-format.patch

- name: Check if clang-format patch is empty
run: bash -c "if [ -s ./clang-format.patch ]; then cat ./clang-format.patch; exit 1; fi"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
# External/*
/test-suite-externals
*.pyc
/build*
88 changes: 88 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Contributing

## License

This project is licensed under the terms of the Apache License v2.0 with LLVM
Exceptions license ([LICENSE.txt](LICENSE.TXT)) to ensure our ability to
contribute this project to the LLVM test suite project under the same license.

By contributing to this project, you agree to the Apache License v2.0 with LLVM
Exceptions and copyright terms there in and release your contribution under
these terms.

## Contribution process

### Development

For any changes not related to DPC++, but rather to LLVM in general, it is
strongly encouraged that you submit the patch to https://github.com/llvm/llvm-test-suite directly.
See [LLVM contribution guidelines](https://llvm.org/docs/Contributing.html)
for more information.

- Create a personal fork of the project on GitHub
- For the DPC++ end-to-end test development, use **intel** branch as baseline
for your changes.
- Prepare your patch
- follow [LLVM coding standards](https://llvm.org/docs/CodingStandards.html)
- [clang-format](https://clang.llvm.org/docs/ClangFormat.html) and
[clang-tidy](https://clang.llvm.org/extra/clang-tidy/) tools can be
integrated into your workflow to ensure formatting and stylistic
compliance of your changes.
- use

```bash
wget https://raw.githubusercontent.com/intel/llvm/sycl/clang/tools/clang-format/git-clang-format
python git-clang-format `git merge-base origin/intel HEAD`
```

to check the format of your current changes against the `origin/intel`
branch.
- `-f` to also correct unstaged changes
- `--diff` to only print the diff without applying

### Testing

- See [SYCL/README.md](SYCL/README.md) for instructions.

### Commit message

- When writing your commit message, please make sure to follow
[LLVM developer policies](
https://llvm.org/docs/DeveloperPolicy.html#commit-messages) on the subject.
- For any DPC++-related commit, the `[SYCL]` tag should be present in the
commit message title. To a reasonable extent, additional tags can be used
to signify the component changed, e.g.: `[LIT]`, `[NFC]`, `[Doc]`.

### Review and acceptance testing

- Create a pull request for your changes following [Creating a pull request
instructions](https://help.github.com/articles/creating-a-pull-request/).
- PR description should follow same rules as commit message. It is used as
commit message on the final merge.
- Changes addressing comments made during code review should be added as a
separate commits to the same PR.
- CI will run checks which are prerequisites for submitting PR:
- clang-format-check/build checks that the patch matches coding style
(see [clang-format](https://clang.llvm.org/docs/ClangFormat.html));
- Jenkins/pre-ci-cuda - runs all related tests on CUDA backend for GPU device
on Ubuntu 18.04;
- Jenkins/pre-ci-linux - runs all related tests on Ubuntu 18.04 machine with
Level_Zero backend (GPU device) and OpenCL backend (CPU, GPU and FPGA
emulator devices);
- Jenkins/pre-ci-windows - runs all related tests on Windows Server 2019 with
Level_Zero backend (GPU device) and OpenCL backend (CPU, GPU and FPGA
emulator devices).

The last three checks are done for the latest available nightly build for DPC++
compiler and runtime from [intel/llvm](https://github.com/intel/llvm). The
build happens around 18:00 UTC if there are new commits since previous build.

Once the PR is approved and all checks have passed, the pull request is
ready for merge.

### Merge

Project maintainers merge pull requests by "Squash and merge". PR description
is used as final commit message.

\*Other names and brands may be claimed as the property of others.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# LLVM* test suite repository

Please see the LLVM testing infrastructure guide:

https://llvm.org/docs/TestSuiteGuide.html

for more information on the contents of this repository.

## Introduction

Intel staging area for LLVM test suite contribution. Home for oneAPI Data
Parallel C++ compiler tests extending LLVM test suite.

## License

See [LICENSE.txt](LICENSE.TXT) for details.

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for details.

## Related projects documentation

* oneAPI Data Parallel C++ compiler - See
[DPC++ Documentation](https://intel.github.io/llvm-docs/)

\*Other names and brands may be claimed as the property of others.
2 changes: 2 additions & 0 deletions SYCL/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BasedOnStyle: LLVM
CommentPragmas: "(RUN|FAIL|REQUIRES|UNSUPPORTED|CHECK[A-Za-z0-9_-]*) *:|expected-"
74 changes: 74 additions & 0 deletions SYCL/AOT/Inputs/aot.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
//==--- aot.cpp - Simple vector addition (AOT compilation example) --------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------------------------------------------------===//

#include <sycl/sycl.hpp>

#include <array>
#include <iostream>

constexpr sycl::access::mode sycl_read = sycl::access::mode::read;
constexpr sycl::access::mode sycl_write = sycl::access::mode::write;

template <typename T> class SimpleVadd;

template <typename T, size_t N>
void simple_vadd(const std::array<T, N> &VA, const std::array<T, N> &VB,
std::array<T, N> &VC) {
sycl::queue deviceQueue([](sycl::exception_list ExceptionList) {
for (std::exception_ptr ExceptionPtr : ExceptionList) {
try {
std::rethrow_exception(ExceptionPtr);
} catch (sycl::exception &E) {
std::cerr << E.what();
} catch (...) {
std::cerr << "Unknown async exception was caught." << std::endl;
}
}
});

sycl::range<1> numOfItems{N};
sycl::buffer<T, 1> bufferA(VA.data(), numOfItems);
sycl::buffer<T, 1> bufferB(VB.data(), numOfItems);
sycl::buffer<T, 1> bufferC(VC.data(), numOfItems);

deviceQueue.submit([&](sycl::handler &cgh) {
auto accessorA = bufferA.template get_access<sycl_read>(cgh);
auto accessorB = bufferB.template get_access<sycl_read>(cgh);
auto accessorC = bufferC.template get_access<sycl_write>(cgh);

cgh.parallel_for<class SimpleVadd<T>>(numOfItems, [=](sycl::id<1> wiID) {
accessorC[wiID] = accessorA[wiID] + accessorB[wiID];
});
});

deviceQueue.wait_and_throw();
}

int main() {
const size_t array_size = 4;
std::array<sycl::cl_int, array_size> A = {{1, 2, 3, 4}}, B = {{1, 2, 3, 4}},
C;
std::array<sycl::cl_float, array_size> D = {{1.f, 2.f, 3.f, 4.f}},
E = {{1.f, 2.f, 3.f, 4.f}}, F;
simple_vadd(A, B, C);
simple_vadd(D, E, F);
for (unsigned int i = 0; i < array_size; i++) {
if (C[i] != A[i] + B[i]) {
std::cout << "The results are incorrect (element " << i << " is " << C[i]
<< "!\n";
return 1;
}
if (F[i] != D[i] + E[i]) {
std::cout << "The results are incorrect (element " << i << " is " << F[i]
<< "!\n";
return 1;
}
}
std::cout << "The results are correct!\n";
return 0;
}
12 changes: 12 additions & 0 deletions SYCL/AOT/accelerator.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//=-- accelerator.cpp - compilation for fpga emulator dev using opencl-aot --=//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------------------------------------------------===//

// REQUIRES: opencl-aot, accelerator

// RUN: %clangxx -fsycl -fsycl-targets=spir64_fpga %S/Inputs/aot.cpp -o %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
15 changes: 15 additions & 0 deletions SYCL/AOT/cpu.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//==--- cpu.cpp - AOT compilation for cpu devices using opencl-aot --------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------------------------------------------------===//

// REQUIRES: opencl-aot, cpu

// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %S/Inputs/aot.cpp -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out

// Test that opencl-aot can handle multiple build options.
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %S/Inputs/aot.cpp -Xsycl-target-backend "--bo=-g" -Xsycl-target-backend "--bo=-cl-opt-disable" -o %t2.out
14 changes: 14 additions & 0 deletions SYCL/AOT/gpu.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//==--- gpu.cpp - AOT compilation for gen devices using GEN compiler ------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------------------------------------------------===//

// REQUIRES: ocloc, gpu
// UNSUPPORTED: cuda
// CUDA is not compatible with SPIR.
//
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %S/Inputs/aot.cpp -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
56 changes: 56 additions & 0 deletions SYCL/AOT/multiple-devices.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
//==-- multiple-devices.cpp - Appropriate AOT-compiled image selection -----==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// REQUIRES: opencl-aot, ocloc, cpu, gpu, accelerator
// UNSUPPORTED: cuda
// CUDA is not compatible with SPIR.

// Produce a fat object for all targets (generic SPIR-V, CPU, GPU, FPGA)
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_x86_64,spir64_gen,spir64_fpga %S/Inputs/aot.cpp -c -o %t.o

// CPU, GPU, FPGA
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64,spir64_gen,spir64_fpga -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_all_aot.out
// RUN: %CPU_RUN_PLACEHOLDER %t_all_aot.out
// RUN: %GPU_RUN_PLACEHOLDER %t_all_aot.out
// RUN: %ACC_RUN_PLACEHOLDER %t_all_aot.out

// CPU, GPU
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_cpu_gpu.out
// RUN: %CPU_RUN_PLACEHOLDER %t_cpu_gpu.out
// RUN: %GPU_RUN_PLACEHOLDER %t_cpu_gpu.out

// CPU, FPGA
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64,spir64_fpga %t.o -o %t_cpu_fpga.out
// RUN: %CPU_RUN_PLACEHOLDER %t_cpu_fpga.out
// RUN: %ACC_RUN_PLACEHOLDER %t_cpu_fpga.out

// GPU, FPGA
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen,spir64_fpga -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_gpu_fpga.out
// RUN: %GPU_RUN_PLACEHOLDER %t_gpu_fpga.out
// RUN: %ACC_RUN_PLACEHOLDER %t_gpu_fpga.out

// No AOT-compiled image for CPU
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_gen,spir64_fpga -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_spv_gpu_fpga.out
// RUN: %CPU_RUN_PLACEHOLDER %t_spv_gpu_fpga.out
// Check that execution on AOT-compatible devices is unaffected
// RUN: %GPU_RUN_PLACEHOLDER %t_spv_gpu_fpga.out
// RUN: %ACC_RUN_PLACEHOLDER %t_spv_gpu_fpga.out

// No AOT-compiled image for GPU
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_x86_64,spir64_fpga %t.o -o %t_spv_cpu_fpga.out
// RUN: %GPU_RUN_PLACEHOLDER %t_spv_cpu_fpga.out
// Check that execution on AOT-compatible devices is unaffected
// RUN: %CPU_RUN_PLACEHOLDER %t_spv_cpu_fpga.out
// RUN: %ACC_RUN_PLACEHOLDER %t_spv_cpu_fpga.out

// No AOT-compiled image for FPGA
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_x86_64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_spv_cpu_gpu.out
// RUN: %ACC_RUN_PLACEHOLDER %t_spv_cpu_gpu.out
// Check that execution on AOT-compatible devices is unaffected
// RUN: %CPU_RUN_PLACEHOLDER %t_spv_cpu_gpu.out
// RUN: %GPU_RUN_PLACEHOLDER %t_spv_cpu_gpu.out
17 changes: 17 additions & 0 deletions SYCL/AOT/with-llvm-bc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//==----- with-llvm-bc.cpp - SYCL kernel with LLVM IR bitcode as binary ----==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// REQUIRES: cpu, dump_ir

// RUN: %clangxx -fsycl -fsycl-targets=spir64 -c %S/Inputs/aot.cpp -o %t.o
// RUN: %clangxx -fsycl -fsycl-link-targets=spir64 %t.o -o %t.spv
// RUN: llvm-spirv -r %t.spv -o %t.bc
// RUN: %clangxx -fsycl -fsycl-add-targets=spir64:%t.bc %t.o -o %t.out
//
// Only CPU supports LLVM IR bitcode as a binary
// RUN: %CPU_RUN_PLACEHOLDER %t.out
Loading