Commit Graph

152 Commits

Author SHA1 Message Date
4c1adc4d47 Move engine limits to the core dir
Related-To: NEO-3677

Change-Id: Ib36d24e8e6f0605033cfbc79afea45e85a058aad
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-09 12:30:59 +02:00
7c35ac19a3 Property that allows UB-san to continue on fail
Change-Id: I0c0193985fcfedc782e638cc1b04c39c13cde1d1
2019-09-08 23:02:21 +02:00
c3a54dd5ad Remove OCL object from MemoryProperties 1/n
Create struct MemoryPropertiesFlags and helper for it

Related-To: NEO-3132
Change-Id: If303a563d7dbae8cf897aa8182b9caab08593c75
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-08-09 08:47:54 +02:00
203d94d28f add cmake flag to disable libva detection
Change-Id: If5dc29d3c16a5ebf6285f34ee4c3847635751634
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-08-05 14:01:50 +02:00
f04f28eeab Remove LIBDRM_DIR flag
Resolves: NEO-3529

Change-Id: Ibe410d2e6f94188a21a01501a2d1e5b15a411c2e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-08-01 15:32:17 +02:00
2ea9bace60 Force 64 bit toolset for MSVC.
Change-Id: Icd8db90d9ee99e93edbe273a16ae270c30dca7cd
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-07-30 09:06:02 +02:00
2cec1869fd Add NEO core directory to CMAKE.
Change-Id: I3e645b2f18207738db5d41ac0c3c781e6d61db8a
2019-07-15 09:21:37 +02:00
bb5f6bf4b1 Built-in kernels refactor
Related-To: NEO-3220

Change-Id: I6625539554b56999a6a810e7be8e89435d1aef11
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-07-12 13:17:59 +02:00
5814a9613a Correct instrumentation include paths
Change-Id: I5c9c1f59c9af48574eb48a2b92629a8c971e6d5c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-07-09 08:02:06 +02:00
bcde88e14f Allow disabling pdb generation
Change-Id: I2c4554030062e8e3bc373187bef22ec02eecb903
2019-07-04 21:01:22 +02:00
fac8c94c1e Revert "Built-in kernels refactor"
This reverts commit 40b00c7e8a.

Change-Id: I8c13be5134c051272db1fe1b7b15764cf8ad6953
2019-07-04 16:33:01 +02:00
d1d794c658 Metrics Library Performance Counters implementation.
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com>
Change-Id: I0f00dca1892f4857baaebc75ba2208a4f33db1bf
2019-07-04 15:56:47 +02:00
0b3caec515 ocloc - additional search path for IGA
Change-Id: I43c213cd70083221af493e329e414d49e69bb706
2019-07-04 11:36:22 +02:00
4e9b7b1fe5 cmake: make messages to be consistent
Change-Id: I168977998a24f7b20eb5bb1ded9ae60e18b93e3b
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-07-03 23:19:23 +02:00
40b00c7e8a Built-in kernels refactor
Related-To: NEO-3220

Change-Id: I4a44a71fe30abd38409de7e9741a3b389b967612
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-07-03 14:58:32 +02:00
ee46ac1ab8 cmake: allow to disable package target
set cmake option: -DNEO_BUILD_PACKAGE=FALSE to disable CPack usage which
will remove target package. Option is set to TRUE if not specified
externally.

Change-Id: I6bcc81c8a0f85dbbd82ddaf66f4d4bc628ca04da
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-07-01 12:30:48 +02:00
2f42f332d8 Adding support for kernel disasm using IGA
Change-Id: Ic75540c9b42913f5d12d66438cc4e6dcc39ceb98
2019-06-28 12:18:20 +02:00
971eb7a1b4 Add initial implementation of specialization constants
Related-To: NEO-2260

Change-Id: Ib722109039555a028eb4ec0862e9de72342f9730
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-06-18 09:39:32 +02:00
337e4e5a54 Set-up default project name
Change-Id: I45feb5c4e4086932eccad9af211932d611bb39be
2019-06-10 08:00:58 +02:00
fd02dcb0c0 Allow cmake custom configs
Change-Id: I7027c1bd3c228b5e4fc3c98b1d72737f568ae815
2019-06-08 20:43:00 +02:00
cbff467d6a Add Flags to top level CMake
Change-Id: Iee2be4323320998026a55939b2aa6155bd0b80f9
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-06-07 16:43:31 +02:00
730e88ac70 Add all subdirs in top level CMake
Change-Id: Ic21674475649c44e1f8861944cda7c03c7413f64
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-06-05 20:10:03 +02:00
06bac437cb Dont add all subdirs in top level CMake
Change-Id: Idc59ab6a3b3d9e5e073ab3cfeb9105978f1c70f2
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-06-04 09:49:13 +02:00
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
0c22cdfb74 Add all subdirs to build directory
Change-Id: I27bf5e6644a0590bc932c0561e365a0684029c67
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-05-15 19:02:34 +02:00
b8fb5e683b Move basic_math.h and vec.h to core directory
Change-Id: I143b7af450ff48d4958b4bc7137b393a2dc0eb64
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-05-14 21:32:55 +02:00
be82985f12 Spectre mitigation for gcc and clang
Resolves: NEO-3038
https://github.com/intel/compute-runtime/pull/159

Change-Id: If464949242afa6fbca85a0533eb874f276164646
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-04-17 15:49:27 +02:00
e614578b93 Add support for precompiled header for gcc and clang
Resolves: NEO-2644

Change-Id: I1fff804c11b3e34fe293b36083f9d73494a0dfc8
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-04-16 11:18:57 +02:00
8219cfa000 Allow adding resource file to specify details of dll file
Change-Id: I1b10b410f800b8cb3a0b914fb278dfce794ef3c4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-04-16 09:11:36 +02:00
22be2f677d add RTLD_DEEPBIND flag for dlopen
- flag is disabled when any sanitizer is enabled

Related-To: NEO-2728

Change-Id: I6eb507b61876c8931095afc9760dd5760183e65a
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-04-11 13:08:46 +02:00
d574d2be5a Disable generating manifest for VS
Related-To: NEO-3040

Change-Id: I7fc8782c416eb70b84593f77cf444393b06e2984
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-05 16:18:58 +02:00
74a02adabe Spectre mitigation.
Change-Id: I70aec73e7c3f6e7bfbc4042142ce8a5ec33e51b6
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2019-03-27 15:58:38 +01:00
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
22c3c10679 Fix typos.
Change-Id: Ib0f12d3391c03a2deed9ce57bdaba03034fb6238
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-21 11:01:26 +01:00
16e1a05375 Test for DrmMemoryManager allocateGraphicsMemoryInDevicePool
Change-Id: If04321fc1045d01c0001e27eed8b2a128b830f25
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-14 19:25:15 +01:00
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
467dc6d06c Disable APPVERIFIER by default
Change-Id: Ia77fb22676d5231a7b4350857b60e8370ac3cd69
2019-02-20 22:38:39 +01:00
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
05d02a6fe7 Change DevicesBitfield type to struct
Change-Id: I7a005b07737cdd21efc174a2ee2be0f6b7f9068d
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-02-18 13:57:50 +01:00
9af011809f Make HeapIndex and GraphicsAllocation::origin not specific to Windows.
Change-Id: Ie5a26b45c0b5eff0daf047361d8c992bd3c65ba7
2019-02-18 08:47:49 +01:00
46225890a9 Re-enable AubStream if AUB_STREAM_DIR set.
Change-Id: I5fee87281a434ae77e0df98aad31b462d0c5b6eb
Signed-off-by: Brandon Fliflet <brandon.fliflet@intel.com>
2019-02-14 14:11:33 +01:00
e8771e8c2a Preparing the correct signature of WaitForSynchronizationObject
Change-Id: I3689791ab0335009d79a3484379945f8741ba32b
2019-02-08 14:38:31 +01:00
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
bc62b385a0 Allow to disable AubStream
Change-Id: I442e0f14d65099d245b54ec29cb3c7c7098f6cef
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-07 12:23:12 +01:00
15d6b24ede Fix for including CMake in another project
Change-Id: I1462a4bab8cd5fbf9f529e4ccc355000b10ed026
2019-01-25 06:21:26 -08:00
287c9e8f6a Enable FASTLINK for MSVC debug builds on demand
Change-Id: I9aecaacf48fdcc486d5bb3c29b9ceb53c4fea261
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-01-25 10:45:59 +01:00
21f855b719 AubStream update (1/n)
Change-Id: I6579e7af2015493490c5edcc413dcb2e6c804b9f
2019-01-22 12:19:21 +01:00
2304f0eb80 cmake: Fix handing of multi-configuration generator
Change-Id: I7f8747bf07c224f464728812052889f8124fddc4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-01-21 16:40:00 +01:00
4284217dea on Linux detect gmmlib using pkg-config only
Change-Id: If2c4350ff9e92ec5dd6b9588a00906aecae62575
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-29 09:24:52 +01:00
3b8ff44d55 AUB CSR with a separate function to write memory
Move common code related to writing memory to dedicated function

Change-Id: I4ac8ec779cb40146bd27b8e40728d81d3b5b4276
2018-11-26 20:21:19 -08:00