Commit Graph

96 Commits

Author SHA1 Message Date
Artur Harasimiuk 2e74c161d6 respect interface defines provided by IGC compiler
Change-Id: I00b6855a44305c338418366183c5edb6864528e7
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-10-24 12:21:12 +02:00
Jaroslaw Chodor 28464ab2d4 [N/N] compiler interface refactor - move to core
Change-Id: I029e3cd7a6adde9df97a0a7760ecbf5d25d8f501
2019-10-22 19:14:09 +02: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
Mateusz Jablonski 79e7a51908 CMake: rename IGDRCL_SOURCE_DIR to NEO_SOURCE_DIR
use NEO_SOURCE_DIR instead of CMAKE_SOURCE_DIR

Change-Id: Ib3774c80147941ded6bc884d83407461c89e7b8e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-14 12:18:50 +02:00
Mateusz Jablonski e4ed7e7f12 CMake: add IGDRCL_SOURCE_DIR to prefixes in create_project_source_tree macro
Change-Id: I0fceeab0b42fe58ec92fbaaa4b4704c0b2344647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-10 16:08:21 +02:00
Zbigniew Zdanowicz e1ff6603b2 Add core directory as parent source to offline compiler project
Change-Id: Ia057aa3cebe97ba46ae75fb1d88e9b98353fb7df
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-10-08 15:10:48 +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
chmielew 514df851e3 hardcoding PT info with inlineData
Change-Id: I9dd71f5a9101535ed755a2937fed96a55865a801
2019-09-05 14:43:59 +02:00
Jobczyk, Lukasz 10795c716f Move DebugSettingsReader to a core dir
Related-To: NEO-3677

Change-Id: I3374abde6717be20c064ec6d65c0751a783f5138
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-08-29 13:49:40 +02:00
Mateusz Jablonski 7749f28f70 Remove not needed methods from Device.
Change-Id: I179089a4b248ba1ebd6502e001fda18238c4767b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-08-27 09:07:10 +02:00
Jim Snow 4360aff03c Move runtime/helpers/aligned_memory.h to core/helpers
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
Change-Id: I15de094c51d4eb18bfff4d17fd34e817b5525fda
2019-08-06 23:56:24 +02:00
chmielew c56cc25730 IgaWrapper pimpl - change new to make_unique
Change-Id: Ib8ac8e0ea108fed4ce64bc7e4e8dc8b771bb640c
2019-08-02 16:14:57 +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
chmielew 2ad0114ef7 addSlash - make sure string is null terminated
Change-Id: I2eb0055abf734b68837d07303ff0098e6f912211
2019-07-23 09:44: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 6a51f1fad9 ocloc dump string fix
Change-Id: I2b94fe6bef396b12ee7fd394b63ff76ad06138e1
2019-07-16 13:15:21 +02:00
chmielew ebf8baa6d4 ocloc getProductFamily, createDumpDir fix
getProductFamily no longer throws segfault error. Dumping directory is
created automatically.

Change-Id: Ia1f33dec1bf873312e5f7b842aaf189e98103590
2019-07-10 13:22:03 +02:00
chmielew ab89c3cf75 oclock fixes
Change-Id: I446ba2a489bf2f58fbf4211b71279d7d48c8a065
2019-07-08 13:07:30 +02:00
chmielew 7acfe9c935 suppress ocloc output
Change-Id: Ifab9b9c07e278062547581556da9b41ae3da9960
2019-07-04 20:47:02 +02:00
chmielew 369982995d ocloc help cleanup
Change-Id: I4378fa306e3a2b3ec219800a61dbae6c7115808a
2019-07-04 12:55:22 +02:00
Artur Harasimiuk b8a5036c41 cmake: make directory prior to copying
Change-Id: Ifc45bf1eb3d819ae40c541eb067a33e5774f0039
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-07-03 23:13:59 +02:00
Krystian 3f76ab4469 ocloc help cleanup
Change-Id: Iaae89f0805d4cbb55f2d5bc261ede2823de7bd71
2019-07-03 15:19:23 +02:00
Chodor, Jaroslaw 2f42f332d8 Adding support for kernel disasm using IGA
Change-Id: Ic75540c9b42913f5d12d66438cc4e6dcc39ceb98
2019-06-28 12:18:20 +02:00
Chodor, Jaroslaw 2e5ef30009 ocloc - checksum recalculation during reassembly
Resolves: NEO-2696

Change-Id: I2c049ac511e437679df9b58d00e4fb8d995bbe3e
2019-06-19 09:57:04 +02:00
Chodor, Jaroslaw d3ed744c1b Minimalistic kernel dump in ocloc
Resolves: NEO-2118

Change-Id: I7358ad991621114e287b1851cfce6254c76b63c1
2019-06-14 13:50:11 +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 db84345bca Refactoring the initialization of the retVal.
Change-Id: Id74f7f5974868e77a0fbac4520d1ee753d39e601
Signed-off-by: Marcin Naczk <marcin.naczk@intel.com>
2019-06-05 13:47:44 +02:00
Hoppe, Mateusz 7d9f219c9d Remove redundant includes from ocloc include paths
Change-Id: I8a4f289ec9436d7e66792c40d9455a80a0afb4fd
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-30 15:57:58 +02:00
Jaime Arteaga b98b51b0d9 Move ptr.h to core folder
Change-Id: Icf0db7c767b2b1ea44fccc02b135f0f6c1f78c8f
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2019-05-29 00:11:34 -07: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
Artur Harasimiuk 061b436e7f cpack: don't build package when dll build is disabled
Change-Id: I63b807d33ed1cddccdb485b41ea2a2176a611190
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-05-16 10:42:21 +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 Dziuban 0b5f810142 Do not print error messages from BinaryEncoder/BinaryDecoder in tests
Change-Id: I45d339c233f9a45724db8d84bf5c5bd66233dcab
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-29 09:09:38 +01:00
Piotr Fusik d4a0c4852b Move EngineType to aub_stream.
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01: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
Artur Harasimiuk 04c2064382 do not copy compiler libraries during build
Instead of doing copy we can use LD_LIBRARY_PATH and use files from
original location

Change-Id: I3e936370da6a29fbeb00bdb4b324c13572e5ba47
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-03-11 11:58:11 +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
Artur Harasimiuk 86b4892388 don't use sanitizer when building ocloc
Change-Id: I910802b95e338414300f1b307444331801f3c87a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-02-20 09:28:54 +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
Hoppe, Mateusz cb37f2a779 Add /we4189 switch to CMAKE_CXX_FLAGS for MSVC.
- treat unused local variables warnings as error in Debug

Change-Id: I2da08b72e0f0083d3cdf932fbf92ef4981a88615
2019-02-08 12:06:04 +01:00
Kamil Diedrich e2092d29ff Fix for receiving appropriate tokens during builtin compilation
Change-Id: I5f73bd95bbbd0e2b59dcc85beebd3d1ee205782a
2019-01-17 14:31:29 +01:00