Commit Graph

2456 Commits

Author SHA1 Message Date
52dc359511 Return zero as scratch required GSBA when no scratch allocation present
Change-Id: Idc59b6d0193b7310d9330432df8ccf300a93a912
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-05-23 11:41:19 +02:00
b64210d3db Add local memory usage selector in memory manager
Related-To: NEO-2906

Change-Id: I3172e9551b8d06437c273b122dc6e9d529155b5c
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-05-23 11:05:36 +02:00
a90270c1de Extract functions to state_base_address_bdw_plus.inl
Change-Id: I577488aa18b7ca53e87c5e05c383d9879c545fbb
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-23 10:29:58 +02:00
3d3e6b9531 Testing enqueueSVMMemcpy with host pointer
Related-To: NEO-3011
Change-Id: I179089e078361dd2449f78e75f1d6edd3f5235de
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
2019-05-23 09:47:29 +02:00
b273c9350d infrastructure update
Change-Id: I2bb17ef88b4191819d2e27669d42b1c45cefb583
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-05-22 20:10:52 +02:00
0939aed3a5 Delete image_base.inl
Related-To: NEO-3016
Change-Id: I851f5867f22a387a6af90a93f46d985211292375
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-22 16:28:22 +02:00
7390e456a4 Add getter of Scratch Controller to the CommandStreamReceiver class
Change-Id: Iba0a9d7e4a9f141e1e31de428d50e7c745ad993a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-05-21 17:25:05 +02:00
b82cdd6b8e Program MI_SEMAPHORE_WAIT for dependencies during blit operations
Change-Id: I8b0e467886bfb23d026a0c13be514343a22a20a1
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-21 14:18:16 +02:00
e6c7c862ed dependencies update
Change-Id: Ib179a57dd6c5758e0dd6d4d13361931900bc6d2c
2019-05-21 09:14:03 +02:00
8ba2af5159 Infra update
Change-Id: I08e9543b0a70f2041c964d875877e5c1fdaf7cf7
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-05-21 01:11:21 +02:00
34013c03fc Minor refactoring to allocateSystemMemory and selectHeap
Change-Id: I2cf3917d56773535b7a06a7d091c14c4320ef734
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2019-05-20 07:41:17 -07:00
ce8d24d124 Add multi command line option for ocloc
- now ocloc is able to make multi build, all options and parameters
of build are listed in separate .txt file, each line in this file
is new build.

Change-Id: Id74af826e8c1a4fe14c46ed6024efe2041a22fd0
Signed-off-by: Marcin Naczk <marcin.naczk@intel.com>
2019-05-20 16:02:20 +02:00
2d02435fb9 Add DeviceHelper::getEnginesCount() function
Related-To: NEO-2535

Change-Id: Ie82f5b573d934e038dc44853d0bba5bbd5db3551
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-05-20 15:26:48 +02:00
77ce18ad35 Simplify code for Front End programming
Change-Id: I1f6e1f4f6eef24c8018c54ae1b7f6ec67adb55b3
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-05-20 09:42:07 +02:00
fa3d4f39f4 Enabling clEnqueueSVMMemcpy between SVM and host pointer
Related-To: NEO-3011
Change-Id: I89aad599d7238ea2d319a4b1c72dffea2dba952b
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
2019-05-20 09:10:56 +02:00
c967327b3b igc revision update
Change-Id: Ibd82c544e57b238b97d40eb7b4c1f5fbdd4c4527
2019-05-20 05:05:02 +02:00
6ed20ab762 Add mutex to AUB subcapture manager
Related-To: NEO-2747

Change-Id: I11a2fdb54f832607b7cff5d99dfd943aa0842748
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
19.20.13008
2019-05-17 16:48:56 +02:00
432e41c07f Remove printing SKIPPED tests from output
Related-To: NEO-3173

Change-Id: I0dc44f69c7c4a988065bcc62db78087e9fc50e2c
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-17 11:30:04 +02:00
d15174d7c5 Block SVMAllocsManager creation in Context when SVM is not supported
- skip SVM tests when SVM is not supported

Related-To: NEO-3157

Change-Id: Ie5d5ef4778749f60537084fc7f388714954a4873
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
2019-05-17 08:59:00 +02:00
9217b80b42 Change order of if in kernel initialize
Change-Id: I585addeaa5bc32a869a1b433bf80a918a79269a9
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-05-16 22:32:18 +02:00
4f4ef14b9b Accept different copy directions during blit operations
Change-Id: Idb59458b46337ca0095056857dbd75bf116b6723
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-16 18:53:30 +02:00
9ef2f4b3ee Extract functions to aub_helper_bdw_plus.inl, helpers/hw_helper_bdw_plus.inl
Change-Id: Ic3857a8cbebb7a7e16eebc25fbd0244f4605c0a8
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-16 17:08:54 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
c34a9d737e dependencies update
Change-Id: I985b90bf7b7890f04ec1bfc9f03bb8ba4e51ec5f
2019-05-13 08:12:42 +02:00
95bd4bae67 Change EXPECT_TRUE to EXPECT_EQ
Change-Id: I44a6b8318ed3188138287d9571eb2784d073978b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
19.19.12968
2019-05-10 17:01:35 +02:00
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
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
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