Commit Graph

81 Commits

Author SHA1 Message Date
Mateusz Hoppe 1792516043 Fix parsing ocloc options file
Resolves: NEO-5330

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-27 17:16:55 +01:00
Mateusz Jablonski 85ce7a5866 Ocloc: setup hw info values from default config
Related-To: NEO-5287
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-20 15:32:49 +01:00
Filip Hazubski 0c51499679 Provide -ocl-version option when compiling with ocloc
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-18 14:27:39 +01:00
Filip Hazubski 59b74a8ea3 Do not provide -cl-feature option to the compiler
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-17 18:17:34 +01:00
Jaroslaw Chodor a07be76146 ocloc - don't require device for src->spv
Change-Id: Idb2acd9af4e09f59958e3bc622885423a3f79227
2020-11-02 21:07:18 +01:00
Jaroslaw Chodor 78dc305291 Ocloc - emit warning on input type mismatch
Change-Id: I57edcbd3025616698dbe7710f04d975db93ffdb9
2020-11-02 20:00:15 +01:00
kvladimi 72d3cd50d7 Adding information about -help and reformatting VC options to 80 symbols
Change-Id: Id9498c51d723f5b5583466bd6f1b2f62833f0902
2020-10-13 12:51:29 +02:00
Jaroslaw Chodor 91a36bf277 ocloc - preserve input spirv in output elf
Change-Id: I1205a5c655d643e0d6150f9dc7edaae30ad15225
2020-10-08 15:37:57 +02:00
Filip Hazubski 60430d79ee Update OpenCL C features reporting to the compiler
Pass features also with -cl-ext option.

Change-Id: I1a1c68b655a2108be51c7d57be771591ee0b14e7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 10:27:30 +02:00
kvladimi 2c51737d61 Adding information to -cmc and -vc-codegen interfaces to option help
Change-Id: I5ea0f501a026c8589427ff16c4aa99cf7d672f29
2020-09-17 14:51:55 +03:00
Filip Hazubski f3e9e943a3 Add new feature macros
New feature macros are:
__opencl_c_images
__opencl_c_fp64
__opencl_c_int64

Change-Id: Ibe4b01ea9799db1f201dc379a37cb661754795db
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-09-08 12:13:53 +02:00
Kamil Kopryk 145fd87f5d Revert "Add adjustPlatformCoreFamilyForIgc helper"
This reverts commit 8fffdcc111.

Change-Id: I0415b004ef0a1465bc2658cadc66f21a99302eca
2020-09-08 07:36:26 +02:00
Kamil Kopryk 8fffdcc111 Add adjustPlatformCoreFamilyForIgc helper
Change-Id: Ic372e76c1024ca9e585bef15fab29827d33122f3
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4865
2020-08-13 17:31:13 +02:00
Andrzej Swierczynski c2534697e8 Pass revision ID to ocloc
Related-To: NEO-4004

Change-Id: I4a76d14ba445ac8aaaa81279a0726071a6361eae
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-31 14:26:35 +02:00
Plewka, Maciej 48d990dfc9 Revert "Pass revision ID to ocloc"
This reverts commit 05990b628b.

Change-Id: I7213d5cb75d6e5657410773da8c7ff386c6bbf8a
2020-07-24 18:00:48 +02:00
Andrzej Swierczynski 05990b628b Pass revision ID to ocloc
Related-To: NEO-4004

Change-Id: I3586782f4996e518fe69a9b6e2a2ed22ad19258b
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-23 16:19:14 +02:00
Daria Hinz b79672e3f1 Cmd line option to generate only spirV file
Related-to: NEO-4678
Change-Id: I502aede9f6e0796c1319d9c242a8b9095253cb88
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2020-07-08 11:16:10 +02:00
Pawel Wilma 1543fd6103 Read _options.txt in ocloc also for non-standard kernel file extensions
Related-To: NEO-3776

Change-Id: I139cab31cddc1f02ac40e5c06cca0c24a1180cf2
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-07-06 18:23:20 +02:00
Konstanty Misiak 0ca7e5b5ae Fix ocloc -device option
Related-To: NEO-4782

Change-Id: I2e7752a4f9f1bdf4cc1c45549e39139d8e77b89f
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-07-03 11:51:58 +02:00
Daria Hinz d00a663e63 Extract SpirV generation to separate build method
Related-to: NEO-4678
Change-Id: I8371172f786c6d4042755532b77603224264d61b
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2020-07-02 12:38:32 +02:00
Pawel Wilma 2e6fc92372 Initialize hwInfo in ocloc before passing it to IGC
Related-To: NEO-3735

Change-Id: Ice69f6b21b960bda8fe4aa9667bc03cc3dbbc086
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-07-01 09:34:01 +02:00
Filip Hazubski 45f0bc56bc Add options when building the program
Report "-ocl-version=300" when OCL 3.0 is enabled.
Report "-cl-feature=" with list of supported features.

Related-To: NEO-4368

Change-Id: I9aee559ed53541a0f0c1a2a004926d9d29a53d94
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-18 18:54:50 +02:00
Mateusz Jablonski cb24b95833 ocloc: dump files even if the entire build failed
if compilation spirv -> binary fails then spv file is created

cleanup MockOfflineCompiler

Change-Id: I6352baaa11a8f4ca15dcb358b4f2fbcae1b89d24
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-02 19:18:43 +02:00
8tab 7937da71f6 Fix build with USE_ASAN=ON
Signed-off-by: Mateusz Tabaka <tab.debugteam@gmail.com>

https://github.com/intel/compute-runtime/pull/314

Change-Id: I2b699df3f158b961a1a329fb81de8cd7115d06bc
2020-05-22 13:17:50 +02:00
matborzyszkowski 86ea2ffdac Adding error message for fcl
Change-Id: Ic1849c55c33bd8ac5ef624765da46d505192c4fc
2020-05-05 04:50:45 -07:00
ocldev 08af6cad48 IGC interface cleanup
Change-Id: I4dc1a35cea636e00187c5f793a1539c4fdfac5f1
2020-04-28 21:01:48 +02:00
chmielew 3976614bd5 ocloc - log output
Change-Id: I2a61b392e05033f963e502a90fe608b742c179a9
2020-03-24 15:01:58 +01:00
chmielew e2dedd41f4 ocloc - argHelper support for MultiCommand and FatBinary
Change-Id: If4a4e6292609ce544a6534ebd4937ffe1cc09e67
2020-03-13 10:31:19 +01:00
chmielew c1aabdf51c ocloc - renaming "Intel OpenCL GPU device binary" -> "Intel Compute -||-"
Change-Id: Id9f8bba36a04487bee1c553e3af0d48c466d797b
2020-03-12 14:31:30 +01:00
chmielew 3e85c337f3 ocloc - remove CL types
Change-Id: I724d9d64b1f883fccfea3b7c488921c2419bbe37
2020-03-04 15:26:53 +01:00
chmielew e28419fc91 moving ocloc to shared folder
Change-Id: Ic739cf747f7e6fae2c0cd57f0bc1aa0899d3aa53
2020-02-27 18:46:00 +01:00