Commit Graph

1114 Commits

Author SHA1 Message Date
Hoppe, Mateusz 83537d55bf Add HardwareInfo argument to setupHardwareCapabilities method
Change-Id: Iaf75459402d4f1ec3048646d646b130dcc710b2f
2018-08-24 08:30:52 +02:00
Milczarek, Slawomir 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
Hoppe, Mateusz 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
2018-08-23 16:45:05 +02:00
Mateusz Jablonski 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
Hoppe, Mateusz e6131293d1 Manifest update
Change-Id: Ia897bb60230c776194c48e9b0a8b42e84a68e65c
2018-08-23 16:15:45 +02:00
Cetnerowski 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
Hoppe, Mateusz ff683ebdc1 Fix global property name in runtime/aub/CMakeLists.txt
Change-Id: I08fc76a3b4718b469928f5fd1059bf9f0d7ac5b5
2018-08-23 13:30:27 +02:00
Dunajski, Bartosz 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
Mateusz Jablonski 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
Milczarek, Slawomir 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
Maciej Dziuban b91c14f70e Delete Device::getBuiltIns()
Change-Id: I9d1968dfb2ba4a56020fd17152119add726106e1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-22 16:54:53 +02:00
Mrozek, Michal 7504536d5d Update guidelines.
Change-Id: Ia22cfdd30d6e498a45c4718609387154b184edc6
2018-08-22 14:55:25 +02:00
Mateusz Jablonski 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
Maciej Dziuban 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
Zdanowicz, Zbigniew 00170eb998 Refactor ULTs checking DSH usage
Change-Id: I02d1aece9a13c75508feef0af7a7322dd9fc7852
2018-08-22 10:33:38 +02:00
Maciej Dziuban 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
Kamil Diedrich 459a157e17 Fix for setting correct program compiler version
Change-Id: I41db8c1640d51fabedbc2d39ff76be04c124c332
2018-08-21 18:39:11 +02:00
Zdanowicz, Zbigniew 7b68579e34 Rename ULT L3Helper to UnitTestHelper
Change-Id: If922192560b8b51bc1296f8b034abfadbaa556b6
2018-08-21 17:38:27 +02:00
Maciej Dziuban 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
Dunajski, Bartosz 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
Artur Harasimiuk 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
ocldev 69fea5cc7c gmmlib revision update
Change-Id: Ic534e2c42e3c449afa29b5df1f2975f830f54415
2018-08-21 14:18:07 +02:00
Artur Harasimiuk 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
Mateusz Jablonski 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
Hoppe, Mateusz 23d66b6984 Add dedicated method for getting hint for AubDump memory write
Change-Id: I5282d3004e61dde4bda1fd0e0c1acf9fe94caca0
2018-08-21 10:28:59 +02:00
Milczarek, Slawomir 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
Dunajski, Bartosz 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
Stefanowski, Adam 1ad70dfebe Decouple memory manager and device
Change-Id: Ia64cc955e1d290cad4c50b6a2a41052d9acf0eec
2018-08-20 13:44:31 +02:00
Mateusz Jablonski a30d6d66ca Internal update
Change-Id: I505e4972b7d56c689ef1a890543b07415165ac95
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-08-20 11:38:03 +02:00
ocldev 31cb50db96 igc revision update
Change-Id: I1cabe4307a504deb24a06fcaf719b85cc6757127
2018-08-20 11:16:30 +02:00
Mrozek, Michal c7c2e7b83d Limit the amount of memory allocations in tests.
Change-Id: Ia41cde4fe4a42d6a586faa265aba295e61ba7d15
2018-08-20 11:01:49 +02:00
Kamil Diedrich 1dcec9e23a Error handling improvement
Change-Id: I5e35bff508c45993be03bc946ddebfb698a0c638
2018-08-20 10:54:28 +02:00
Dunajski, Bartosz 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
Mrozek, Michal 64dbdf1556 Do not allocate 100MB in test.
Change-Id: Iac4f443ad2c0318bb2cdc42b037b96efff32c67a
2018-08-17 17:12:45 +02:00
Artur Harasimiuk 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
Hoppe, Mateusz 0723455cb5 Add localMemorySupported flag to HardwareCapabilities
Change-Id: Ie57aa6418eecdd288001ded2605c731dd61b9879
2018-08-17 15:22:08 +02:00
Kamil Diedrich 17de60254a ELF reader refactor
Change-Id: I326747237ba605f338d3f2c91a6b682db8b75af5
2018-08-17 13:57:41 +02:00
Dunajski, Bartosz 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
Hoppe, Mateusz 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
Artur Harasimiuk 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
Maciej Plewka a9da118e11 Support gtpin when gtpin headers dir exists
Change-Id: Ib61ba3280d4780d13bef511ff10ba6c7e3ac6c9e
2018-08-17 01:48:37 -07:00
Mrozek, Michal 0f8158069f Fill memory managements structures only when fixture is active.
Change-Id: I22018f9edd50b40c190c9f15ee6f5819c5e09247
2018-08-17 09:13:00 +02:00
Mrozek, Michal 55901f3609 Remove unused methods and code.
Change-Id: Ie6d15e6f56383e491240b4868f4746aee5fa8ddc
2018-08-16 17:00:04 +02:00
Maciej Dziuban 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
mplewka 956ee41c71 Fix including gtpin headers
Change-Id: I6b39bee0398a74671b91a6109c7c390273decf54
2018-08-16 15:14:59 +02:00
Maciej Dziuban 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
Dunajski, Bartosz 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
Mrozek, Michal c53c09da45 Limit local work sizes where local ids limit is applied.
Change-Id: Id9a84d6a7d4530344771f48fd278cff9ab2dd927
2018-08-16 12:34:09 +02:00
mplewka 5e9066170d Change include location of gtpin headers
Change-Id: Idd1e85b1946bad3af950cb9041d25ff5bc1aaf03
2018-08-16 12:06:22 +02:00
Mrozek, Michal 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