7b68579e34
Rename ULT L3Helper to UnitTestHelper
...
Change-Id: If922192560b8b51bc1296f8b034abfadbaa556b6
2018-08-21 17:38:27 +02:00
d2759a0629
Move CompilerInterface to ExecutionEnvironment
...
Change-Id: I14afdd8fc41ecd4ac8c8fcbeecda2539bc847288
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-21 15:30:15 +02:00
931b462ee1
Disable NonAux to Aux translation for Parent Kernel
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Change-Id: I863608fe3652e7e777a1e841d79b5b56e7362a3f
2018-08-21 15:12:25 +02:00
e84ea0ffa0
Fix for SKIP_UNIT_TESTS
...
Change-Id: I4eae4a91443f043c57b68bda5882d40e0d333e12
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-08-21 14:53:13 +02:00
69fea5cc7c
gmmlib revision update
...
Change-Id: Ic534e2c42e3c449afa29b5df1f2975f830f54415
2018-08-21 14:18:07 +02:00
9f16c3682c
update spec file source
...
Use pattern:
https://github.com/intel/compute-runtime/archive/%{neo_commit_id}.tar.gz
instead of adding neo.tar.gz at the end.
Change-Id: I8d45a535c04d92f7c55ab3181eedeb6704d20e46
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-08-21 11:41:56 +02:00
7afba8d50b
Cleanup after adding new local ids layout for images
...
- Apply layout for images only when Z size is equal to 1
- Fix generating local ids for local workgroup size
when any size is not power of 2
- Revert commit c53c09da45
Change-Id: Ie745782fafce2facbd877e3e33e4ba347cb2b09e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-08-21 11:27:30 +02:00
23d66b6984
Add dedicated method for getting hint for AubDump memory write
...
Change-Id: I5282d3004e61dde4bda1fd0e0c1acf9fe94caca0
2018-08-21 10:28:59 +02:00
393c2219c9
Add device callback for GMM library to notify AUB subcapture
...
This commit adds a new callback to be called by GMM library
when it allocates/deallocates compressed resources to collect data
about their addresses and sizes and handle their AUB residency.
Change-Id: I075d3ff4cb049cfe626da82892069c4460ea585c
2018-08-20 14:38:42 +02:00
044255e9bd
Pick Main Kernel for LWS and numWG in dispatchWalker()
...
Change-Id: I4fd0746ec77890ceacbf333966bb00a4ea99b186
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-08-20 13:51:35 +02:00
1ad70dfebe
Decouple memory manager and device
...
Change-Id: Ia64cc955e1d290cad4c50b6a2a41052d9acf0eec
2018-08-20 13:44:31 +02:00
a30d6d66ca
Internal update
...
Change-Id: I505e4972b7d56c689ef1a890543b07415165ac95
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-08-20 11:38:03 +02:00
31cb50db96
igc revision update
...
Change-Id: I1cabe4307a504deb24a06fcaf719b85cc6757127
2018-08-20 11:16:30 +02:00
c7c2e7b83d
Limit the amount of memory allocations in tests.
...
Change-Id: Ia41cde4fe4a42d6a586faa265aba295e61ba7d15
2018-08-20 11:01:49 +02:00
1dcec9e23a
Error handling improvement
...
Change-Id: I5e35bff508c45993be03bc946ddebfb698a0c638
2018-08-20 10:54:28 +02:00
56562963ef
Pick main Kernel for PrintfHandler and AubSubCapture
...
Change-Id: I9ff3bdaa5da82e162642deeaf4a8e0821ff00da2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-08-20 10:06:00 +02:00
64dbdf1556
Do not allocate 100MB in test.
...
Change-Id: Iac4f443ad2c0318bb2cdc42b037b96efff32c67a
2018-08-17 17:12:45 +02:00
a62fa5c7b8
cmake: add option to skip ULTs compilation and execution
...
Change-Id: I8917b49df503666fe564706b34e0dbd93c695d4d
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-08-17 15:44:57 +02:00
0723455cb5
Add localMemorySupported flag to HardwareCapabilities
...
Change-Id: Ie57aa6418eecdd288001ded2605c731dd61b9879
2018-08-17 15:22:08 +02:00
17de60254a
ELF reader refactor
...
Change-Id: I326747237ba605f338d3f2c91a6b682db8b75af5
2018-08-17 13:57:41 +02:00
c7a49666d5
Refactor querying Main and Parent Kernel from MultiDispatchInfo
...
Change-Id: I723d91f2f445bc7af1bcb0de46f8ac07837f3449
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-08-17 13:51:32 +02:00
58b85e19af
Refactor HelloWorldFixture in AUB tests
...
- use Buffers and cpuAddressForMapping instead of raw cpu pointers
Change-Id: Idfa80a7f70dc2478edd322ae090e6a0e22ab20e2
2018-08-17 13:12:16 +02:00
01ec633182
improve custom event listener error reporting
...
During multi process test execution it may be difficult to propery read
output from tests. Output lines maybe mixed so determining things like
hardware or random seed becomes difficult.
This change adds extra data to output:
[ FAILED ][ BDW ][ 35357 ] <test name>
[ FAILED ][ BDW ][ 35358 ] <test name>
From this we can easily find that test failed on BDW with
gtest_seed=35357 and 35358.
Change-Id: I21e0767162d390f56dd270b1ba8650664c3898b5
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-08-17 12:57:29 +02:00
a9da118e11
Support gtpin when gtpin headers dir exists
...
Change-Id: Ib61ba3280d4780d13bef511ff10ba6c7e3ac6c9e
2018-08-17 01:48:37 -07:00
0f8158069f
Fill memory managements structures only when fixture is active.
...
Change-Id: I22018f9edd50b40c190c9f15ee6f5819c5e09247
2018-08-17 09:13:00 +02:00
55901f3609
Remove unused methods and code.
...
Change-Id: Ie6d15e6f56383e491240b4868f4746aee5fa8ddc
18.33.11309
2018-08-16 17:00:04 +02:00
524737af39
Add executionEnvironment field to Program
...
Change-Id: Id624177aa3f0b5525bac86e2e0a935ebaf53480e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-16 16:52:41 +02:00
956ee41c71
Fix including gtpin headers
...
Change-Id: I6b39bee0398a74671b91a6109c7c390273decf54
2018-08-16 15:14:59 +02:00
5b37dc1c91
Add ExecutionEnvironment parameter to Program::createFromGenBinary
...
Change-Id: I825c29d8c885d986d54d716ea72f19e70b3b11c6
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-16 13:56:36 +02:00
01dae21b69
Add missing braces for std::array
...
Change-Id: I5dee5ff547b3c0c61579d526dd9e0d6d7d3b2dd1
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-08-16 12:45:19 +02:00
c53c09da45
Limit local work sizes where local ids limit is applied.
...
Change-Id: Id9a84d6a7d4530344771f48fd278cff9ab2dd927
2018-08-16 12:34:09 +02:00
5e9066170d
Change include location of gtpin headers
...
Change-Id: Idd1e85b1946bad3af950cb9041d25ff5bc1aaf03
2018-08-16 12:06:22 +02:00
931ed38a57
[3/n] Wddm Cleanup.
...
- remove different flavors of Wddm
- rename files for better meaning
- remove unnecessary files
- remove unnecessary methods
Change-Id: I73a35e186a9a99169260bb157958ff795b36e20d
2018-08-16 10:07:24 +02:00
077134faf4
Add debug flag to loop at initialize.
...
- This is to help debugging applications that requires attaching to them.
Change-Id: Ia7923c231b925ab9a473a70fb5fcc13fd99db1ca
2018-08-16 09:57:49 +02:00
404c0cccb9
In Kernel::resolveArgs, use argument's object, not value
...
Change-Id: I65a1855349707d06172b2e0d4ad97dd9f4554c25
2018-08-14 17:25:49 +02:00
70d5113d6b
dependencies update
...
Change-Id: Ia599a4313da6f3de014c2326e406a0f15a01b1c3
2018-08-14 15:49:40 +02:00
3469539798
Remove UNRECOVERABLE_IF from setArgBuffer
...
Change-Id: I7cddad0fc902489139b26e655cb301de0dda422c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-08-14 15:21:53 +02:00
5be98e2e0f
Fix VA sharing scenario
...
- make createGraphicsAllocationFromSharedHandle and
freeGraphicsMemory more threadsafe - there was race condition
where one thread called PRIME_FD_TO_HANDLE ioctl when the other just
closed the last handle with GEM_CLOSE ioctl. This led to situation
where newly acquired handle from PRIME_FD_TO_HANDLE was already invalid
and used in exec.
- adding mutex for the time of accessing shared handles container
and ioctls (GEM_CLOSE and PRIME_FD_TO_HANDLE) resolves racing problem
Change-Id: I8417a036a1429be8f1ba97e63ebdda2707960564
2018-08-14 15:00:16 +02:00
6c521a7936
Mock method for reading elf binary file
...
Change-Id: Ifda051bf93fca6b63c6e99ab9e91740c5049504c
2018-08-14 14:41:19 +02:00
599b79320e
Call yield in busy loop to reduce CPU usage.
...
Change-Id: I6563665a9a1cbb0baabc0db6d8666f80414ad347
2018-08-14 14:27:39 +02:00
22f80a8a2c
Add logging to VA sharing api
...
Change-Id: I5c68995db4d2dcde9505210030d9c63b5e86ddbd
2018-08-14 14:15:35 +02:00
815bd9e027
Cmake: Remove Windows requirement when copying gmm dynamic lib
...
Change-Id: Ieba2f37fbb5aeca855a5ca3790efdaafe544b982
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-08-14 12:51:07 +02:00
47f3dad619
Apply (2/4)x4x1 layout when generating local ids for kernel with images only
...
- For SIMD8 apply 2x4x1 layout
- For SIMD16/SIMD32 apply 4x4x1 layout
Change-Id: I31bceb49387011c66da5f96ad2a71125b96d4cda
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-08-14 12:22:20 +02:00
cf971158c6
Improve compilation time: split api_tests_wrapper into 3 files
...
Change-Id: I5ae90154fb9baa5fb60adceef1995097b4125b81
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-08-14 11:52:40 +02:00
6c5875f805
[2/n] Initialize Wddm interface in Wddm init.
...
Change-Id: If7184e64df54b4e6840970fec67cb5bc11909b7c
2018-08-14 11:02:27 +02:00
a5950500a3
Aux translation [4/n]: Lock BuiltIn Kernel + refactor BuiltIns locking
...
Change-Id: Ic7dc9b86a4aa5f93f1c4bcdf80b9598ecdff9713
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-08-14 10:56:16 +02:00
d3d8b6f905
change ARRAY_COUNT macro to constexpr
...
Change-Id: I027c4e70e3b901f3ffb3c0971935ae67e971db07
2018-08-14 10:04:58 +02:00
d51c7ccdd4
[1/n] Move different wddm functions to dedicated helper.
...
- This is first phase of moving wddm specific internals to Wddm
Interface helper
- Instead of having 2 different wddm classes driver will route interface
specific functions to dedicated helper
- Helper will be initialized when interface version will be known,
therefore we would not need to initialize wddm multiple times
Change-Id: Ic71788ccb2f8a71bf2f3f3c2a04117f16417d85e
2018-08-14 09:08:25 +02:00
95e28faca0
Fix division by zero in enqueueKernel
...
Change-Id: I8e7d3db39805133a5af545e65a94fb19433a2a41
2018-08-14 09:02:17 +02:00
99829a3319
Prefetch binding table entries.
...
- Significant performance boost for kernels utilizing surface states
Change-Id: I0cec91cb61bd19999847090b945810f798ed80d6
2018-08-13 17:21:04 +02:00