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
Maciej Plewka
9e81469d9f
Disable debug keys for ults
...
Change-Id: I7f69a770b21a741b5ff79e735c26d988d2b83aab
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2018-12-19 12:30:03 +01:00
Cetnerowski, Adam
d46969a7f2
Rename offline compiler: cloc -> ocloc
...
Change-Id: I0595bac4c7266e77bd2ee17588694233547c8315
2018-11-21 13:31:47 +01:00
Krystian
546afdf7f0
OCL Encoder retVal fix
...
Change-Id: I679ca3b12b5472b58358d89ead53c0889ed01234
2018-11-21 10:00:43 +01:00
Krystian
5b9f5a6d9e
OCLDecoder PatchListSize fix
...
Change-Id: I8e4f809464b88d06ff4b5611888f1e6965aa4f19
2018-11-16 21:01:28 +01:00
Artur Harasimiuk
a3ceaf8dd4
cloc: don't crash when no arguments given
...
Change-Id: I183577d3c3c5a9f614ed9ab161025376fa5e7ce0
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-25 21:35:44 +02:00
Pawel Wilma
17a0a7ecb8
Append internal options from file instead of replace
...
Change-Id: Ic3353e95b71e6227a9dda2afc7d940d8cd0575e2
2018-10-17 13:55:30 +02:00
Krystian
526a3a664b
Adding new tool for decoding and encoding OCL binary.
...
Decoder decodes the binary to kernel heaps and patch token data, which
is in a human readible form. Encoder encodes it back to binary form.
Change-Id: Id07b1294ba24360e90c824171741cf14bd43cfad
2018-10-05 12:18:18 +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
Katarzyna Cencelewska
962b6ce883
Add support for cl-gl sharing
...
Change-Id: I08d7608722746baa3be61846e05eecb5419cc136
2018-09-18 11:18:46 +02:00
Kamil Diedrich
d3d8b6f905
change ARRAY_COUNT macro to constexpr
...
Change-Id: I027c4e70e3b901f3ffb3c0971935ae67e971db07
2018-08-14 10:04:58 +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
Hoppe, Mateusz
e437589ace
Add callstack printing to cloc
...
- callstack is printed when SEH / SigSegv / SigIll is raised
Change-Id: I4bddd1208351027ee67fc6bae2404a90022373c7
2018-07-05 14:40:56 +02:00
Stefanowski, Adam
ded1a445f8
Group gen specific small cpp files together part 3
...
Change-Id: Id49acae4f9748a1db51c1a4051992269e21f1048
2018-06-11 15:46:55 +02:00
Stefanowski, Adam
604b04b5cd
Group gen specific small cpp files together part 1
...
Change-Id: I554caee03f0abcb069fe38c6092c33b5f9eb04f9
2018-05-30 10:41:57 +02:00
Stefanowski, Adam
c2368739ce
add gen suffix for each gen files
...
Change-Id: Ie00e23fc6a7abf2114e62f70d66a07beaed2b502
2018-05-21 15:00:47 +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