Commit Graph

939 Commits

Author SHA1 Message Date
Mateusz Jablonski
a906ddaa66 Make gmm client context non-static member
Construct platform and initialize gmm in each test

Change-Id: I4f209369e77213420308f31f911b7a569ea93283
2018-07-27 00:16:30 +02:00
Mateusz Jablonski
7423919629 Unit tests: fix message in case of memory leak
Change-Id: I47f4acee7f026e54ec2112f8a4b571c8bfa00de8
2018-07-26 19:45:44 +02:00
Jacek Danecki
fccc5242c2 ci: add build using IGC from ppa on Ubuntu 16.04
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/65

Change-Id: I5d23a33b63cd7aa0db8d1e67fdae86aae3daba5d
2018-07-26 19:39:15 +02:00
Maciej Plewka
aa7662e8b4 Pass info betwean gtpin and igc
Change-Id: I1da3089ba816298b43e493304612fac6a4a10851
2018-07-26 19:25:52 +02:00
Mateusz Jablonski
98061903aa Remove device helper
Change-Id: Ie66c029359a62b81c8658d804dcf8565647100f1
2018-07-26 14:10:05 +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
ocldev
6e03446a22 igc revision update
Change-Id: I55c97000749353942882c1bc1abab3256780ca25
2018-07-25 13:09:43 +02:00
Hoppe, Mateusz
03bad96877 Add failInAllocateWithSizeAndAlignment flag to MockMemoryManager
Change-Id: Iee6a5ec468a905e065645dbf2ae8b9521c0b04d9
2018-07-25 10:47:09 +02:00
Jobczyk, Lukasz
eebb919c18 Move SourceLevelDebugger ownership to execution environment
Change-Id: I7fc6fd1cde2e450dbd41a164f915373e80a4aaf8
2018-07-25 10:32:29 +02:00
Jacek Danecki
6112ce4e8f ci: enable all copr repositories
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/64

Change-Id: I08afc886bd6c4edc1cc350a8541649ebb9db43c2
2018-07-25 08:33:26 +02:00
Hoppe, Mateusz
229d1ad794 Merge two MockMemoryManager classes to a single one
Change-Id: I4b994b21a2423f1f3c077e847483766798c8d7f9
18.30.11148
2018-07-24 16:48:03 +02:00
Jacek Danecki
ff9b36bca3 ci: switch from staging to experimental copr repositories
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/63

Change-Id: Ic4e6cca2e4d040129e2220c6a85d3fd3e742299e
2018-07-24 15:40:54 +02:00
Dunajski, Bartosz
579367fe4a Enqueue write buffer instead of memcpy for renderCompressed allocation
Change-Id: I5505add129e08537fc0009b12228a446aa732645
2018-07-24 15:19:41 +02:00
Hoppe, Mateusz
c61364bd3f Fix MemoryManager tests
- move one test to cpp file
- do not expect allocation in specific pool when it can be created
in any pool

Change-Id: I42528a012e8eb12c550e81c23e14a0a7a6e33174
2018-07-24 13:24:21 +02:00
Mateusz Jablonski
6618a35126 Remove static gmmlib support on Windows
Change-Id: I9e52f11b196ef9364b710766d9dd302e4dc0cc64
2018-07-24 10:02:03 +02:00
Dunajski, Bartosz
3a807d5643 Render compressed buffer creation flow
Change-Id: I58b7f7eb3b69afcb78c6ab3de1f6fb7524d33f13
2018-07-23 15:29:47 +02:00
Kamil Diedrich
142e52224d Upgrade c++ version with 14
Change-Id: Idbb80f1208a06dfbf91f6214929719833a622004
2018-07-23 13:53:54 +02:00
Mateusz Jablonski
ab7920ba14 Gmm Memory: initialize client context in constructor
Change-Id: Iaaa40f5485faceb022e018be7930777e14575b46
2018-07-23 12:27:03 +02:00
Hoppe, Mateusz
d80334a534 Add overrideMemoryPool to mock GraphicsAllocation
Change-Id: Ief0cc99a93ae93ec5a6d07a1259ae51e659a954c
2018-07-23 12:19:42 +02:00
Dunajski, Bartosz
512978768e Pass renderCompressed information to GMM for 64kb allocations
Change-Id: I56302055c028e919bceeb3333557cab7451e1d09
2018-07-23 11:28:43 +02:00
Mateusz Jablonski
8537c7f42f Use types of gmm dll functions in gmm interfaces
Change-Id: I91bd9563abbcde32a0c88066a2f6747c1d5abc81
2018-07-23 10:07:27 +02:00
Mateusz Jablonski
8ed9991910 Remove not used function, unify gmm interface filenames
Change-Id: I017697ec4076ddd47f2039f71805a895d687c8a9
2018-07-23 09:09:47 +02:00
Chodor, Jaroslaw
44589b79b4 Fix for spirv regression - preserve IR type
Preserve IR type during Program::compile when program
is created from IR

Change-Id: I9ee12b27e52fa72a1abbfa070895caf0ac3e32fb
2018-07-20 16:54:36 +02:00
Pawel Wilma
2561ff6cb4 Add test fixture for image clear color
Change-Id: I34148f8ab8ec6e2620372bcf02414bf5e5783d2e
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-07-20 16:07:29 +02:00
Mateusz Jablonski
56557ca3a3 Unit tests: Initialize gmm before wddm initialization
Change-Id: I751bd93248aa78731b9591f494eafcd12d3e6d82
2018-07-20 15:47:15 +02:00
Mrozek, Michal
70b1745c7a Remove duplication from aub command stream receiver tests.
Change-Id: I53e4eda003f2d8f9b3669e1aeb4da940c3ab34e4
2018-07-20 14:21:12 +02:00
Hoppe, Mateusz
f125c8ff45 Add allocateGraphicsMemoryInDevicePool
- do not always expect failures in tests with failure injections
there is retry mechanism for some cases

Change-Id: If7589d2dacc41216d2f3b08f861209bbab179615
2018-07-20 13:00:00 +02:00
mplewka
1afc09bc05 Fix handling null resource from gtpin
Change-Id: I2e6a0992f9c0d672cb42724f2bb1a698b3ba2861
2018-07-20 12:26:12 +02:00
Mrozek, Michal
366a12e3ce Move setting external memory managers to mock layers.
Change-Id: I335fd35269da9093c9e744c2735215e8d561098c
2018-07-20 12:09:48 +02:00
Dunajski, Bartosz
239ebf9eab Improve AllocationType operations: dont do bit operations on enums
Change-Id: Ie70ca9e2a93ec80b1cd655bad622db9e12abb7f7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-07-20 09:12:58 +02:00
Mrozek, Michal
f487ce11a2 Limit device usage in memory manager.
Change-Id: I488574dc2b2878b640f0bac2b23bd9a6a265f0e2
2018-07-19 18:27:42 +02:00
Mrozek, Michal
2a1feaffe9 Initialize stack variables.
Change-Id: I3fda7163cb649fe4754c46d83c641921593e1823
2018-07-19 16:19:17 +02:00
Mrozek, Michal
224d513c3b Remove redundant cast.
Change-Id: Ic1b2b247645efbde1351efc6a20f91e5c39b398f
2018-07-19 16:05:27 +02:00
Zdanowicz, Zbigniew
acf86d9cef Add appendParameters method for STATE_BASE_ADDRESS programming
Change-Id: I70be90d26ec6c2c19558a7e58375b635fd4210dc
2018-07-19 15:59:05 +02:00
Mrozek, Michal
3817857276 Remove redundant cast.
Change-Id: I3eb79be6a25abbaf0327458384e0e180d5b52ab5
2018-07-19 15:38:46 +02:00
Stefanowski, Adam
623314665b Set valid "max number of threads" in MEDIA_VFE_STATE
Change-Id: Icd55fe6b5cae5a92021d2692fe09c19535e64121
2018-07-19 15:17:17 +02:00
Mateusz Jablonski
49d5ebef0d Simplify definition of I915 include path
Change-Id: Ic682452b399b6fd50e10af07b83eaa6730407214
2018-07-19 11:15:01 +02:00
Mateusz Jablonski
96e3163386 Prepare to use gmm dynamic lib on Linux
Change-Id: Ie1b0c8fe13c4e044f1f2b0651349840d2850f423
2018-07-19 01:04:52 +02:00
Dunajski, Bartosz
1c0f90b194 Improve renderCompressed flags usage
Change-Id: Ib5fd8e078dba0f19dd65bc8cdc6cded771e559a2
2018-07-18 19:55:52 +02:00
Mateusz Jablonski
d683467708 Infrastructure update
Change-Id: Icf710225d1c1a9aecbb786c2e79a7132a4684fa5
18.29.11114
2018-07-18 17:02:14 +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
Mrozek, Michal
30777275d4 Initialize local variable.
Change-Id: I9ed48df63e137b2a81db3873e3cd3c27bedc366a
2018-07-18 12:34:38 +02:00
Mateusz Jablonski
3b0292ae0d Do not set up fixtures when product mismatch
Change-Id: Idc831a6d87dba6cbe2822531a2701a9fbdd409df
2018-07-18 12:06:47 +02:00
Mrozek, Michal
55d155d1af Update infrastructure.
Change-Id: I9f850314d794d311680898391e95a89429717eb9
2018-07-18 11:32:40 +02:00
Mrozek, Michal
b0afceabaf Initialize stack variables.
Change-Id: Ic11d54c540a9fa7fa3489a0858cbd9371e586a94
2018-07-18 10:29:43 +02:00
Mrozek, Michal
b85c3f52ce Update Infrastructure.
Change-Id: I02e6cc5edaf6f6e25876f6cd31388f97fa96e1f8
2018-07-18 07:42:34 +02:00
Hoppe, Mateusz
407227959a Add memoryPool to GraphicsAllocation
- new ExtendableEnum struct that serves as enum but can
be extended with values
- decrease dependencies on graphics_allocation.h header -
 use forward class declaration when possible
- memoryPool indicates what kind of memory is allocated
for a given GraphicsAllocation

Change-Id: I7a707c28dc4544cc73abc5f0ed5263ba5be17452
2018-07-17 20:10:33 +02:00
Dunajski, Bartosz
4a6be207cd New patch token for pure stateful buffer access
Change-Id: I90589a1cc3c3fa3608e7a5da438660ed85efcffa
2018-07-17 19:55:16 +02:00
Mrozek, Michal
d2e820aac8 Enhance validation in sharing scenarios.
Change-Id: I590c5d66602749fb5702e414ccf2b1acec3bc9e7
2018-07-17 19:47:54 +02:00
Mrozek, Michal
f4222785ee Initialize stack variables.
Change-Id: I9478c73ddebe13eea4277f7c45d0228a12aa7487
2018-07-17 19:36:05 +02:00