Commit Graph

176 Commits

Author SHA1 Message Date
Milczarek, Slawomir 92a29a3e86 OsAgnosticMemoryManager to call freeMemory on AubManager for hostPtr
Related-To: NEO-3231

Change-Id: I83d5c9036d7f5531c1e7290058b8e2635e42ec18
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-06-09 14:42:23 +02:00
Mrozek, Michal f7efa71c85 Make map buffer non blocking
Change-Id: I8f1c5a6f18e0238673f1aac96d1cbbc151efa6ee
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-06-04 20:56:03 +02:00
Milczarek, Slawomir 17f9cc006d OsAgnosticMemoryManager to call freeMemory on AubManager
Resolves: NEO-3231

Change-Id: I89a3cc9f2a63931c6c87ec70bbedc19716a885c1
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-05-29 18:09:49 +02:00
Jaime Arteaga b98b51b0d9 Move ptr.h to core folder
Change-Id: Icf0db7c767b2b1ea44fccc02b135f0f6c1f78c8f
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2019-05-29 00:11:34 -07:00
Maciej Dziuban ce406c34f8 Add missing line in CMake
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Change-Id: Id8ceb2b5f2e9488995259a436e798991aebd7f8a
Related-To: NEO-3016
2019-05-28 16:23:10 +02:00
Milczarek, Slawomir 561c6394be Add options to specify buffer and image dump formats to AUB unit tests
Related-To: NEO-3080

Change-Id: I23a310167b7fb06a7a85c0b5fed233f8050b28f2
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-05-14 14:27:53 +02:00
Dunajski, Bartosz 0f87e9aa1a Rename HardwareInfo members
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 09:13:55 +02:00
Dunajski, Bartosz bb80d327c7 Move HardwareInfo ownership to ExecutionEnvironment [1/n]
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-08 16:11:01 +02:00
Piotr Fusik 92584d8c64 Minor cleanup.
Change-Id: I0f345c4fbf49f6464dce7bafd8b8d59347ff2d77
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-26 14:34:58 +02:00
Piotr Fusik 086ef7c461 Simplify code by introducing TimestampPacketStorage::Packet.
Related-To: NEO-2872

Change-Id: Ifce455f1a48f2db2bf16af2dd32208ee4542204d
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-18 16:14:04 +02:00
Zbigniew Zdanowicz 0c6823afd6 Add map allocation for images
Related-To: NEO-3097

Change-Id: I5bfd89fd597a8d55597ff7a2aa05b2abd278d5bd
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-04-18 14:46:06 +02:00
Piotr Fusik 745c20c78a Rename TimestampPacket to TimestampPacketStorage.
Related-To: NEO-2872

Change-Id: Id1f78491912c44890ae7ead2cac12ec8eb073628
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-16 15:34:28 +02:00
Piotr Fusik 543b3d39d0 Use CPU pointers for TimestampPacket where appropriate.
Related-To: NEO-2872

Change-Id: Ic91a1dd6252d2970e20bb32c3d867449041cbb8a
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-15 10:55:12 +02:00
Piotr Fusik 2fd7a9a3bb Simplify code with offsetof.
Change-Id: I23c1904daecc85623c01198c1e71232454ef2bb3
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-15 09:55:53 +02:00
Zbigniew Zdanowicz e201725dd5 Add dedicated map allocation
Related-To: NEO-2917

Change-Id: Ieeca40f5faf29433a5c464d2c3ca3b8910695a9b
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-04-09 16:16:31 +02:00
Jobczyk, Lukasz d6367f02aa Add INTEL suffix to the clEnqueueVerifyMemory
Related-To: NEO-3082

Change-Id: Ia15ab39545144198b2db745a0a61757b6b1caf47
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-04-09 11:00:48 +02:00
Jacek Danecki 4b2bb188b7 Add support for Gen11 platform
Related-To: NEO-2388

Change-Id: I4da92efe7f875f409cd62519a31ed4509b55bda7
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-04-05 14:28:55 +02:00
Pawel Wilma bac5911c98 Report too long test name at compile time
Change-Id: Ifb2d74f37b4ab0f84f157e11849aaa350ee63811
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-04-02 10:26:01 +02:00
Mrozek, Michal 21020d144b Remove some not needed code.
Change-Id: I67b52bd7793bee05468efc40c76b40426c64d827
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-03-27 18:24:32 +01:00
Piotr Fusik d4a0c4852b Move EngineType to aub_stream.
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01:00
Maciej Plewka 9e52684f5b Change namespace from OCLRT to NEO
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00
Stefanowski, Adam 16aee8cc46 [2/n] Move Hardware Info to Execution Environment
- remove hwInfo from the csr functions where it was passed as a parameter,
now csr functions have access to hwInfo by Execution Environment

Change-Id: I756ae63d9728c9c963571147bab97f9e1c15797b
Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
2019-03-22 10:08:26 +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
Piotr Fusik 2c524f94a4 Const correctness.
Change-Id: I68be05e6c1c3c9c0dc33ba8252a0a5bbeefc06a4
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-12 18:11:35 +01:00
Piotr Fusik ec72787b98 Remove MemoryManager::allocateGraphicsMemoryForHostPtr.
Change-Id: I629f2299a183fc135135dbaff89216b966554a95
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-12 15:51:32 +01:00
Stefanowski, Adam 341fcfc091 [1/n] Move Hardware Info to Execution Environment
- remove gmm_environment_fixture
- remove hwInfo parameter from ExecutionEnvironment methods

Change-Id: Ieb0f9b5b89191fbbaf7676685c77644d42d69c26
Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
2019-03-12 08:39:26 +01:00
Filip Hazubski 8b57d28116 clang-format: enable sorting includes
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library

Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Piotr Fusik d79f1afdc2 GraphicsAllocation constructor accepts allocationType and memoryPool.
Change-Id: I5044ed26ba0cb0fc9ca7077595f5ab56353ab58c
2019-02-26 13:29:25 +01:00
Milczarek, Slawomir 278bb83c56 Enable AUB sub-capture in AubStream captures (1/n)
Change-Id: I6bd0605d06cf4dc3937e2dbeba7ed7037ae91476
2019-02-21 22:40:40 +01:00
Maciej Dziuban 802eb37394 Revert "Pass HardwareInfo to AubHelper::checkPTEAddress()"
Delete AubHelper::checkPTEAddress()

This reverts commit aa587b3bc5.

Change-Id: I32b90ce7dddfd2347586b2c47b9114b45cced8ab
2019-02-19 11:51:35 +01:00
Maciej Dziuban aa587b3bc5 Pass HardwareInfo to AubHelper::checkPTEAddress()
Change-Id: Ie5370b52eb79a8d118bd8033a335dc1319e93be1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-02-19 08:37:58 +01:00
Hoppe, Mateusz 7f98db617c Move expectMemory/writeMemory methods to CSRSimulatedCommon
- fix aub tests with --tbx option

Change-Id: I227449dd8614a8aada3eaa4f28ff6dcca7530956
2019-02-18 10:01:32 +01:00
Piotr Fusik f014f27370 Support the EnableLocalMemory debug variable in CSR.
Change-Id: I902b06ab0b4a3df477d12804ba74b2727d8863f6
2019-02-12 13:09:23 +01:00
Dunajski, Bartosz b5050db158 Remove AUBDumpConcurrentCS
Change-Id: Ib5f2b73f918db778609922eb10710700589b21ad
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-12 12:36:07 +01:00
Dunajski, Bartosz 22fc95fb20 Set GraphicsAllocation to AubWritable in Aub test
Change-Id: I857667214896b0b8281aa9f2bd477231ab1c059f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-12 11:42:14 +01:00
Piotr Fusik 6882cf09c1 Avoid manual memory management.
Change-Id: Id29d9ec366e338d519aad5353a15a44ecf5998e4
2019-02-12 09:14:51 +01:00
Dunajski, Bartosz 12da1b0616 Remove osContextCount parameter from GraphicsAllocation
Change-Id: I23b650e97f107008b1122a1ecea48722fe129863
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-11 15:44:37 +01:00
Dunajski, Bartosz dc181defba Use GpuAddress for TimestampPacket programming
Change-Id: I1303605c33e2e0267a1716e12a0bfcb341fcfbd7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-11 15:31:17 +01:00
Hoppe, Mateusz 4d9acf3352 Pass aubfile name to TbxCommandStreamReceiver::create and CSRWithAubDump
Change-Id: Ib10c017ce4ed2a572815053dae3f517e0dfd9eb3
2019-02-07 15:05:54 +01:00
Maciej Dziuban ea8aa29e12 Change pollForCompletion() insertion locations
Poll is done on:
- Aub CSR destruction
- expectMemory
- blocking calls

Poll is not done on flush

Change-Id: I1a776a932cb608c01f0de249e7cef26b00147f31
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-02-05 14:33:42 +01:00
Mrozek, Michal 3e75c837f9 Disable test.
Change-Id: Iadbdac5ec973e320a4e7dbafa7ed513067ada5b2
2019-01-29 14:20:00 +01:00
Dunajski, Bartosz c878590162 Remove EngineInstance parameter from pollForCompletion call
Change-Id: I07652db2de656032cdb3452239b671edbe876b75
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-01-28 16:49:25 +01:00
Dunajski, Bartosz 0655045c79 Enable SNORM format in aubs
Change-Id: If57781dd83668e3e3eaed2867e8000078b2691be
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-01-28 14:09:30 +01:00
Mrozek, Michal f6ceb8fb4f Remove default parameters from setArgSvm function.
Change-Id: I4408ddedfca464d56e24c4daa0c8c7b73791d6a0
2019-01-28 12:02:54 +01:00
Hoppe, Mateusz 3a5209ccf4 Disable osEnableLocalMemory on 32 bits
Change-Id: Id405a57064d17293ede48f82992ab1bde4f3b9ce
2019-01-28 08:18:51 +01:00
Mrozek, Michal de022cc0eb Revert "Do not use AUB + TBX in TBX test mode."
This reverts commit 5a1f8078cbacb7f5204886c673b8c15bd8fd8ae3.

Change-Id: I1c6feb457afdd3e3ccbbdd00d41856d8fea0a099
2019-01-24 10:19:58 +01:00
Mrozek, Michal 8615288d2b Do not use AUB + TBX in TBX test mode.
Change-Id: Ia53045076f72cc162c43fa06db9117c9e8d4f1e2
2019-01-24 08:53:54 +01:00
Milczarek, Slawomir 21f855b719 AubStream update (1/n)
Change-Id: I6579e7af2015493490c5edcc413dcb2e6c804b9f
2019-01-22 12:19:21 +01:00
Zdanowicz, Zbigniew 158f200476 Add HW commands const definitions
Change-Id: If2e9d7f7f707b7b8c7bd8dbd3853ab3b6dad0c9a
2019-01-18 12:13:25 +01:00
hjnapiat e22626cb3d Enhance AUB testing
Change-Id: I45dafca34064ff824c197658051d8ba5c89265f6
2019-01-17 12:36:51 +01:00