Artur Harasimiuk
60b6a3b54c
infrastructure update
...
Change-Id: I458dd8652707f96f46eabcf47373293753a39b07
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-03-20 19:09:05 +01:00
Dunajski, Bartosz
7f2bf217f1
Refactor DeviceFactory::getDevices
...
Change-Id: If3b20cc8ed74bdb1c32ae17c23374b7c267933a3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-20 15:25:36 +01:00
Mateusz Hoppe
432591a88a
Adding MemoryInfo to Drm
...
- call queryMemoryInfo on Drm::create()
Change-Id: Ib0532894f271bd4ab3dcbb281d0bddf2a01d4afe
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-20 15:04:43 +01:00
Dunajski, Bartosz
a7d66b0365
Improve clGetDeviceIDs
...
Change-Id: If7df41e0c2bae5c615f6fea286baf5d7e740cfc7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-20 14:54:21 +01:00
Jacek Danecki
904c158377
Add build with clang-7 on Travis
...
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
https://github.com/intel/compute-runtime/pull/147
Change-Id: Id0874d340e0b63eaa1b4c756d7c188fef8aa6483
2019-03-20 14:31:13 +01:00
Jacek Danecki
ff5e636fc2
Add builds with gcc-5 on Travis
...
Build on Ubuntu 16.04 and 18.04
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
https://github.com/intel/compute-runtime/pull/145
Change-Id: Ie973a5e3108ebde159f242a364dba1b0bed6f772
2019-03-20 14:26:44 +01:00
Piotr Fusik
db9afd06cd
Remove EngineInstanceT.
...
Change-Id: I08543b5f4ef5e91e6beb8390d448e53702cd9dac
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-20 10:56:22 +01:00
Mateusz Hoppe
832c620dc1
Return error code from handleRemainingRequests
...
Change-Id: Iea47322546f86870720a7ede553a6dd45cb09908
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-20 10:03:34 +01:00
Piotr Fusik
ddfb8a3ded
Remove engineInfoTable.
...
Change-Id: Ibf614a2182485c46d826cf35bd5a83f8a767b4bb
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-20 08:55:22 +01:00
Mateusz Jablonski
5367440fab
Refactor Wddm map gpu address method
...
Change-Id: I9d3d8675bf80af4079e25b84ba6e09b7883c9e28
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-20 08:40:47 +01:00
Dunajski, Bartosz
62ae7adf1a
Copy SkuTable and WaTable in mock gdi
...
Change-Id: Ic9af8222c39412737c59e17aaa6f34f0f43d9ee8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-20 08:06:34 +01:00
Dmitry Rogozhkin
d9d55e9a4d
Avoid false-positive memory leak on reassign of global var
...
We can step into false-positive memory leak if we reassign global variables
which assume memory allocations, for example std::string. Our unit tests has
embedded memory leak detector which gets inited/destroyed somewhere in the
middle of the test run. Hence allocations/deallocations done before/after its
active livetime will be transparent for it.
This particular case reassigned std::string global variable to the same value.
Apperantly my version of libstdc++ (the one on CentOS 7) did not recognize
that input/output string size is actually the same.
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
https://github.com/intel/compute-runtime/pull/144
Change-Id: Iaab42588f59691d3085a4f8879d902076dcee0fb
2019-03-20 07:49:02 +01:00
Milczarek, Slawomir
6919a63b51
AUB dump with HW mode to make command buffer resident
...
Change-Id: Iab8aff75500bd804ea1002fd821d3540dca57b09
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-19 19:08:29 +01:00
Mateusz Jablonski
e5a40502aa
Release memory when allocation created from shared handle fails on map call
...
Change-Id: Ic2745c32f54ea9a0418ebb4d29cc41f84deb247d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-19 15:42:20 +01:00
Adam Cetnerowski
cacab6b1bc
Expose cl_khr_spirv_no_integer_wrap_decoration extension
...
Change-Id: If64a6e86386064ec659b1870dd7fe0c4b00333e9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-03-19 15:33:23 +01:00
Piotr Fusik
8c95b45e2f
Remove engineIndex.
...
Change-Id: I58f7cf2c394686409dc45e315d1b5af33db2a28e
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-19 15:26:49 +01:00
Kamil Diedrich
d27b5b59aa
Add obtainRenderBufferCompressionPreference function
...
Change-Id: I0413a1d754c5ffccb28c8c5432d0149f0757e98e
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2019-03-19 15:10:59 +01:00
Dunajski, Bartosz
a25cca2099
Move Device helpers to namespace
...
Change-Id: Id7aa7b7e490c5ae87a517b3e0be16292a7de9a93
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-19 15:01:34 +01:00
Filip Hazubski
01ff1accfa
Refactor queue extra properties validation
...
Change-Id: If95190159b3885653507c0ffc243d8b45aaa6cc7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-19 12:27:52 +01:00
Mrozek, Michal
f0f0151736
Update infrastructure.
...
Change-Id: Ic11d8488e59ebad9d8f093b72f15770336e06ba8
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-03-19 11:11:15 +01:00
Venevtsev, Igor
ddf3aa186d
Use HEAP_STANDARD for Limited-range allocations
...
Change-Id: I8b35cda2b5542e98a83021b4ce1c9f5118e6697d
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-03-19 10:18:21 +01:00
Milczarek, Slawomir
a3369a9679
AUB dump with HW mode to call pollForCompletion
...
Change-Id: I9a4345c47394f19ecc63e2d598266e0889a6f8f0
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-18 17:59:05 +01:00
Zbigniew Zdanowicz
b1d82cd87e
Add Local memory to MemoryPool
...
Change-Id: I908d4d99b53ed3ab959bbdc094cc1ae7bdfe2971
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-03-18 16:18:21 +01:00
Venevtsev, Igor
3c1bb4a3f8
ptrOffset and ptrDiff do not truncate uint64_t to uintptr_t
...
Change-Id: I0dcaf058ae3244ca0168580d972a19f9e4692e05
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-03-18 16:01:06 +01:00
Mateusz Jablonski
233e3d762b
Add functionality to exclude specific product from HW_TEST_F
...
Change-Id: I4707e8d8b28375e180e9229791d605d4fc11ad42
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-18 15:18:12 +01:00
Piotr Fusik
429487fad0
Add constructor parameter to select low priority context.
...
Change-Id: Ieb3fa008a2f1b54052e393516038c88f00944fa0
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-18 15:09:59 +01:00
ocldev
fa713b4e70
dependencies update
...
Change-Id: I654ebe6acba9cafbc827925cf9eeff54585997a7
2019-03-18 14:16:44 +01:00
Filip Hazubski
751740d987
Fix memory flags validation for Images
...
HostPtr flags are never accepted when parent memory object is provided
Change-Id: If1d55e0456d6ab8605dbae5476780c2cb5f811ca
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-18 13:50:05 +01:00
Dmitry Rogozhkin
7a7bb50328
Fix queue casts which cause spirv to die with assert
...
Fixes : intel/opencl-clang#46
This fixes ocloc build of scheduler.cl which dies with assert from spirv:
SPIRV-LLVM-Translator/lib/SPIRV/SPIRVWriter.cpp:685
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
https://github.com/intel/compute-runtime/pull/143
Change-Id: I5c9d4a75321008802b9d77ef4a6bad3812e1b8b4
2019-03-18 13:30:37 +01:00
Mateusz Jablonski
13f9f3a929
Prepare for refactor map methods of wddm
...
Change-Id: I33249d9a097d717ab2eb5801eaa17154f68ffdce
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-18 13:26:28 +01:00
Mateusz Jablonski
519514cf2e
Don't use GMM_RESOURCE_USAGE_OCL_BUFFER_CONST policy
...
Change-Id: I4c09f9b2d5c1a1f178746940426e29a564a896ae
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-18 07:29:33 +01:00
Dunajski, Bartosz
bbac4dea6f
Manifest update
...
Change-Id: Ie30fb068de9b8f5cfe7e25ffd21b8f30f47b318b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-17 19:48:16 +01:00
Milczarek, Slawomir
49c428d1ff
AUB allocation dumps with pollForCompletion
...
Change-Id: I610a56d7b8d1b6f1f0d6029ce6d2e62742885698
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-15 16:13:31 +01:00
Hazubski
cb3ee6e8d2
Update memory flags validation for Images
...
Change-Id: Ifc8b50301cd82bd7e9c83da626a02dbc1643e0b0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-15 11:31:32 +01:00
Jablonski, Mateusz
82ec564ca2
Manifest update
...
Change-Id: I7861c9d649ae525e627b1fbd5ec8f2591ede498e
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-03-15 10:11:25 +01:00
ocldev
d3b5bb2e74
igc revision update
...
Change-Id: I40ccc5ae91753036dce61a8bfb37ac9e4438a664
2019-03-15 09:30:22 +01:00
Maciej Dziuban
8742b91439
Internal update
...
Change-Id: Ic56286619cc4de70b45d5a104af0d1734ce0e1e5
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-15 08:55:42 +01:00
Zbigniew Zdanowicz
8e743cc1bd
Refactor Wddm interface of mapping GPU VA
...
Change-Id: Ic807dfb17fd0ab664af281db757e48b0cc424fcb
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-03-15 07:50:53 +01:00
Mateusz Hoppe
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
Maciej Dziuban
38aa884edd
Select GMM_RESOURCE_USAGE_OCL_BUFFER_CONST policy for read-only OCL buffers
...
Change-Id: I338d1a1cf90c5b48009357d79b036d6d50e54b4a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-14 16:09:27 +01:00
Zbigniew Zdanowicz
cdb52400c4
Add new functions reserving address range to Memory Manager
...
Change-Id: I947203c24495c9e5a206b95bb0c69440824586b6
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-03-14 15:06:11 +01:00
Milczarek, Slawomir
669d19297c
Extended criteria for writable buffer with other buffer types
...
Change-Id: I1911bb87b115a517938ef4d4ca5ae66d2d98e178
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-14 11:07:14 +01:00
Dongwon Kim
8cc90014a6
realAllocationSize for keeping actual GPU allocation Size
...
Change-Id: I3e00a556f25d3c147335420d887d7dcee737dbac
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
2019-03-14 09:51:40 +01:00
Piotr Fusik
25e6494443
Use std::bitset for deviceBitfield.
...
Change-Id: I9078ffbb38967b753980cb1c5ebcab00f5292598
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-14 08:36:01 +01:00
Jacek Danecki
4997dffcf8
fix compilation on clang 4 and clang 5
...
https://github.com/intel/compute-runtime/pull/142
Change-Id: I1a4fecd3dd6dd4739d352f7b811b95403fe68951
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-03-13 19:51:30 +01:00
Mateusz Jablonski
395e79fee8
Add support for many GMMs in Graphics Allocation
...
Change-Id: I955b8dd50b502f91700c5529d0a0a291632aa157
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-13 15:44:45 +01:00
Filip Hazubski
40541e4faa
Update Image compression
...
Change-Id: I3a15dba343a80716b57cdda6b74f2142814021f3
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-13 13:59:50 +01:00
Koska, Andrzej
fcdfcb3fc4
Pass enqueued values to enqueueHandler
...
Change-Id: I991818657c7cafaf8911ce711a87a6c7b4531517
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
2019-03-13 11:23:37 +01:00
Filip Hazubski
01c11fdf98
Fix typo in variable name
...
Change-Id: I693e73d7fcb7c586506d3e102b77b95a0a0d3783
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-13 09:23:28 +01:00
Mateusz Hoppe
a2835490b1
Support for handling remaining ioctl requests in DrmMock
...
Change-Id: I5672bcaa746f70c77be85a47e0dcaf59aec6023d
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-13 04:54:35 +01:00