9293c9b676
Use isMidThreadPreemptionSupported helper in compiler interface
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-09-09 18:17:09 +02:00
73264c65d4
Ocloc return success when returning help
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-08-19 07:43:16 +02:00
0e30ac71bd
Ocloc: add support for hexadecimal input of revision_id
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-08-11 11:31:29 +02:00
b5d222f6cb
Add query option description to help
...
Related-To: NEO-6031
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2021-08-10 13:33:26 +02:00
714a1ebf53
Improve ocloc tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-19 18:24:17 +02:00
bec8cdd6f1
Update XE_HP_CORE files to enable unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-08 18:41:41 +02:00
9e18416098
Add interface to extract versioning info
...
Appened ocloc interface with new 'query' feature.
Using this feature now one can extract HEAD hash and version of neo.
Signed-off-by: Bushev, Dmitry <dmitry.bushev@intel.com >
2021-06-29 13:17:15 +02:00
b3283a4490
When initializing gtSystemInfo initialize DualSubSliceCount
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-01 14:52:19 +02:00
d0cb27226f
Move mocks: cif, gmm context, compilers
...
Related-To: NEO-5161
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-05-27 12:51:28 +02:00
ab52c70233
Change builtin kernels compilation process
...
.bin and .gen files for builtin kernels are generated per revision now
Resolves: NEO-5821
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-05-25 11:30:52 +02:00
cef20f5d88
ULT renaming: Offline Compiler tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-05-18 10:34:17 +02:00
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
f30fb9126a
Add -cl-kernel-debug-enable internal option when -g is passed to ocloclib
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2021-04-14 16:25:42 +02:00
8f6b90d891
Fix expected string in ocloc test
...
- device id should be based on deviceProductTable
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-07 14:29:50 +02:00
6fe71e835b
Autodetect device type based on provided device ID in ocloc
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2021-04-06 12:04:13 +02:00
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-02-10 21:03:13 +01:00
5d922eea75
Add __IMAGE_SUPPORT__ option when compiling without device
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-01-20 18:50:02 +01:00
65aecc84f1
Add __IMAGE_SUPPORT__ option for compilation
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-01-19 16:21:57 +01:00
db371ab6b9
Ocloc compile: return zebin format as is
...
If igc returns a zebin format ocloc should return it as it is.
2021-01-13 14:09:35 +01:00
646b551da0
Helper to override platform name
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-01-13 11:22:44 +01:00
7bfa71636a
ULT renaming: Ocloc tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-12-15 08:48:17 +01:00
3770048532
Update parsing of -internal_options in ocloc
...
Add internal options provided by the user after
the generated internal options.
Related-To: NEO-5152
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-12-07 15:15:16 +01:00
2859023642
Add -ocl-version option when compiling without device
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-12-03 21:02:18 +01:00
23d4967f79
Correct generating extensions list for compiler
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-12-03 15:15:49 +01:00
6c4b1f951c
Do not force cl_khr_3d_image_writes extension when compiling kernels
...
Update usage of SUPPORTED_IMAGES flag and do not use images when disabled.
Use SUPPORTED_2_0 only on fully OCL 2.1 conformant platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-11-27 17:20:46 +01:00
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
6e805b4fde
Enable DISABLED tests
...
- cleanup ocloc test
- cleanup cmakelists
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-27 14:34:14 +01:00
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
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
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
a07be76146
ocloc - don't require device for src->spv
...
Change-Id: Idb2acd9af4e09f59958e3bc622885423a3f79227
2020-11-02 21:07:18 +01:00
78dc305291
Ocloc - emit warning on input type mismatch
...
Change-Id: I57edcbd3025616698dbe7710f04d975db93ffdb9
2020-11-02 20:00:15 +01:00
5850c141f3
Offline compiler test fix for single skus builds.
...
Related-To: NEO-5092
Change-Id: Ie737e773410daf905b45a7ef0fdac802d870c598
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-10-29 15:18:18 +01:00
91a36bf277
ocloc - preserve input spirv in output elf
...
Change-Id: I1205a5c655d643e0d6150f9dc7edaae30ad15225
2020-10-08 15:37:57 +02:00
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
ad1c231be2
Change IgcOclDeviceCtxLatest to IgcOclDeviceCtxTagOCL
...
Change-Id: I1add81d4d092f9177e67b1fb2185523f5b82dd32
2020-09-14 10:36:40 -07:00
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
0e50c3f7bb
WA for integer divide emulation on DG1
...
Resolves: NEO-5003
Change-Id: I2f0d6730cab53335f34ebd8e335a9517030d6441
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2020-09-04 10:44:51 +02:00
fa6b181120
do not use absolute path when including hw_cmds.h
...
Change-Id: I59a825f25d6572f7dfb0c80211a6e3652e2827c5
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2020-08-04 13:27:29 +02:00
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
d65cdab453
Zebin - yaml parser
...
Change-Id: If8b5bcd68b7d39bfd3fb53b619f5de973b059bff
2020-07-30 07:26:44 +02:00
48d990dfc9
Revert "Pass revision ID to ocloc"
...
This reverts commit 05990b628b
.
Change-Id: I7213d5cb75d6e5657410773da8c7ff386c6bbf8a
2020-07-24 18:00:48 +02:00
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
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
9e813b7851
Fix for broken single SKU builds
...
Change-Id: Ie3cd04c0fdecdccea8324800d2db812bbdd95488
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2020-07-07 13:25:03 +02:00
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
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
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
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
ce04f0d0e3
ocloc fix multi command not recognized
...
Change-Id: I63b48ec09ce8ec083ce489ea11755f9f12cd9128
2020-05-19 12:38:16 +02:00