Mateusz Hoppe
f0a6f6b057
Move DebugSettingsManager to core
...
- pass registry path in constructor
Change-Id: I2a121da2c9483a0df088989feea490a638c63016
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-12-17 10:39:53 +01:00
Borzyszkowski, Mateusz
bc4c7fe524
Allow error information in debug mode
...
Allow error information in debug mode when starting ocloc
with the spir-v input attached. Before this change,
it did not emit an error message, but only stopped running.
Resolves: IGC-2715
Change-Id: I7bfae43b4990f9f09fb7360712c17589bb7d1b07
2019-12-10 13:56:51 +01:00
Jaroslaw Chodor
72a1542140
[2/N] Program refactor - gather compiler options
...
Change-Id: I0a614be73fbd87184be2dfea407582a58c27b0bc
2019-12-06 22:17:19 +01:00
Mateusz Jablonski
54f65c0243
Move headers to core
...
- hw_info
- hw_cmds
- kmd_notify_properties
- completion_stamp
- bxml_generator_glue
Related-To: NEO-3982
Change-Id: I3ed3ef81f42596f381e60c19250f6eb1296d47a4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-02 14:20:45 +01:00
Mateusz Jablonski
13921f698e
Move files to core
...
- OsLibrary class
- sku_info directory
- gmm_lib.h header
Change-Id: Ia86280e61cd2913c546afc40c3751b42e04ab137
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 16:19:52 +01:00
Daria Hinz
2196f7e216
Move ElfLib to core
...
Change-Id: I57987e871aac9c72dc786661c1d24f5024dd367b
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-10-18 08:31:12 +02:00
Jaroslaw Chodor
90e5cf164c
Moving hash and file_io to core
...
Change-Id: I1e6eece53fadf62a8919aa41e04deee3dac2ce60
2019-10-17 13:16:20 +02:00
Chodor, Jaroslaw
856e5c6aaf
[1/N] compiler interface refactor
...
Decouple compiler interface from Program object
Change-Id: Ibd63c6eee01d85527318ccad52e52f5487d3402e
2019-10-16 16:17:13 +02:00
Mrozek, Michal
4ee44586b5
Allow to load llvm bc.
...
Change-Id: Ibdffafe48d42072536d8b185e74c77489686f728
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-26 13:58:10 +02:00
Mrozek, Michal
e6341f48bb
Add extra settings file
...
Change-Id: I49757d38a76cf7e3ae5357477296a4d4e6dcc84e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-17 13:26:14 -07:00
chmielew
d1e372a3a3
Adding -output_no_suffix flag
...
Change-Id: Ic444ea8b049f7582ff25700c2fb029c13a2eb9ef
2019-09-12 15:45:02 +02:00
Jobczyk, Lukasz
882a216688
Move Debug helpers to the core dir
...
Related-To: NEO-3677
Change-Id: I2c98595190fadfa8ffd9e378e774c0d4485cbf9e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-05 16:00:35 +02:00
Andrzej Koska
dd777559ba
Limiting VME tests to supporting platforms
...
Change-Id: I06aac13fc69d74fc4db26dfdd3b2035e53405d08
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
Related-To: NEO-3416
2019-07-30 12:06:02 +02:00
Filip Hazubski
4410ebe74d
Remove unused function
...
Related-To: NEO-3503
Change-Id: I787907e73f1237295594d3a2620f8459f8698eee
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-07-25 01:31:14 +02:00
Koska, Andrzej
1bff5a7bcb
Dynamically expose VME extensions
...
Change-Id: Ia562361aeea70020cd99f813ea325fa88ca37006
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
Related-To: NEO-3416
2019-07-24 16:07:13 +02:00
Raiyan Latif
ca74489172
Move string.h to core helpers
...
Change-Id: Ibaaab077ef2867b5e0db3bd215c261de9294063f
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2019-07-19 07:21:00 +02:00
chmielew
ab89c3cf75
oclock fixes
...
Change-Id: I446ba2a489bf2f58fbf4211b71279d7d48c8a065
2019-07-08 13:07:30 +02:00
chmielew
369982995d
ocloc help cleanup
...
Change-Id: I4378fa306e3a2b3ec219800a61dbae6c7115808a
2019-07-04 12:55:22 +02:00
Krystian
3f76ab4469
ocloc help cleanup
...
Change-Id: Iaae89f0805d4cbb55f2d5bc261ede2823de7bd71
2019-07-03 15:19:23 +02:00
Chodor, Jaroslaw
425dad30d0
Improving ocloc robustness
...
* don't load FCL if not needed
* don't fail because of patchtokens
* print-out incompatible interfaces
Change-Id: I9c06dc27aa4495a3cd103e7dedf1bb5dd411a5db
2019-06-12 10:38:16 +02:00
Marcin Naczk
ce8d24d124
Add multi command line option for ocloc
...
- now ocloc is able to make multi build, all options and parameters
of build are listed in separate .txt file, each line in this file
is new build.
Change-Id: Id74af826e8c1a4fe14c46ed6024efe2041a22fd0
Signed-off-by: Marcin Naczk <marcin.naczk@intel.com>
2019-05-20 16:02:20 +02:00
Dunajski, Bartosz
0f87e9aa1a
Rename HardwareInfo members
...
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 09:13:55 +02:00
Dunajski, Bartosz
bb80d327c7
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
...
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-08 16:11:01 +02:00
Mateusz Hoppe
d106980df6
ocloc: allow options to be used when using spirv input
...
Related-To: NEO-3128
Change-Id: Ib46e17003c81aff0cec23273674b639b9572c80f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-29 14:58:57 +02:00
Maciej Plewka
9e52684f5b
Change namespace from OCLRT to NEO
...
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00
Filip Hazubski
8b57d28116
clang-format: enable sorting includes
...
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library
Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
dongwonk
7ff379f8f3
ocloc returns error message for missing library
...
add error log in case libigdfcl is missing
Change-Id: I578ac5f24b9fd67e57bb23fcd6771cc822b225b9
Signed-off-by: dongwonk <dongwon.kim@intel.com>
2019-02-18 12:16:27 +01:00
Kamil Diedrich
e2092d29ff
Fix for receiving appropriate tokens during builtin compilation
...
Change-Id: I5f73bd95bbbd0e2b59dcc85beebd3d1ee205782a
2019-01-17 14:31:29 +01:00
Cetnerowski, Adam
d46969a7f2
Rename offline compiler: cloc -> ocloc
...
Change-Id: I0595bac4c7266e77bd2ee17588694233547c8315
2018-11-21 13:31:47 +01:00
Pawel Wilma
17a0a7ecb8
Append internal options from file instead of replace
...
Change-Id: Ic3353e95b71e6227a9dda2afc7d940d8cd0575e2
2018-10-17 13:55:30 +02:00
Cetnerowski
17fe3e740e
Cloc: correctly handle nonexistant platform
...
Change-Id: I85a81c10dc101e8af68dd4c52c7f604d563c4396
Signed-off-by: Cetnerowski <adam.cetnerowski@intel.com>
2018-09-26 06:02:46 +02:00
Artur Harasimiuk
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Chodor, Jaroslaw
29794db9d9
Refactor cloc UTLS - use inititializer list
...
Using initializer list instead of C array
Change-Id: I0520fc8f782347b884b6134208e6b6edaea532dd
2018-08-13 13:10:46 +02:00
Chodor, Jaroslaw
59365ab854
Fix for cloc binary input
...
Cloc was truncating binary input
at first 0.
Change-Id: I10e3c9dbbfb56fedfa768e19fdf4e7c71bc47dd1
2018-08-13 11:05:18 +02:00
Kamil Diedrich
8226269bbe
Reimplementation of Elf Writer
...
- remove is_initialize pattern
- add RAII
- replace dynamic arrays with std::vector<char>
- use fixed width integer types
- remove c-style casting
- reducing the number of code checks
- add camelCase style
Change-Id: If24a595f03865c59c86fed29db280de0084b5663
2018-08-07 17:35:39 +02:00
Chodor, Jaroslaw
02216e198d
Adding spirv to cloc
...
cloc will now accept spirv as input
when spirv_input command line argument
is present
Change-Id: Iaca88e1bd11ec2e4b2bfbac3e372ba97fa7efc8e
2018-08-07 14:08:34 +02:00
Chodor, Jaroslaw
c2454d5aa2
SpirV improvements
...
* Use preferredIR form compiler
* Allow .spv test files instead of .bc
Change-Id: Ia1a693be52b7391896378fbe159be85f4e7a00c1
2018-07-31 00:26:52 +02:00
Kamil Diedrich
282f335269
elflib reimplementation - initial commit
...
Includes:
-add explicit definition of enum types
-replace NULL for nullptr
-add namespace for constants
-replace c-style casting
-add SH_FLAG_NONE for consistency
Change-Id: I3eb8d26cc6b549e91a940ae0d3c095a9f96785f2
2018-07-26 14:03:35 +02:00
Chodor, Jaroslaw
b490a1331b
Refactoring/preparation for preferred IR from FCL
...
NEO will be querying FCL for preferrerd IR
(intermediate representation) instead of
using llvm bc.
Change-Id: I98316b5623557a9651da2a4c5e610ab26421c491
2018-07-18 16:49:29 +02:00
Mateusz Jablonski
abbc0a5471
Compile kernels per platform type (core/lp)
...
compiled kernels are in (binary dir)/(family name with type) folder
Change-Id: Ied1827ab7f4ecc5c1de4c3535b1c0ba3b5cd86ee
2018-04-26 16:47:15 +02:00
Hoppe, Mateusz
81362d5b7d
Source Level Debugger: add generating debug data in cloc
...
- generate debug data to .dbg file in cloc
- generate debug kernel for ults with "-g" option
in addition to "-cl-kernel-debug-enable"
- append "-g" option for compilation and build of
programs with kernel debugging enabled to make
compiler generate debug data
Change-Id: I09401f84be6e09da167194a44d1b9a7f2bfb622d
2018-04-18 17:14:15 +02:00
Hoppe, Mateusz
320f456816
Add reading internal options from file to cloc
...
- if no options are passed try to read options
and internal options from text files.
- refactor code for reading from file.
Change-Id: I608c70f3afe77a4e4845fe1c96cc9d31464c6122
2018-03-27 18:06:14 +02:00
Koska, Andrzej
dd21164b3e
Adding the last character in a null terminated string
...
Change-Id: I4a9cad0974c8b9f1474e79e5c3d78b88dd4b004c
2018-03-26 16:45:22 +02:00
Cetnerowski, Adam
e746081403
Offliner compiler - refactor help
...
Change-Id: Ie9514ea3aedb208bc653f29fe96e4b71003807fd
2018-03-21 15:09:40 +01:00
Cetnerowski, Adam
214b407353
Offline compiler - fix typo in help
...
Change-Id: I66d1fd899d351b3f89c610b04737893d106ae296
2018-03-20 20:19:13 +01:00
Hoppe, Mateusz
cc6fa3d1e1
Kernel source debugging support 1/n
...
- new patch token
- program debug compilation flag
- sip kernel new methods for querying bti and debug
surface size
Change-Id: Icaddd15f269c4b76efdf926f2e346aa61cbaae02
2018-03-13 08:01:29 +01:00
Hoppe, Mateusz
3f5a56ac1c
Adding "-internal_options" to cloc
...
- new parameter for passing internal options string
to compiler
Change-Id: I4eb75922a079eb5dcffbd3bf83141cf42a4d2830
2018-03-09 13:21:18 +01:00
Hoppe, Mateusz
8d5e099aa3
Adding "output" option to cloc for output filename
...
- instead using input filename for output files,
use name passed as an option.
Change-Id: Ibfa35b1d48d1b92dcfa67c5d59d9ea6a3c2e7639
2018-03-09 09:35:02 +01:00
Hoppe, Mateusz
d9eeb663a2
Add "inputFileLlvm" option to cloc
...
- enables offline compilation of llvm text source
Change-Id: I72cba4a081ea76446f1c0d4e0bd9ee97e6c55db4
2018-03-07 18:31:46 +01:00
Mateusz Jablonski
ea021f8d69
Cmake refactor part 1: fix dependencies with including os_inc.h
...
Remove some not needed includes
Change-Id: I158ad663ccfcec4822e3768df9d05090c5e096f9
2018-02-08 09:40:40 +01:00