Commit Graph

2434 Commits

Author SHA1 Message Date
Maciej Dziuban ab183b13a0 Extract functions to preamble_bdw_plus.inl
Change-Id: If23166f3e8270ce2e56fa704baf231740de54476
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-16 15:47:06 +02:00
Dunajski, Bartosz 8398a5132c Pass source allocation to append method during Blit operation
Change-Id: I48995fd117ee64cfc9ebfc6ccafdc0ac5b5fa043
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-05-16 12:37:22 +02:00
Artur Harasimiuk 061b436e7f cpack: don't build package when dll build is disabled
Change-Id: I63b807d33ed1cddccdb485b41ea2a2176a611190
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-05-16 10:42:21 +02:00
Maciej Plewka 0c22cdfb74 Add all subdirs to build directory
Change-Id: I27bf5e6644a0590bc932c0561e365a0684029c67
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-05-15 19:02:34 +02:00
Jacek Danecki c0342cdc87 Disable ULT on Ubuntu 16.04 on external CI
https://github.com/intel/compute-runtime/pull/170

Change-Id: Ib285a9f2acfca5a4f7fdc87cd0da6774908daaee
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-05-15 16:05:15 +02:00
Zdunowski, Piotr bfea41c85b Revert change to image alignment performance hint.
This reverts commit 1262b67e17.

Change-Id: I0935c43e065e4543ad70a6178ceb3773d6c8a65b
Related-To: NEO-2366
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2019-05-15 14:58:17 +02:00
Hoppe, Mateusz 4d9db473a0 Skip ZeroSizeEnqueueHandlerTest SVM tests when ftrSVM == false
Related-To: NEO-3157

Change-Id: I807dbe8a71faff6df5244a43a6451b00eb5a02c3
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-15 11:12:32 +02:00
Piotr Fusik 697dc6ce60 Bind the drm context.
Related-To: NEO-3008

Change-Id: I4d63b8bc1f831c306ae5535067e2818155963cf5
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-05-15 10:32:47 +02:00
Maciej Dziuban 03c05c3f77 Extract functions to command_stream_receiver_simulated_common_hw_base.inl
Change-Id: Ide3cede86faa397d4df84a38f0f8a79c3273c266
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-3016
2019-05-15 09:25:50 +02:00
Mateusz Jablonski b8fb5e683b Move basic_math.h and vec.h to core directory
Change-Id: I143b7af450ff48d4958b4bc7137b393a2dc0eb64
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-05-14 21:32:55 +02:00
Filip Hazubski 8f17c70e9e Remove CommandQueueHw::requiresCacheFlushAfterWalkerBasedOnProperties
Change-Id: Ibdc6f7b883bfef471926a4351ed7437173c4a6a6
Related-To: NEO-2535
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-05-14 17:31:53 +02:00
Zdunowski, Piotr 1262b67e17 Image alignment performance hint should report the same values it checks.
Related-To: NEO-2366

Change-Id: I0bbbd4bbe2940ef89fdc9cadcf1d3894ca4fb5ad
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2019-05-14 16:29:24 +02:00
Hoppe, Mateusz d7cbc6c99c Print skipped tests as SKIPPED in custom listener
Related-To: NEO-3173

Change-Id: Id6f8647e3c774baa88595a5d8efa8c1af194e32c
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-14 15:03:09 +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
Hoppe, Mateusz 501bc88368 Do not run SVMMemoryAllocator tests if SVM not supported
Skip tests:
- SVMMemoryAllocatorTest
- SVMLocalMemoryAllocatorTest

Related-To: NEO-3157

Change-Id: I3f14f71ec3cccaa1925423527cd6bc7ab018f8c5
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-14 12:52:21 +02:00
Hoppe, Mateusz 2b09ed85d6 Run EnqueueSvmMemFillTest only when SVM is supported
Related-To: NEO-3157

Change-Id: I29d1a0bd99cef4644c31d896ff2dfe96a5fee81c
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-14 12:24:45 +02:00
Maciej Dziuban e67879ffca Extract functions to device_queue_hw_base.inl
Change-Id: I91216453effadf7290b6364bfd442704add97566
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-14 11:32:38 +02:00
Maciej Dziuban 2e6e791a1c Extract CommandStreamReceiverHw and BlitCommandsHelper functions to inl files
Change-Id: I0019ec0dfec7f3c0088616d10fc788636c13146e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-3016
2019-05-13 19:16:45 +02:00
Hoppe, Mateusz f6dfa1ac9d Skip EnqueueSvmTest / EnqueueSvmTestLocalMemory when SVM unavailable
Related-To: NEO-3157

Change-Id: Icc1b2f4be099f4295c441a9042a004b314fef0b0
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-13 14:14:59 +02:00
Hoppe, Mateusz c86d9f4bd5 Detect memory leaks only for tests that PASSED
- with this change GTEST_SKIP() can be used without
false-positive leak detections

Related-To: NEO-3173

Change-Id: If12ccb7a6f21811c9966638db93f097cab928b66
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-13 14:02:20 +02:00
Maciej Dziuban 0181468a12 Extract functions to buffer_base.inl
Related-To: NEO-3016
Change-Id: I49bec2ce0e68d78a7feb15f8dbb0793c7dc07aab
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-13 12:30:01 +02:00
Piotr Fusik 7b9402b646 Add EngineInfo for Linux.
Related-To: NEO-3008

Change-Id: Ib9e1a241a5b47aad5e4f83443a3e85db826d13ff
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-05-13 10:06:54 +02:00
Milczarek, Slawomir 972a79aaae Reduced a scope of the lock for AUB file stream
Related-To: NEO-2747

Change-Id: Ic164900f5898df35af74ccff9c31f8296dcf12fd
2019-05-13 08:50:04 +02:00
ocldev c34a9d737e dependencies update
Change-Id: I985b90bf7b7890f04ec1bfc9f03bb8ba4e51ec5f
2019-05-13 08:12:42 +02:00
Dunajski, Bartosz 95bd4bae67 Change EXPECT_TRUE to EXPECT_EQ
Change-Id: I44a6b8318ed3188138287d9571eb2784d073978b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-10 17:01:35 +02:00
Maciej Dziuban 3da9aebf7d Extract functions to command_queue_hw_base.inl
Change-Id: I172c5d29cc81c4f1a95f6475ec261975ee21fab6
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-10 16:33:12 +02:00
Dunajski, Bartosz a3ad3b9fa2 Clean temporary allocations after Blit operation
Change-Id: I5c9b6778c93c7422bb84ee367dbf298df5e06cab
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-10 14:55:27 +02:00
Milczarek, Slawomir cc6a94b5b6 Fixed TBX with AUB dump mode without AubStream
Related-To: NEO-3150

Change-Id: I9ee7fc3c44f3021c61db7c27c01522cbe7d7445d
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-05-10 14:23:17 +02:00
Maciej Dziuban 0c9995d447 Update internal
Change-Id: I37a7e58cd80f7c260274fc84746980e14e323df5
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-10 13:49:08 +02:00
Hoppe, Mateusz 97245a2ca6 Refactor MemoryManager::allocateGraphicsMemoryInDevicePool
- create MemoryAllocation for OsAgnosticMemoryManager so that
freeGraphicsMemory is freeing correct object type
- other memory managers do not go this path

Change-Id: If2ada9b77bb4a41d09f82b79502594e0eda9f11b
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-10 13:14:08 +02:00
Hoppe, Mateusz eefb2bb488 SVM buffer tests: setup hwInfo with 48 bit gpu address space
- to use SVM, proper GPU address space is needed

Change-Id: I01f217fd4af958fd6c1e306d4d9146253163eb0e
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-10 12:15:05 +02:00
Dunajski, Bartosz 7eb5db4fc7 Manifest update
Change-Id: I9812560482f823fdbe13a55552dcaf6cc50f8ad4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-10 10:51:55 +02:00
Maciej Dziuban 69c3304692 Extract methods to aub_command_stream_receiver_hw_base.inl
Related-To: NEO-3016
Change-Id: I6efcd9cb1f2470c17b8caec2e8fb54d7ca45b448
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-10 10:13:49 +02:00
Dunajski, Bartosz 67d39b19db Add pitch programming to Blit dispatch and align max width to cacheline
Change-Id: I37a15ddc64c9e41cd4cd718133b17d572bb71ba2
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 16:08:06 +02:00
Jobczyk, Lukasz c7d7346fd0 Remove deprecated GMM api
Resolves: NEO-3143

Change-Id: I34e18c25f7a1f8073926a6725d479958af722d1a
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-05-09 10:59:29 +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 de988d067c Fix ExecutionEnvironment test and rename hwInfoHelper to hardwareInfo
Change-Id: I849b9f5a9f449f063e5717ea9758e80c6662c5a5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 08:53:24 +02:00
Hoppe, Mateusz 4541b324a7 Use GPU address in TBX submitBatchBuffer as start address
Related-To: NEO-2407

Change-Id: Ia7e2183f13fd5118f3125b415242a365dc6cc214
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-08 18:11:57 +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
Dunajski, Bartosz b2aee82f41 Add cmake flag to disable PCH on Windows
Change-Id: Idcdb7e642fd4a92a21fee9b7b801488e26a6038a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-08 14:00:32 +02:00
Artur Harasimiuk db8cccbaa5 infrastructure update
Change-Id: Ibb491252e4f237e2e888871a689da7f990a5502f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-05-08 10:24:40 +02:00
Milczarek, Slawomir 6c8b14c918 OmitTimestampPacketDependencies to omit node dependency in timestamp packet
Makes subcapture feature work with timestamp packet enabled.

Related-To: NEO-2747

Change-Id: Ifa45f1c066129671a02dc708b537b285f5a05d7f
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-05-07 16:05:00 +02:00
Mrozek, Michal bc35cd250a Do not use max power saving mode in VA sharing scenarios.
-This can be achieved by passing CL_QUEUE_THROTTLE_LOW_KHR as throttle hint
to command queue.
- This gives much better control about the granularity of this feature
instead of triggering this for the whole context user may still have
power saving mode queues.

Change-Id: I066729f963119ddc1f62ad2785c342af2fea588e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-05-07 15:23:13 +02:00
Mateusz Jablonski cadc461712 Create storage info while getting allocation data
Related-To: NEO-3127

Change-Id: I716a1d5624cf34d74bafd8c9ab3f5cc5ded43275
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-05-07 14:17:34 +02:00
Artur Harasimiuk 58492b846f infrastructure update
Change-Id: I3197414f8a304594ce26fcf37552cfa35562b6e6
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-05-07 11:48:49 +02:00
Milczarek, Slawomir 10d87404b6 AUB with kernel names in case of kernel split
Related-To: NEO-2747

Change-Id: I49d3e4716db4634da6744fe91ecfb0763f67722a
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-05-07 10:14:32 +02:00
ocldev ce78f0336f igc revision update
Change-Id: Iff55df44b63c23503c5c024d8ea487787084c716
2019-05-06 15:53:15 +02:00
Mrozek, Michal 4f0c58003c Remove redundant code.
Change-Id: Ia037d05484d3ee70e5f915346884fde9eb7df180
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-05-06 15:13:29 +02:00
Mateusz Jablonski 42e255969a Move createStorageInfoFromProperties method to MemoryManager class
Change-Id: I09bbc19aeb377d8fabfe144920c6377cf68066d2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-05-06 11:30:37 +02:00
Piotr Fusik f153fca90a Add Drm::queryEngineInfo.
Related-To: NEO-3008

Change-Id: I2a4d21bfa1f078b5da2f893bdb7554d502df8522
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-30 15:52:19 +02:00