Commit Graph

1122 Commits

Author SHA1 Message Date
41811852db Improve build time: command_queue tests
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Change-Id: Ia80a8bfed28789c6c7a53478cdd56f883d61adf3
2018-08-27 14:13:06 +02:00
54572163d8 Switch to use Visual Studio 2017
Change-Id: Ie3b045d366ee368f1f06c01213e8b1feee5ef4e7
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-08-27 11:29:16 +02:00
4b29b30db1 Add OsContext class in shared code
Change-Id: If5aea2126abe1b892068af9ca53e7f448e5b85a6
2018-08-27 09:20:09 +02:00
bc12389312 igc revision update
Change-Id: I1cb013697739e0c721fc03758d5f4518a12a59b8
2018-08-24 18:48:45 +02:00
1e0821bc9f infrastructure update
Change-Id: I43acee8058812d4670e66013e4b1ac580e7c57db
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-08-24 16:41:47 +02:00
7cecedae45 Unit tests: Move initialization of Wddm to fixture's SetUp
Change-Id: I3d3fa30d5aebf4069c1726a21f537a3d40799793
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-08-24 14:31:27 +02:00
12e21c042e Infrastructure update
Change-Id: I68ec89041e1a6877000e473bb79f4b4f3e370584
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-08-24 13:23:26 +02:00
9d157dc443 Refactor of sharing function
Change arguments in functions from pointer type to referance type

Change-Id: If3569ceee2188d9ad572f23e3b7510e7a40e917d
2018-08-24 10:09:36 +02:00
83537d55bf Add HardwareInfo argument to setupHardwareCapabilities method
Change-Id: Iaf75459402d4f1ec3048646d646b130dcc710b2f
2018-08-24 08:30:52 +02:00
b59e3aec14 AUB capture - add control to configure file name
This commit adds the AUBDumpCaptureFileName control to configure from outside
a file name with an optional path where to save the AUB capture into.

Change-Id: Ibf2f7663e23ad9e1001896b0c5b7030f9979dae2
2018-08-23 22:31:03 +02:00
aaf2f94887 Fix zeroCopy property for images
- zeroCopy means no need for data transfer when cpu transfer is
chosen during map/unmap operations
- tests cleanup

Change-Id: Id312267e51d593781c6fe536b6e96f42f32e5c02
18.34.11354
2018-08-23 16:45:05 +02:00
9ac3529c6b Remove template parameter from Wddm methods
Change-Id: Icd700c7215184d4c0f9564c61868a1f9f29a75e5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-08-23 16:37:31 +02:00
e6131293d1 Manifest update
Change-Id: Ia897bb60230c776194c48e9b0a8b42e84a68e65c
2018-08-23 16:15:45 +02:00
8647e0c349 Improve KernelInfo handling:
Remove wrapper for KernelInfo constructor
Switch to unique pointer where possible

Change-Id: Ib3f323e34836e1d189d836fd539ab45518609610
2018-08-23 13:55:28 +02:00
ff683ebdc1 Fix global property name in runtime/aub/CMakeLists.txt
Change-Id: I08fc76a3b4718b469928f5fd1059bf9f0d7ac5b5
2018-08-23 13:30:27 +02:00
502c0f31cd Enable detailedAllocationLoggingActive when captureCallStacks is enabled
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Change-Id: I418d6f03b0c0d5f5224a0c25033c3117b1b68ab9
2018-08-23 11:04:45 +02:00
deaaa908a4 Extract Os Context from Wddm and WddmInterface
Change-Id: I13a52fc466a14f4bd28876d3c47884dc596f2b58
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-08-23 09:07:57 +02:00
f6f9c0f456 Add notify functions to enqueue read buffer and image calls
This commit adds notifications to enqueue read buffer and image calls
and setters/getters to mark/check if an allocation is dumpable.

Change-Id: I123f24752d2a86abcf934e0d404f4e0ecf1729cc
2018-08-22 21:43:17 +02:00
b91c14f70e Delete Device::getBuiltIns()
Change-Id: I9d1968dfb2ba4a56020fd17152119add726106e1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-22 16:54:53 +02:00
7504536d5d Update guidelines.
Change-Id: Ia22cfdd30d6e498a45c4718609387154b184edc6
2018-08-22 14:55:25 +02:00
6286f245a1 Fix generation local ids for image layout with local workgroup size 12x12x1
Change-Id: Ib723b132b570d8cfb3f72f32ddadde869607c354
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-08-22 14:32:07 +02:00
88c5d3f5c2 Refactor ExecutionEnvironment destruction order test
Change-Id: I4c7e8b0da1d2e97d6d688f62d7b311cbdc734323
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-22 12:59:24 +02:00
00170eb998 Refactor ULTs checking DSH usage
Change-Id: I02d1aece9a13c75508feef0af7a7322dd9fc7852
2018-08-22 10:33:38 +02:00
e0e48203d2 Move BuiltIns to ExecutionEnvironment
Change-Id: Ib2a1b82cc7858c898bb32820aad106a01d1325ad
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-21 23:15:47 +02:00
459a157e17 Fix for setting correct program compiler version
Change-Id: I41db8c1640d51fabedbc2d39ff76be04c124c332
2018-08-21 18:39:11 +02:00
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