Commit Graph

6172 Commits

Author SHA1 Message Date
Michal Mrozek ad747a5cbf Make comment more verbose.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-11-05 13:03:41 +01:00
Sebastian Luzynski de5fe3c1b3 Adjust params checking.
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-11-05 12:37:52 +01:00
Mateusz Jablonski 0aec0bdde4 Store program binary type per device
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-04 15:01:11 +01:00
Artur Harasimiuk 62ea57ff61 infrastructure update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-11-04 12:17:19 +01:00
Maciej Plewka 4745b7d20b Add globalDsh and ssh for scratch in bindlessHeapHelper
Change-Id: Ieab07271425a2898d79854a3d0b3ade25bc37c51
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-04 10:22:50 +01:00
Jitendra Sharma f4158e10ff Add support for DEVICE_DETACH and DEVICE_ATTACH sysman events
Change-Id: I2da57ec50a0f3e87499660d37fa248a06f9fdb08
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-11-04 03:31:32 +01:00
Jaime Arteaga 6ab9e9f1e0 Initial support for getExternalMemoryProperties and getExtensionProperties
Change-Id: Ib7c75dcae10bfb34dd2f703e481ecdd768370772
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-03 16:05:25 -08:00
Pawel Cieslak 4e8296495c Update infra
Change-Id: I3512de3a537473cf066e6186cc68318fc87091d3
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-11-03 16:37:24 +01:00
Adam Cetnerowski 1e80017648 ULT renaming: Enqueue Waitlist Events tests
Related-To: NEO-2236

Change-Id: I6397f82ca15b4e5b32f49732cb8c5697aac17c80
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-03 15:56:02 +01:00
Mateusz Jablonski 6c21ed1a28 Fix typo in BB test
Change-Id: Ib605b3f3e0ea3b9425ff17f6f81930c9993a53e5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-03 14:45:30 +01:00
Mateusz Jablonski e39af42137 Allow sub devices to reuse build status from root device
create DeviceBuildInfo struct for per-device info in program

Related-To: NEO-5001
Change-Id: I4048f3dd34240a4f937cc4a05935cba4f40a1872
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-03 14:44:47 +01:00
Jaime Arteaga 87fd9b0708 Remove dead-code: OpenCL interop functions from v0.9
Change-Id: I4ef6eb3df8991d1ef0b6f07f81655496914cf396
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-03 14:22:24 +01:00
Bartosz Dunajski 7cf5f02433 Update blit parameters
Change-Id: Ib1d12d37d1bc43ac0cc377dbafef77331d26fd9a
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-03 14:21:35 +01:00
Andrzej Koska 51f45bf03f Adding CL_INTENSITY,CL_FLOAT format as RW
Change-Id: I2f56587ea729bddc25c8a64840c8aba5bf251125
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
Resolves: NEO-5143
2020-11-03 14:07:13 +01:00
Adam Cetnerowski 605629d89e Device ID cleanup:
- Use commmon naming scheme
- Add missing ULTs
- Remove redundancies

Related-To: NEO-5250

Change-Id: Id6ed25c078b54f7d6ea43f2d3b71dc827ff2d088
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-03 13:45:36 +01:00
Vinod Tipparaju 8e6be83fcc Add cmdContainer ULTs - idOffset & numIdd reset, Gfx alloc failure
ULT required to cover IDOffset and numIdd values during reset.
ULT required to cover OUT_OF_MEM retrun during init.
Fix to check for valid gfx allocation inside heap helper & destructor

Change-Id: Ied9049b33dc0605d5f5f51c96114d5e96b26a4f7
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-11-03 13:22:44 +01:00
Slawomir Milczarek b7d5427f01 CPU access disallowed mode and blitter amendments
Related-To: NEO-4876

Change-Id: I7d6de1a0530e9c4f8bcf302824242033d3ca724a
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-03 13:04:28 +01:00
Mateusz Jablonski 21aa8388bc Correct program binary type when building program
Related-To: NEO-5001
Change-Id: Ib2915e85ab5dfaf6de146710709c7cd062c88b39
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-03 10:30:50 +01:00
Spruit, Neil R 3e5f3fe055 Fixed AppendMemoryFill for alignment, multi kernel execution, memory overrun
- Fixed Memory Fill to use aligned allocations in Destination and Source
buffer kernel arguments to ensure proper alignment of memory in the
surface state.
- Fixed patternSize == 1 case where simd size is > the size being
written resulting in the inital kernel append with group count of 0 and
the remainder kernel being executed incorrectly.
- Fixed offset calculation in the remainder kernel to be based off of
the aligned allocation offset.
- Fixed memory overrun case where size < patternsize with the minimum
size being used in the kernel.

Change-Id: I39bd83b3a83ceb6df05d374238f85f7fdf0bd09a
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-11-02 16:49:12 -08:00
Jaroslaw Chodor a07be76146 ocloc - don't require device for src->spv
Change-Id: Idb2acd9af4e09f59958e3bc622885423a3f79227
2020-11-02 21:07:18 +01:00
Mateusz Hoppe 4d2750161d Move OsAgnosticMemoryManager to shared
Resolves: NEO-5188
-move MockGraphicsAllocation to shared

Change-Id: I17e90af48183f003151fab075a46e40d7df3f160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-02 21:02:53 +01:00
Jaroslaw Chodor 78dc305291 Ocloc - emit warning on input type mismatch
Change-Id: I57edcbd3025616698dbe7710f04d975db93ffdb9
2020-11-02 20:00:15 +01:00
Jaroslaw Chodor d181a2e5a3 Fixing zeKernelGetProperties
Additionally, adding zell_world_jitc_ocloc BB test

Change-Id: If3b8c7e4bd4a789ec1b4f4de55ab21e91c1e7afa
2020-11-02 19:38:39 +01:00
Mateusz Jablonski 75d1ebb811 Use all devices when building program
remove Program::internalOptions
internal options are calculated separately in compile, link and build methods

Related-To: NEO-5001
Change-Id: I85ea2d64c72edb9b0e3f23244b59b9af20e2d357
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-02 19:37:55 +01:00
Lukasz Jobczyk 045632f355 Add new unified shared memory model
Related-To: NEO-3312

Change-Id: I640fb8d120729fa8bb2a23ff65c74c41ef27260d
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-11-02 19:23:40 +01:00
ocldev e82f219816 igc revision update
Change-Id: Id3706310e7769429f6cbd2a295afaa0e06bbe6ee
2020-11-02 19:10:17 +01:00
Aravind Gopalakrishnan f9e0c04b54 Fix build error in ult
Change-Id: I44a66975df4d12e68b967f5dac28cffb8a145004
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2020-11-02 18:48:33 +01:00
Adam Cetnerowski 4cea3f85f6 ULT renaming: Scheduler Source tests
Related-To: NEO-2236

Change-Id: I0746fc3d40923e79ef1e0dfabb5e029cd7eb9068
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-02 18:47:49 +01:00
Andrzej Ratajewski 3a4474b9f6 Pass -cl-intel-no-spill internal option to IGC while scheduler compilation
Change-Id: Ib91da09a268fff597aadc5dda8720ca6703d56ec
Signed-off-by: Andrzej Ratajewski <andrzej.ratajewski@intel.com>
2020-11-02 18:36:58 +01:00
Pawel Cieslak 700e919ed6 Update infra
Change-Id: Ie6236467658a5e41ac67ac98db85d403f95cb4ba
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-11-02 17:23:27 +01:00
Mateusz Hoppe e34c44b425 Fix threading issue in mt_tests
Resolves: NEO-5165

Change-Id: I1258cff22541c395c74c999fc7dd45be5e430dd1
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-02 16:37:06 +01:00
Mateusz Hoppe 80076a808c Fixes in cmake for mt_tests and USE_TSAN
Change-Id: I2bbeff76a25f4b22d0b9fa8da7f319f34aff199f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-02 16:20:12 +01:00
Maciej Plewka 44af85b492 Return correct maxFillSize property
Related-To: NEO-5205

Change-Id: I62b7fec89451c640f70028b8d3ecb81f7655225d
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-02 16:10:01 +01:00
Adam Cetnerowski 2dcc2f5422 ULT renaming: Gen-specific Product Family tests
Related-To: NEO-2236

Change-Id: I4d4e992765fa9d3b8567da63f51797f2c06f9787
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-02 15:43:02 +01:00
Jaroslaw Chodor 0e9be40a7c zebin - fixing missing image metadata
Change-Id: Iae49aacb2fb7b38eea987a5fb283f12fc75718bf
2020-11-02 14:10:49 +01:00
Mateusz Hoppe 4df533f63a Use full path when loading SourceLevelDebugger library
Change-Id: I27f7ee2b8944b9890ab4b141c06e9c2f0a8dffb1
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-01 18:18:38 +01:00
Mateusz Hoppe 17b2a29945 Remove incorrect UNRECOVERABLE_IF()
Change-Id: I5d56fcff8ca2449404c30b89d54f631b1da3db87
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-30 17:42:57 +01:00
Bartosz Dunajski d35806fdd8 Improve returning global and max alloc memory size
Change-Id: I2f22481412184f01652b7e49bc30a57c56e6204b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-30 15:58:42 +01:00
Artur Harasimiuk b6d21cc636 infrastructure update
Change-Id: I6c3ac7e3c119a75f38b7f44754e90ad79b012e5f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-30 15:42:25 +01:00
Filip Hazubski 818a5a683e Remove Context::processExtraProperties function
Related-To: NEO-4700

Simplify SharingContextBuilder::processProperties function.

Change-Id: I78bbf06c688c37490d9d7f09c9bfc451f1e68d30
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-30 14:33:21 +01:00
Krystian Chmielewski 0d35af9327 KernelInfo refactor
Using kernelDescriptor.kernelAttributes.requiredWorkgroupSize

Change-Id: I2533c6f1d4a9b2cf5c141ba7fdd516d4c9d88502
2020-10-30 14:05:46 +01:00
Zbigniew Zdanowicz c678f3d9b0 Make DeviceBitfield argument constant
Related-To: NEO-5225

Change-Id: I14a5a4cc3394cd2b58a74bda183c734a0d17ac25
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-30 13:45:32 +01:00
Krzysztof Gibala 2c1551d40d Extend specialQueue in context to StackVec
Related-To: NEO-4589
Change-Id: I92db4cf8511e13a35307a4f48b51041a6fc7330f
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-10-30 13:33:46 +01:00
Mateusz Jablonski 430cca3f4c Use all passed devices when linking program
Related-To: NEO-5001
Change-Id: I3944375023b9cb3322df83e6e042ba8be2bd762c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-30 10:24:16 +01:00
Jitendra Sharma 17970ad5e7 Add sysman handles for subdevice only after subdevices are created
Move location of assigning sysman handles, such that sysman handle
will be assigned to device and then assign that sysman handle
to subdevices of that device.

Change-Id: Ia606954a866c491e45803b903c8419ee09b1a939
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-30 09:45:08 +01:00
Jaroslaw Chodor 3e4079574c Reduce number of devices is multidevice fixture
Change-Id: I3269d9938f5842da87d2c2effef9e54286b3c0b5
2020-10-29 21:11:58 +01:00
Jaroslaw Chodor 345e56a151 Zebin improvements
* cleaning-up per-thread buffer size calculations
* fixing default slm alignment to 16
* adding scratch space slots
* renaming slm addressing mode
* adding support for zeinfo version

Change-Id: I0450353788b8488a685976d7f1dd26a44360383c
2020-10-29 16:33:21 +01:00
Mateusz Jablonski 20f4786423 Use all passed devices when compiling program
Related-To: NEO-5001
Change-Id: I852c6e57fb7c450ee4dae2d5ff59a206397b2390
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-29 16:02:23 +01:00
Mateusz Hoppe d539a7f8e4 Adjust AllocationProperties for SBA tracking buffer
Change-Id: I00d9d40c854c45775254b017997c53f17559daa4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-29 15:48:25 +01:00
Piotr Zdunowski 5850c141f3 Offline compiler test fix for single skus builds.
Related-To: NEO-5092

Change-Id: Ie737e773410daf905b45a7ef0fdac802d870c598
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-10-29 15:18:18 +01:00