Skip to content

[Driver][SYCL]Emit an error if c compilation is forced using -x c or -x c-header when -fsycl mode is used #1416

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 4,290 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4290 commits
Select commit Hold shift + click to select a range
68d4042
Merge from 'master' to 'sycl-web' (#5)
Fznamznon Feb 19, 2020
2295308
[SYCL] Improve the error mechanism of llvm-no-spir-kernel (#1068)
Feb 19, 2020
59f39b2
[SYCL][NFC] Remove idle space (#1148)
bader Feb 20, 2020
7743e86
[SYCL] Forbid declaration of non-const static variables inside kernel…
fadeeval Feb 20, 2020
17017d6
[SYCL] Fix build issues for Debug configuration
dm-vodopyanov Feb 20, 2020
84e0657
[SYCL] Move internal headers to source dir (#1136)
Feb 21, 2020
17aac3c
[SYCL] Update the kernel parameter rule to is-trivially-copy-construc…
Feb 21, 2020
0438422
[SYCL][Doc][USM] Add refactored pointer and device queries to USM spe…
jbrodman Feb 21, 2020
fd8ae8a
[SYCL] LowerWGScope pass should not be skipped when -O0 is used
againull Feb 20, 2020
1d8f577
[SYCL] Add llvm/Demangle link dependency for llvm-no-spir-kernel (#1156)
Feb 22, 2020
5d73019
[SYCL] Fix __spirv_GroupBroadcast overloads (#1152)
Pennycook Feb 22, 2020
c494112
[SYCL][NFC] Fix unreferenced variable warning (#1158)
bader Feb 22, 2020
a0c0e33
[USM] Align OpenCL USM extension header with the specification (#1162)
bader Feb 24, 2020
e0d64f5
Merge from 'sycl' to 'sycl-web'
Feb 24, 2020
7a9a425
[SYCL][CUDA] Initial CUDA backend support (#1091)
Alexander-Johnston Feb 24, 2020
80b0306
[CI] Add clang-format checker to pre-commit checks (#1163)
bader Feb 24, 2020
34dd7d2
Merge from 'master' to 'sycl-web' (#2)
bader Feb 25, 2020
bd3a8ee
Merge from 'sycl' to 'sycl-web' (#2)
Feb 25, 2020
ee9ee55
Merge from 'master' to 'sycl-web' (#2)
bader Feb 25, 2020
85d7a5e
[SYCL] Fix numeric_limits<half> after intel/llvm#1089 (#1138)
AlexeySachkov Feb 25, 2020
e2130b1
[SYCL][NFC] Remove idle flag (#1157)
s-kanaev Feb 25, 2020
12577b5
[CI] Remove invalid type triggers (#1176)
bader Feb 25, 2020
da0f66b
[SYCL]Deletion of workaround for wrong mangling of s_upsample (#1053)
imashkov Feb 25, 2020
3fe01fb
[SYCL] Refactor id<1> to size_t conversion (#1126)
idubinov Feb 25, 2020
bc6b1af
[SYCL] Fix build issues for Debug configuration (#1151)
dm-vodopyanov Feb 25, 2020
f2214a0
[SYCL] Fix build issues for Debug configuration (#1151)
bader Feb 25, 2020
65da01b
[CI] Fix commit range for clang-format check (#1185)
bader Feb 25, 2020
29a12d3
Merge from 'sycl' to 'sycl-web'
Feb 25, 2020
ff5b5cf
Merge from 'master' to 'sycl-web' (#1)
bader Feb 25, 2020
3c3fdf1
Translate llvm.sqrt.* intrinsics to SPIR-V
AlexeySotkin Feb 14, 2020
e85a959
Fix potential null pointer dereference
AlexeySotkin Feb 13, 2020
36d69c7
Handle non-zero values for llvm.memset
svenvh Feb 18, 2020
8280418
Translate atomicrmw LLVM instruction to SPIR-V
AlexeySotkin Feb 17, 2020
7aff55c
[SYCL] XFAIL LIT test to unblock pulldown
vladimirlaz Feb 26, 2020
f87291d
[SYCL][NFC] Fix a couple of typos in the comments (#1179)
bader Feb 26, 2020
0125496
[SYCL] Report an error when SYCL_DEVICE_TYPE is set incorrectly (#1134)
glyons-intel Feb 26, 2020
6ae1cfe
[SYCL][NFC] Remove dead code (#1182)
bader Feb 26, 2020
afff49b
[CI] Fix obtaining the diff for the pull request (#1197)
bader Feb 26, 2020
4256146
LLVM and LLVM-SPIRV-Translator pulldown
vladimirlaz Feb 26, 2020
7003df1
Merge from 'sycl' to 'sycl-web'
Feb 26, 2020
36b0516
Merge from 'master' to 'sycl-web' (#1)
bader Feb 26, 2020
29d9cc2
[SYCL] Enable Doxygen doc generation for GitHub Pages (#1168)
Feb 26, 2020
237e8be
Merge from 'sycl' to 'sycl-web' (#1)
Feb 26, 2020
7fa4ab4
Merge from 'master' to 'sycl-web' (#11)
bader Feb 26, 2020
7d493dd
[SYCL][FPGA] Add io_pipe_id attribute
MrSidims Jan 24, 2020
c900248
[SYCL][FPGA] Implement IO pipes interface
MrSidims Feb 25, 2020
7b08fdf
[SYCL][CUDA] Add bounds check on kernel launch (#1178)
steffenlarsen Feb 27, 2020
c3aac3a
[SYCL] Fix dependencies for Doxygen job (#1206)
Feb 27, 2020
45e39bd
[SYCL] Do not remove commands from leaves lists on sub-buffer creatio…
romanovvlad Feb 27, 2020
401d174
[SYCL] Change which constructor is gated for devices (#1183)
jbrodman Feb 27, 2020
52e1c06
[SYCL] Improve Doxygen documentation UX (#1201)
Feb 27, 2020
e94cbd3
[SYCL] Fix sporadic auto_flush lit tests fail (#1195)
idubinov Feb 27, 2020
8d77a38
[SYCL][CUDA] Fixes device leak (#1175)
steffenlarsen Feb 27, 2020
6c41afe
[SYCL] Trick GCC to avoid strict pointer aliasing warnings (#1203)
AlexeySachkov Feb 27, 2020
52c8ca5
[SYCL] Trick GCC to avoid strict pointer aliasing warnings (#1203)
AlexeySachkov Feb 27, 2020
b524502
Merge from 'sycl' to 'sycl-web'
Feb 27, 2020
6efb7d2
Merge from 'master' to 'sycl-web' (#13)
bader Feb 27, 2020
03326f7
[SYCL] Fix program::get_compile/build_options (#1202)
sergey-semenov Feb 27, 2020
08318b7
Merge from 'sycl' to 'sycl-web' (#1)
Feb 27, 2020
a540d01
[SYCL][PTX] Implements missing atomic builtins (#1173)
steffenlarsen Feb 28, 2020
dcbdcfd
[SYCL] Define templates used in multiple Sema TUs in a common .h file…
premanandrao Feb 28, 2020
1853516
[SYCL] Forbid non-const static variable uses in device code (#1213)
fadeeval Feb 28, 2020
bdc5794
Merge from 'master' to 'sycl-web' (#10)
bader Feb 29, 2020
b3a9426
[SYCL] Fix mismatch between sub_group headers (#1215)
Pennycook Feb 29, 2020
0df8a77
Merge from 'master' to 'sycl-web' (#1)
bader Feb 29, 2020
ea8ede4
Merge from 'sycl' to 'sycl-web' (#5)
Feb 29, 2020
a395423
Merge from 'master' to 'sycl-web' (#1)
bader Feb 29, 2020
3da5473
[SYCL] Fix command cleanup invoked from multiple threads (#1214)
sergey-semenov Mar 1, 2020
4b5d25b
[SYCL][NFC] Add clang-format configuration file for SYCL LIT tests (#…
bader Mar 1, 2020
c220eb8
[SYCL] Make context constructors explicit to avoid unintended convers…
jbrodman Mar 2, 2020
3035170
[SYCL] Disable tests which take more than 5 minutes (#1220)
vladimirlaz Mar 2, 2020
aa0619c
[SYCL] Fix check-sycl-deploy target problems (#1165)
Fznamznon Mar 2, 2020
745e759
[SYCL][CUDA] Handle the case of not having any CUDA device (#1212)
fwyzard Mar 2, 2020
b1aa222
[CUDA][PI] clang-format pi.h
bjoernknafla Feb 27, 2020
5e7ea06
[SYCL][CUDA] Fix context creation property parsing
bjoernknafla Feb 27, 2020
d7eba00
Merge from 'sycl' to 'sycl-web'
Mar 2, 2020
ef68270
[SYCL][CUDA] Fixes context release and unnamed context scope (#1207)
steffenlarsen Mar 2, 2020
0f7e361
[SYCL] Fix SYCL internal enumerators conflict with user defined macro…
bso-intel Mar 3, 2020
c181fdb
[SYCL][Doc] Add GroupAlgorithms extension (#1079)
Pennycook Mar 3, 2020
72b7dee
[SYCL] Reverse max work-group size order (#1177)
steffenlarsen Mar 3, 2020
bcefeb3
[SYCL][CUDA] Select only NVPTX64 device binaries (#1223)
fwyzard Mar 3, 2020
4b03ddb
[SYCL] Add more details about the -fintelfpga option (#1218)
fwyzard Mar 3, 2020
7d046b4
[SYCL] Fix static code analyzis concerns (#1189)
mlychkov Mar 3, 2020
e6ce614
[SYCL] Reject zero length arrays (#1153)
cperkinsintel Mar 3, 2020
9497f55
[SYCL] allow underscore symbol in temporary directory name
vladimirlaz Mar 3, 2020
fd54d92
[SYCL][CUDA][Test] Testing for use of CUDA primary context (#1174)
steffenlarsen Mar 4, 2020
dfb4173
[CI][Doc] Use SSH to deploy GitHub Pages (#1232)
Mar 4, 2020
8c71dcb
[SYCL] Fix circular reference between events and queues (#1226)
steffenlarsen Mar 4, 2020
f41309b
[SYCL] Remove fabs and ceil from the list of unsupported math functio…
asudarsa Mar 4, 2020
f953fda
[SYCL] Set aux-target-cpu for SYCL offload device compilation (#1225)
smanna12 Mar 4, 2020
065c22e
[SYCL] Fix devicelib assert LIT test (#1245)
Mar 4, 2020
04ee17c
[SYCL] Remove default error code value in exception (#1150)
s-kanaev Mar 4, 2020
5d72e6b
[SYCL][PI][CUDA] Implement kernel and kernel-group information querie…
bader Mar 4, 2020
6cf590f
[SYCL] Fix device::get_devices() with a non-host device type (#1235)
bader Mar 5, 2020
7b58b01
[Driver][SYCL] Improve dependency file behaviors for -fintelfpga (#1186)
bader Mar 5, 2020
b1082b7
Merge from 'master' to 'sycl-web' (#1)
vladimirlaz Mar 5, 2020
0df9869
[SYCL] Move scheduler tests from LIT to Google unit tests (#1246)
bader Mar 5, 2020
38b321a
[SYCL] Split invalid work-group size error handling (#1216)
steffenlarsen Mar 6, 2020
9d348eb
[SYCL][Driver] Emit a warning when appending to an existing archive (…
Mar 6, 2020
8b08be3
[SYCL][CUDA] Add missing component to libclc's prepare_builtins tool …
Naghasan Mar 6, 2020
1a951cb
[SYCL][Driver] Fix problem with -foffload-static-lib with a source fi…
mdtoguchi Mar 6, 2020
bed858b
[SYCL][CUDA] Add missing dependency on OpenCL headers (#1260)
fwyzard Mar 6, 2020
f0197ab
[SYCL][Test] Temporally disable LIT tests on Windows/FPGA (#1263)
bader Mar 6, 2020
3e55edd
Merge remote-tracking branch 'origin/sycl-web' into private/vlazarev/…
vladimirlaz Mar 6, 2020
acb3ee2
Fix spelling for Intel Loop Controls
MrSidims Feb 27, 2020
7897a4d
Add missing fixes
MrSidims Feb 27, 2020
15af6b0
Add more missing mixes
MrSidims Feb 28, 2020
330f9b2
Fix DebugInfo creation after LLVM change 7a42babeb83
svenvh Mar 3, 2020
2e73628
travis: Restore macOS builds
svenvh Feb 28, 2020
e37a93e
README.md: Mention retrieving llvm archive signatures
svenvh Mar 4, 2020
605ac4b
Change capability for SpecId decoration
AlexeySotkin Mar 3, 2020
c72b39c
[SYCL][NFC] Fix a misleading comment regarding the SYCL flow (#1266)
Mar 7, 2020
d50f52f
[SYCL][CUDA] Add the CUDA backend to the deploy-sycl-toolchain target…
fwyzard Mar 7, 2020
9134bfa
[SYCL][NFC] Fix doxygen warnings (#1270)
bader Mar 7, 2020
2ddf04e
[SYCL][Test] Fix SYCL library location path for LIT tests (#1228)
bader Mar 7, 2020
b93fda8
Merge from 'master' to 'sycl-web' (#1)
bader Mar 8, 2020
1644cc6
Merge from 'sycl' to 'sycl-web' (#30)
Mar 8, 2020
5709b89
[SYCL][NFC] Format the code with clang-format
bader Mar 7, 2020
4df1385
[SYCL][NFC] Update copyright header in handler files (#1271)
bader Mar 9, 2020
a904808
LLVM and SPIRV-LLVM-Translator
vladimirlaz Mar 10, 2020
fc03fda
[SYCL] Add buffer dimensions restriction (#1147)
MochalovaAn Mar 10, 2020
9bf81eb
[SYCL][XPTI] Instrumentation of SYCL runtime with XPTI (#1129)
tovinkere Mar 10, 2020
7a2e75e
[SYCL] Rename project to oneAPI DPC++ Compiler (#1249)
pvchupin Mar 10, 2020
1da6fbe
[SYCL] Reverse reqd_work_group_size attribute (#1234)
fadeeval Mar 10, 2020
a3b340b
[SYCL][UX] Diagnostic for undefined device functions (#1026)
s-kanaev Mar 10, 2020
ba5ffb8
[SYCL] Honor the LLVM_LIBDIR_SUFFIX variable at installation time (#1…
fwyzard Mar 10, 2020
9b7a317
[SYCL][CUDA] Implement the program kernel names query (#1248)
steffenlarsen Mar 11, 2020
98f64f0
Merge from 'master' to 'sycl-web' (#183)
bader Mar 11, 2020
3aa6cac
Merge from 'sycl' to 'sycl-web' (#10)
Mar 11, 2020
e48aa2a
Merge from 'master' to 'sycl-web' (#36)
bader Mar 11, 2020
032687c
Merge from 'master' to 'sycl-web' (#322)
bader Mar 11, 2020
859a94f
[SYCL] Fix the test/basic_tests/buffer/subbuffer.cpp (#1277)
rbegam Mar 11, 2020
93001bb
[SYCL][NFC] Fix static code analysis concerns (#1283)
smanna12 Mar 11, 2020
90f7a34
Merge from 'sycl' to 'sycl-web' (#2)
Mar 11, 2020
24438a3
Merge from 'master' to 'sycl-web' (#175)
bader Mar 11, 2020
0473a18
Merge from 'master' to 'sycl-web' (#1)
bader Mar 12, 2020
ea21fdc
[Driver][SYCL][FPGA] Adjust the output location for the project repor…
mdtoguchi Mar 12, 2020
eb373c4
[SYCL] Implement thread-local storage restriction (#1281)
Mar 12, 2020
938c2fd
Merge from 'sycl' to 'sycl-web'
Mar 12, 2020
cb8e359
Merge from 'master' to 'sycl-web' (#6)
bader Mar 12, 2020
092367b
[SYCL] Replaces some of the CL_* enums with PI_* enums. (#1239)
rbegam Mar 12, 2020
b54e441
Merge from 'sycl' to 'sycl-web'
Mar 13, 2020
f077a2d
Merge from 'master' to 'sycl-web' (#1)
bader Mar 13, 2020
d2633f6
[SYCL][Doc] Mention PI_CUDA as a possible SYCL BE envvar value (#1286)
Mar 13, 2020
52a63fa
[SYCL][CUDA] Fix CMake warning (#1301)
bjoernknafla Mar 13, 2020
3b6799a
[SYCL] Prevent implicit conversion from device to queue. (#1292)
elizabethandrews Mar 13, 2020
35ee8d2
[SYCL][NFC] Move LowerWGScope pass to LLVM project (#1306)
againull Mar 13, 2020
0caff4d
[SYCL] Add OpenCL requirement to the tests using OpenCL API (#1242)
rbegam Mar 13, 2020
dc729a7
[SYCL][Driver][FPGA] Remove arch designator from default output file …
mdtoguchi Mar 13, 2020
c1fc3f0
[SYCL][CUDA] Implement program compile and link (#1181)
steffenlarsen Mar 14, 2020
c9ed5b2
[SYCL] Add support for RESTRICT_WRITE_ACCESS_TO_CONSTANT_PTR macro (#…
Fznamznon Mar 14, 2020
906f08e
Add initial version of Intel extension preview for SPIR-V inline asse…
mmerecki Mar 14, 2020
656e769
[SYCL][PI][CUDA] Implement profiling info queries (#1298)
steffenlarsen Mar 14, 2020
82cb6d8
[SYCL][CUDA] Fix uses of PI descriptors after renaming (#1310)
steffenlarsen Mar 14, 2020
f7cf289
Update CL USM Extension from Rev O to Rev Q (#1315)
bashbaug Mar 14, 2020
1f3bd3d
[CI] Add post-commit checks for Linux (#1313)
Mar 14, 2020
0d56408
[SYCL][CUDA] Fix device query for image support (#1299)
bjoernknafla Mar 14, 2020
498d56c
[SYCL][CUDA] Implement the Intel USM extension for the CUDA backend (…
fwyzard Mar 14, 2020
1588535
[SYCL][NFC] Update a misleading comment on IVDep IR generation (#1316)
Mar 14, 2020
c9123d1
Merge from 'sycl' to 'sycl-web'
Mar 14, 2020
1fd087d
Merge from 'master' to 'sycl-web' (#1)
bader Mar 14, 2020
6314bef
[SYCL][Doc] Deploy documentation for PI (#1318)
Mar 15, 2020
39501f6
[SYCL] Move SYCL headers from standard clang location (#1308)
vladimirlaz Mar 15, 2020
b67a3e5
[CI] Allow builds without pre-downloaded OpenCL in configure.py (#1317)
alexbatashev Mar 15, 2020
92e01dc
[SYCL] Fix dependencies for SYCLLowerIR (#1321)
fwyzard Mar 15, 2020
cb7b12c
Merge from 'master' to 'sycl-web'
Mar 15, 2020
a9bcb4f
Merge from 'sycl' to 'sycl-web' (#1)
bader Mar 15, 2020
1ee3f83
Merge remote-tracking branch 'origin/sycl-web' into private/vlazarev/…
vladimirlaz Mar 16, 2020
0a2134f
Implement SPV_INTEL_io_pipes extension
MrSidims Feb 10, 2020
b93d5b3
Apply suggested assert msg change
MrSidims Mar 11, 2020
cf7b749
Allow Intel Loop Controls only with SPV_INTEL_fpga_loop_controls
MrSidims Feb 25, 2020
f45e370
[SYCL] XFAIL test on windows to unblock pulldown
vladimirlaz Mar 16, 2020
d3b00d0
LLVM and SPIRV-LLVM-Translator pulldown #1329
vladimirlaz Mar 17, 2020
8bfa107
[SYCL] Add prototype of group algorithms (#1236)
Pennycook Mar 17, 2020
1698931
[SYCL] Emit textual IR when -S -fsycl-device-only is used (#1314)
jcranmer-intel Mar 17, 2020
08163a4
[SYCL][CUDA] Improve CUDA backend documentation (#1293)
Ruyk Mar 17, 2020
acab382
[SYCL][Test] Add OpenCL requirement to test/ordered_queue/prop.cpp (#…
rbegam Mar 17, 2020
a038480
[SYCL][CUDA] Fix CUDA plug-in build with enabled assertions (#1325)
vladimirlaz Mar 17, 2020
26f5fb4
Merge from 'sycl' to 'sycl-web'
Mar 17, 2020
dc8257b
Merge from 'master' to 'sycl-web' (#1)
bader Mar 17, 2020
8ddf584
[SYCL] Mark calls to barrier and work-item functions as convergent
againull Mar 16, 2020
20aa83e
[SYCL] Fix undefined symbols in async_work_group_copy (#1243)
dnmokhov Mar 17, 2020
d596593
[SYCL][USM] Fix USM malloc_shared and free to handle zero byte (#1273)
bso-intel Mar 17, 2020
6cfd2cb
[SYCL][Doc] Release SYCL_INTEL_enqueue_barrier extension document (#1…
Mar 18, 2020
5aad2e3
[SYCL][NFC] Fix execution graph dump (#1331)
sergey-semenov Mar 18, 2020
19dc07b
[SPIR-V][NFC] Fix for building llvm-spirv with -DLLVM_LINK_LLVM_DYLIB…
fwyzard Mar 18, 2020
fcadd26
[SYCL] Add Intel FPGA force_pow2_depth attribute (#1284)
mlychkov Mar 18, 2020
6f4e007
[SYCL] Allow gcc asm statements in kernel code (#1341)
premanandrao Mar 19, 2020
d7b059e
[SYCL] Fix headers location for check-sycl-deploy target
vladimirlaz Mar 18, 2020
30a60bf
Merge from 'sycl' to 'sycl-web'
Mar 19, 2020
2a5a4fd
Merge from 'master' to 'sycl-web' (#1)
bader Mar 19, 2020
ca3bf4a
[SYCL] Remove image_api LIT (#1349)
Mar 19, 2020
be07751
[SYCL][Driver] Improve fat static library support (#1319)
mdtoguchi Mar 19, 2020
a083318
Move SPIR devicelib to top level (#1276)
vzakhari Mar 19, 2020
58dbd29
[SYCL][PI] Add interoperability with generic handles to device and pr…
garimagu Mar 19, 2020
d006a11
[SYCL] Add SYCL headers search path to default compilation options (#…
vladimirlaz Mar 19, 2020
b18a566
[SYCL][Doc] Add leader to GroupAlgorithms (#1297)
Pennycook Mar 19, 2020
d9b178f
[SYCL][Doc] Update sub-group extension docs (#1330)
Pennycook Mar 19, 2020
4fbf5e0
[SYCL] Check exit status get_device_count_by_type
gmlueck Mar 18, 2020
ade5218
[SYCL] Workaround for bug in GCC older than 7.x
vladimirlaz Mar 20, 2020
12d6901
[SYCL][SPIR-V] Make clang lookup for SPIR-V builtins (#1345)
Naghasan Mar 21, 2020
94cd66e
[SYCL][CUDA] Workaround for the problem with memory reordering (#1334)
againull Mar 21, 2020
5fc7ae1
[SYCL][Driver][Test] Accept any host CPU name in -aux-target-cpu (#1363)
Mar 21, 2020
919ed65
[SYCL][NFC] Fix a few typos in the comments (#1365)
bader Mar 22, 2020
a00416b
[SYCL][NFC] Fix compilation warnings (#1364)
fwyzard Mar 22, 2020
3baec18
[SYCL] Allow SYCL_EXTERNAL for class member functions (#1295)
Fznamznon Mar 22, 2020
5ca6df1
Pulldown LLVM for e24e95fe900ab9d84017e4210b305d6c3a44abb0
vladimirlaz Mar 23, 2020
e3d6c68
Fix of debug info test, failed due to upstream llvm-objdump option ch…
Mar 18, 2020
334c71d
Implementation of SPV_INTEL_inline_assembly extension
Mar 18, 2020
8be9dec
Revert "[SYCL] XFAIL test on windows to unblock pulldown"
vladimirlaz Mar 23, 2020
3f6b74b
LLVM and SPIRV-LLVM-Translator
vladimirlaz Mar 23, 2020
6ccd84a
[SYCL] remove float type functions in fallback library for fp64 compl…
jinge90 Mar 24, 2020
91e9c76
[Driver][SYCL][FPGA] generated dep files for AOT should be picked up …
mdtoguchi Mar 24, 2020
a3bd80c
[SYCL] Make sycl depend on libsycldevice (#1380)
vzakhari Mar 24, 2020
4a2aa28
[SYCL] Allow gcc asm statements in kernel code (#1366)
premanandrao Mar 24, 2020
fadaa59
[SYCL] Fix diagnostic about non-globally-visible kernel name (#928)
AlexeySachkov Mar 24, 2020
197b24a
[SYCL] Use qualified name of template function (#1062)
smaslov-intel Mar 24, 2020
0203c6c
[SYCL] Fix macro in device library function declaration (#1324)
jinge90 Mar 24, 2020
75ee39b
[SYCL][DOC] Update docs to reflect devicelib change (#1368)
hiaselhans Mar 24, 2020
21e4644
[SYCL] Handle SYCL_DEVICE_ALLOWLIST in lit.cfg.py (#1377)
AlexeySachkov Mar 24, 2020
7cca561
[SPIRV] Add convergent attribute to SPIR-V built-ins (#1373)
bader Mar 24, 2020
463eccd
[SYCL][NFC] Make the RT::PiPlugin object private (#1375)
Mar 24, 2020
8eb588d
[SYCL] Support intel::reqd_work_group_size (#1328)
fadeeval Mar 24, 2020
8d593b8
[SYCL] Fix sycl_generic printing
Naghasan Mar 19, 2020
f9520e6
[SPIR-V] Add macro definition when -fdeclare-spirv-builtins is activated
Naghasan Mar 19, 2020
3ee80a5
[SPIR-V] Add SPIR-V builtin definitions to the builtin lookup.
Naghasan Mar 19, 2020
1c4137c
[SYCL][CUDA] Fix usage of multiple backends in the same program (#1252)
Ruyk Mar 25, 2020
b48f08f
[SYCL] Default work-group sizes based on max (#952)
nyalloc Mar 25, 2020
b51bb87
[SYCL] Remove unexpected double in complex SPIR-V for float support (…
jinge90 Mar 25, 2020
4eab55e
[SYCL] Add experimental flag to enable front-end optimizations (#1376)
bader Mar 25, 2020
b01e868
[SYCL][FPGA] Emit multiple IR variants for the IVDep attribute (#1383)
Mar 25, 2020
5d1d716
[SYCL] Fixed sub-buffer alloca search (#1385)
Mar 25, 2020
ce53521
[SYCL][Doc] First revision of standard layout relaxation extension (#…
Mar 25, 2020
899600b
[SYCL][NFC] Unify setting kernel arguments (#1379)
AlexeySachkov Mar 26, 2020
64b771a
[SPIR-V] Enabling SPIR-V builtin lookup in device SYCL mode (#1384)
Naghasan Mar 26, 2020
2b6f4f4
[Driver][SYCL][FPGA] Proper dependency output location when given /Fo…
mdtoguchi Mar 26, 2020
a5b9804
[SYCL][FPGA] Enable a set of loop attributes (#1312)
vmaksimo Mar 26, 2020
fb72758
[SYCL] Fix buffer constructor using iterators (#1386)
bso-intel Mar 26, 2020
48e0314
[Support] Implement a property set I/O library (#1357)
kbobrovs Mar 26, 2020
96de11d
[Support] Implement a simple tabular data management library (#1358)
kbobrovs Mar 26, 2020
568e0ad
Revert "[SYCL] workaround for memory consumption issue"
vladimirlaz Mar 25, 2020
59272d8
[SYCL][Doc] Deploy Sphinx documentation (#1406)
Mar 27, 2020
6b44ebb
Add a file-table-tform tool: manipulating tabular string data files. …
kbobrovs Mar 27, 2020
0408899
[SYCL] Fix unexpected acceptance of id argument in nd_range parallel_…
yubingex007-a11y Mar 27, 2020
dc7d851
[SYCL] Simplify handing of builtins in LowerWGScope (#1399)
Naghasan Mar 27, 2020
c98559b
[SYCL] Cast address spaces before replacing byval argument usages (#1…
againull Mar 27, 2020
017af4e
[SYCL] Enable algorithm support for sub_group (#1392)
Pennycook Mar 27, 2020
c687b91
Fix translation of relational operations (#1409)
Fznamznon Mar 27, 2020
9be1566
[SYCL][NFC] Doxygen doc for CUDA backend (#1394)
Ruyk Mar 27, 2020
29abe37
[SYCL] Implement specialization constants. (#1356)
kbobrovs Mar 27, 2020
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
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: clang-format-check

on:
pull_request:
branches:
- sycl

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2

- name: Get clang-format first
run: sudo apt-get install -yqq clang-format-9

- name: Run clang-format for the patch
run: |
git diff -U0 --no-color ${GITHUB_SHA}^1 ${GITHUB_SHA} -- | ./clang/tools/clang-format/clang-format-diff.py -p1 -binary clang-format-9 > ./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"
47 changes: 47 additions & 0 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Generate Doxygen documentation

on:
schedule:
- cron: 0 1 * * *

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: sycl
path: repo
- name: Install deps
run: |
sudo apt-get install -y doxygen graphviz ssh ninja-build
sudo pip3 install sphinx recommonmark sphinx_markdown_tables
- name: Build Docs
run: |
mkdir -p $GITHUB_WORKSPACE/build
cd $GITHUB_WORKSPACE/build
python $GITHUB_WORKSPACE/repo/buildbot/configure.py -w $GITHUB_WORKSPACE \
-s $GITHUB_WORKSPACE/repo -o $GITHUB_WORKSPACE/build -t Release --docs
cmake --build . --target doxygen-sycl
cmake --build . --target docs-sycl-html
- name: Deploy
env:
SSH_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
run: |
mkdir -p ~/.ssh
echo "$SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
eval "$(ssh-agent -s)"
ssh-add -k ~/.ssh/id_rsa
git clone [email protected]:intel/llvm-docs.git docs
cd $GITHUB_WORKSPACE/docs
git rm -rf .
touch .nojekyll
yes | \cp -rf $GITHUB_WORKSPACE/build/tools/sycl/doc/html/* .
mkdir doxygen
yes | \cp -rf $GITHUB_WORKSPACE/build/tools/sycl/doc/doxygen/html/* doxygen/
git config --global user.name "iclsrc"
git config --global user.email "[email protected]"
git add .
git diff-index --quiet HEAD || git commit -m "Update docs" -s
git push
70 changes: 70 additions & 0 deletions .github/workflows/linux_post_commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Linux Post Commit Checks

on:
push:
branches:
- sycl
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config: ["Default", "SharedLibs", "Assertions"]

steps:
- uses: actions/checkout@v2
with:
path: src
- name: Install Ubuntu deps
run: sudo apt install -y ninja-build
- name: Configure
run: |
CONFIG=${{ matrix.config }}
case $CONFIG in
Default)
export ARGS=""
;;
SharedLibs)
export ARGS="--shared-libs"
;;
Assertiosn)
export ARGS="--assertions"
;;
esac
mkdir -p $GITHUB_WORKSPACE/build
cd $GITHUB_WORKSPACE/build
python3 $GITHUB_WORKSPACE/src/buildbot/configure.py -w $GITHUB_WORKSPACE \
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t Release --no-ocl $ARGS
- name: Compile
run: |
python3 $GITHUB_WORKSPACE/src/buildbot/compile.py -w $GITHUB_WORKSPACE \
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build
- name: check-llvm
if: always()
run: |
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-llvm
- name: check-clang
if: always()
run: |
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-clang
- name: check-sycl
if: always()
run: |
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-sycl
- name: check-llvm-spirv
if: always()
run: |
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-llvm-spirv
- name: Pack
run: tar -czvf llvm_sycl.tar.gz -C $GITHUB_WORKSPACE/build/install .
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: sycl_linux_${{ matrix.config }}
path: llvm_sycl.tar.gz

107 changes: 99 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,101 @@
# Contributing to LLVM
# Contributing

Thank you for your interest in contributing to LLVM! There are many ways to
contribute, and we appreciate all contributions.
## License
Intel Project for LLVM\* technology is licensed under the terms of the
Apache-2.0 with LLVM-exception license ([LICENSE.txt](llvm/LICENSE.TXT))
to ensure our ability to contribute this project to the LLVM project
under the same license.

By contributing to this project, you agree to the Apache-2.0 with
LLVM-exception license and copyright terms there in and release your
contribution under these terms.

## Sign your work
Please use the sign-off line at the end of your contribution. Your
signature certifies that you wrote the contribution or otherwise have
the right to pass it on as an open-source contribution, and that you
agree to provide your contribution under the terms of the licenses
noted above. The rules are pretty simple: if you can certify the
below (from [developercertificate.org](http://developercertificate.org)):

```
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102,
San Francisco, CA 94110 USA

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
```

Then you just add a line to every git commit message:

Signed-off-by: Joe Smith <[email protected]>

Use your real name (sorry, no pseudonyms or anonymous contributions.)

If you set your `user.name` and `user.email` git configs, you can sign your
commit automatically with `git commit -s`.

## Contribution process

### Development

- Create a personal fork of the project on GitHub
- For the DPC++ Compiler project, use **sycl** branch as baseline for your
changes. See [Get Started Guide](sycl/doc/GetStartedGuide.md).
- Prepare your patch (follow
[LLVM coding standards](https://llvm.org/docs/CodingStandards.html))
- Build the project and run all tests

### 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/)
- CI will run signed-off check as soon as PR is created, see **check_pr** CI
check for results
- CI will run build and functional testing check as soon as PR is approved by
Intel representative
- New approval is needed if PR was updated (e.g. during code review)
- Once PR is approved and all checks pass, the pull request is ready for merge

### Merge

Project maintainers merge pull requests using one of the following options:
- [Rebase and merge] The preferable choice for PRs containing a single commit
- [Squash and merge] Used when there are multiple commits in the PR
- Squashing is done to make sure that the project is buildable on any commit
- [Create a merge commit] Used for LLVM pull-down PRs to preserve hashes of the
commits pulled from the LLVM community repository


*Other names and brands may be claimed as the property of others.

To get started with contributing, please take a look at the
[Contributing to LLVM](https://llvm.org/docs/Contributing.html) guide. It
describes how to get involved, raise issues and submit patches. Please note
that at the moment the LLVM project does not use either Github pull requests
or Github issues.
120 changes: 19 additions & 101 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,110 +1,28 @@
# The LLVM Compiler Infrastructure
# Intel Project for LLVM\* technology

This directory and its sub-directories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and run-time environments.
## Introduction

The README briefly describes how to get started with building LLVM.
For more information on how to contribute to the LLVM project, please
take a look at the
[Contributing to LLVM](https://llvm.org/docs/Contributing.html) guide.
Intel staging area for llvm.org contribution.
Home for Intel LLVM-based projects:
- oneAPI Data Parallel C++ compiler - see **sycl** branch. More information on
oneAPI and DPC++ is available at
([https://www.oneapi.com/](https://www.oneapi.com/))

## Getting Started with the LLVM System
## License
See [LICENSE.txt](sycl/LICENSE.TXT) for details.

Taken from https://llvm.org/docs/GettingStarted.html.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for details.

### Overview
## Sub-projects Documentation
- oneAPI Data Parallel C++ compiler - See
[GetStartedGuide.md](sycl/doc/GetStartedGuide.md)

Welcome to the LLVM project!
## DPC++ extensions

The LLVM project has multiple components. The core of the project is
itself called "LLVM". This contains all of the tools, libraries, and header
files needed to process intermediate representations and converts it into
object files. Tools include an assembler, disassembler, bitcode analyzer, and
bitcode optimizer. It also contains basic regression tests.
DPC++ is an open, cross-architecture language built upon the ISO C++ and Khronos
SYCL\* standards. DPC++ extends these standards with a number of extensions,
which can be found in [sycl/doc/extensions](sycl/doc/extensions) directory.

C-like languages use the [Clang](http://clang.llvm.org/) front end. This
component compiles C, C++, Objective C, and Objective C++ code into LLVM bitcode
-- and from there into object files, using LLVM.
\*Other names and brands may be claimed as the property of others.

Other components include:
the [libc++ C++ standard library](https://libcxx.llvm.org),
the [LLD linker](https://lld.llvm.org), and more.

### Getting the Source Code and Building LLVM

The LLVM Getting Started documentation may be out of date. The [Clang
Getting Started](http://clang.llvm.org/get_started.html) page might have more
accurate information.

This is an example work-flow and configuration to get and build the LLVM source:

1. Checkout LLVM (including related sub-projects like Clang):

* ``git clone https://github.com/llvm/llvm-project.git``

* Or, on windows, ``git clone --config core.autocrlf=false
https://github.com/llvm/llvm-project.git``

2. Configure and build LLVM and Clang:

* ``cd llvm-project``

* ``mkdir build``

* ``cd build``

* ``cmake -G <generator> [options] ../llvm``

Some common build system generators are:

* ``Ninja`` --- for generating [Ninja](https://ninja-build.org)
build files. Most llvm developers use Ninja.
* ``Unix Makefiles`` --- for generating make-compatible parallel makefiles.
* ``Visual Studio`` --- for generating Visual Studio projects and
solutions.
* ``Xcode`` --- for generating Xcode projects.

Some Common options:

* ``-DLLVM_ENABLE_PROJECTS='...'`` --- semicolon-separated list of the LLVM
sub-projects you'd like to additionally build. Can include any of: clang,
clang-tools-extra, libcxx, libcxxabi, libunwind, lldb, compiler-rt, lld,
polly, or debuginfo-tests.

For example, to build LLVM, Clang, libcxx, and libcxxabi, use
``-DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi"``.

* ``-DCMAKE_INSTALL_PREFIX=directory`` --- Specify for *directory* the full
path name of where you want the LLVM tools and libraries to be installed
(default ``/usr/local``).

* ``-DCMAKE_BUILD_TYPE=type`` --- Valid options for *type* are Debug,
Release, RelWithDebInfo, and MinSizeRel. Default is Debug.

* ``-DLLVM_ENABLE_ASSERTIONS=On`` --- Compile with assertion checks enabled
(default is Yes for Debug builds, No for all other build types).

* ``cmake --build . [-- [options] <target>]`` or your build system specified above
directly.

* The default target (i.e. ``ninja`` or ``make``) will build all of LLVM.

* The ``check-all`` target (i.e. ``ninja check-all``) will run the
regression tests to ensure everything is in working order.

* CMake will generate targets for each tool and library, and most
LLVM sub-projects generate their own ``check-<project>`` target.

* Running a serial build will be **slow**. To improve speed, try running a
parallel build. That's done by default in Ninja; for ``make``, use the option
``-j NNN``, where ``NNN`` is the number of parallel jobs, e.g. the number of
CPUs you have.

* For more information see [CMake](https://llvm.org/docs/CMake.html)

Consult the
[Getting Started with LLVM](https://llvm.org/docs/GettingStarted.html#getting-started-with-llvm)
page for detailed information on configuring and compiling LLVM. You can visit
[Directory Layout](https://llvm.org/docs/GettingStarted.html#directory-layout)
to learn about the layout of the source code tree.
Loading