Commit Graph

4889 Commits

Author SHA1 Message Date
Adam Cetnerowski
66ac73de8d ULT renaming: Image From Subbuffer tests
Related-To: NEO-2236

Change-Id: Ieb66d8f0ce887e71b776a510ec9cf0491f8ba819
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-05-18 15:22:43 +02:00
Filip Hazubski
d4c14dd9d0 Correct aub test
Change-Id: I8610cb92ed0fb6b657a8902deb8e02d6c9d3cd4f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-18 14:30:19 +02:00
Mateusz Jablonski
786cd28f2b Remove not needed pragmas -Winconsistent-missing-override from OCL ULT
Change-Id: Id8a67e33ed7191ba0acd2bb9b80336b6bb72b13a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-05-18 14:07:12 +02:00
Bartosz Dunajski
dda8562818 Add missing expects in blit enqueue tests
Change-Id: I4141a4e13f0beb755fb5c71122be71ccbb0284de
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-05-18 12:34:21 +02:00
Dunajski, Bartosz
9be05634ad Revert "Check GraphicsAllocation usage before destroying USM allocation"
This reverts commit 67c945ab01.

Change-Id: I85671efcc46c489f3508f1e82c1d918e26062697
2020-05-18 08:38:34 +02:00
ocldev
a0294373fc igc revision update
Change-Id: I965a3ca5c002ef1ac51e3c967b96d9cf3b115edf
2020-05-18 04:48:28 +02:00
Pawel Cieslak
842b06b950 Update infra.
Change-Id: I7aaff9a7d574e9138dda10e2309baf3e440f0bf6
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-05-18 00:56:22 +02:00
Bartosz Dunajski
67c945ab01 Check GraphicsAllocation usage before destroying USM allocation
Change-Id: I91db3b8e7004f6ebedde7c62c3bb83f746c84003
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-05-17 13:01:28 +02:00
Bartosz Dunajski
e6b23d6141 Add FtrLocalMemory flag
Change-Id: I7c386085f6adc9d9d2b966c40e55ed56705c1db6
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-05-16 21:17:22 +02:00
Mraghuwa
b9b34659c8 Redesign ULT by mocking sysfs and implementing for frequency
Change-Id: I5979132fc775fe227ed83f4d49f932f4ce2800cc
20.20.16837
2020-05-15 22:36:40 +02:00
Piotr Maciejewski
8f70ba916a Disable Metrics Library after Metric Tracer usage.
Metric Tracer can use Metrics Library to generate gpu commands 
for Metric Tracer marker. Closing Metrics Library will force it to reintialize,
so Metric Query can use Linux time based sampling stream exclusively 
(needed to activate metric set or to obtain context switch/triggered reports).

Change-Id: I3105febfbbd78b537ef0688d1b9c08ab54f9a875
2020-05-15 22:13:18 +02:00
Jitendra Sharma
e61136d9bd Fix invalid case style clang-tidy warning
Fix clang tidy warning reported, by modifying get_prop_length()
to getPropLength().

Change-Id: Ib3fc49b49f93cd7900e2556098ca64c2afe7014b
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-05-15 22:07:38 +02:00
Filip Hazubski
4f5c80c916 Correct setting il version
Related-To: NEO-4368

Change-Id: I78111e0c28318f85657ab3cb545d4a5948f7b3d3
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-15 15:02:08 +02:00
Bartosz Dunajski
c4c7d72aa5 Enable batching on Drm CSR when local memory is enabled
Change-Id: I7504b82307f338343a799cb0370ba37f9722406f
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-05-15 14:42:19 +02:00
Kamil Kopryk
424de72f38 Remove not needed code
Change-Id: Idb29d8ad6ca2e8408b2bc69329ac8564dee4e820
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-05-15 14:10:24 +02:00
Maciej Dziuban
19de738e03 Enable copy engine on GEN12LP
Change-Id: Ifd82abcb830a52d0e38e83a52c095da275e671fb
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-4233
2020-05-15 13:52:45 +02:00
Filip Hazubski
0a6da52bd4 Add implementation of new OpenCL 3.0 API functions
Additionally unify implementation of API functions related to creating buffers
and images.

Related-To: NEO-4368

Change-Id: Icfafc32f15e667e249fb318072194b6f76bd6481
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-15 12:09:08 +02:00
Bartosz Dunajski
37a6a900a8 Minor TagAllocator cleanup
Change-Id: I7d7c522e32ddf7eb614714c5e81b5b7b88129165
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-05-15 11:40:43 +02:00
Mateusz Hoppe
35abaf4592 Add aub test with printf kernel
Change-Id: If241bcf10875c49614a7ad5dbbba5a17bd526c2e
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-05-15 11:13:35 +02:00
kamdiedrich
caef990788 Silence clang-tidy
Change-Id: I56abcad79d59164d2f7bf906fb34b0c8b4c03c13
2020-05-15 10:46:39 +02:00
Adam Cetnerowski
570b234dea ULT renaming: Get Mem Object Info tests
Related-To: NEO-2236

Change-Id: I0b744f3db941dbdddf96649277b0e05459e28aba
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-05-15 10:32:07 +02:00
ocldev
49febbd061 dependencies update
Change-Id: Ia0105a6b8e3bb39a4ea7ead348c84bd6d297b435
2020-05-15 10:25:52 +02:00
Filip Hazubski
86c2869a6e Add clSetProgramReleaseCallback function implementation
Related-To: NEO-4368

Change-Id: I5dff2759abcff457930a06226b71ad64e2f69c28
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-15 10:11:15 +02:00
Mraghuwa
070c9b060b Redesign ULT by mocking sysfs and implementing for standby
Change-Id: Id2558122406f23e96e3115d57e7b82d04463bfc4
2020-05-14 19:41:28 +02:00
Jitendra Sharma
596c1a8e70 Implement zetSysmanProcessesGetState API
This change does the following:
 - Implement API zetSysmanProcessesGetState.
 - Implement ULT to validate zetSysmanProcessesGetState's implementation
 - Redesign ULTs for zetSysmanDeviceGetProperties to mock only OS specific
   classes, and validate zetSysmanDeviceGetProperties's implementation end
   to end.
 - Some bug fixes in code that are caught by these new ULTs

Change-Id: I4a83789771d32978576ff62859628df2c0c795ad
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-05-14 19:33:46 +02:00
Krzysztof Gibala
7e8de05bd6 Correct calculation of offsets for Blitter
Change-Id: I594547442efdf36b9a30178653e9611fac06df63
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-05-14 19:14:58 +02:00
Pawel Wilma
21099b2668 Use RCS as default engine on TGLLP
Related-To: NEO-4657

Change-Id: Id767f0183d7014db5ef6f810d19e3eea95a18afc
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-05-14 18:59:14 +02:00
Bartosz Dunajski
cb09e50e61 Fix CPU dependency handling for TimestampPacket
Change-Id: Ia75f4ea7eea10ca84ffa4b3d92d98942804be8d0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-05-14 17:08:25 +02:00
Kamil Kopryk
c8012fd1d4 Refactor isSpecialWorkgroupSizeRequired helper
Change-Id: I5a26b921bac4ed51929d99a792a200265f9606af
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4648
2020-05-14 16:40:19 +02:00
Vinod Tipparaju
c98949fd37 Fix thread safety violations within runtime allocators
Change-Id: I925d15429de314e3d3287f41a054732181911851
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-05-14 16:27:55 +02:00
Sebastian Luzynski
ac62fce964 Rename os specific function
Related-To: NEO-4638
Change-Id: I0380739b3f661894155768ebd96f7f20f784b842
2020-05-14 16:09:36 +02:00
Filip Hazubski
75b2cac097 Correct programming device info
Related-To: NEO-4368

Change-Id: I7bebb8754d7e653806f682f1931840f9bdb651ee
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-14 16:03:22 +02:00
Dongwon Kim
7157b41856 Prevent writing to null ptr if malloc fails on cpuAddrBo
Change-Id: Ie83224c993fa3fc308551f009dadddca29549057
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
2020-05-14 15:41:00 +02:00
Kamil Kopryk
bc94d79c2e Fix isSimulation
Change-Id: I5f4e4996561acce44c1af9572af1855573262d1a
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-05-14 13:12:17 +02:00
Adam Cetnerowski
e6e036e77d ULT renaming: Destructor Callback tests
Related-To: NEO-2236

Change-Id: I303c5260ae05b9644692ce96f01d05d89053da90
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-05-14 08:44:29 +02:00
Pawel Wilma
c59fd6484b Debug variable to override preemption surface size
Change-Id: I38934e743d7e763e56519046f38a837f2e735663
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-05-13 19:43:13 +02:00
Adam Cetnerowski
ce5b29971e ULT renaming: Get Mem Object Info tests
Related-To: NEO-2236

Change-Id: I7c2cbf7b80f71add69a9d18c20a1a037071192c8
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-05-13 17:05:35 +02:00
Katarzyna Cencelewska
cccf0d0b89 Update infra revision
Change-Id: Iac5388594c571999657151b43a0bcb5156dd2c5e
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-05-13 16:54:40 +02:00
chmielew
10cb4d597f ocloc asm fix copyBinaryToBinary
Change-Id: I6f1ae0a4e569c5cc936bf3ca342f9cdd376dc687
2020-05-13 16:35:27 +02:00
Mateusz Hoppe
ac426b5108 TBX csr downloads allocations on queryStatus calls
Change-Id: I57fd98f4227b6d03430db6b96cfd21dd726919a3
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-05-13 16:28:19 +02:00
Mateusz Jablonski
f3cb94c491 Add missing destructors to os thread classes
Change-Id: If1d513fbeaa2b1d7a353f3321f992a16e8f3a80e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-05-13 14:09:35 +02:00
Dunajski, Bartosz
bd9fe606f2 Revert "Add entry points for memory placement overrides."
This reverts commit 997dcd607f.

Change-Id: Id5abadbff302cc1a7ff3d9da9ee62883498e7c22
2020-05-13 09:24:22 +02:00
Piotr Maciejewski
982c26202b Metric query/tracer fixes.
1. Disable oa configuration cache on Linux.
2. Do not allow to create mertic query during tracer usage and vice versa.

Change-Id: I139416a92ac8604c8b46b254b533abf6038c2351
2020-05-12 22:58:22 +02:00
Jaime Arteaga
415954e7a7 Correctly use debug variable for enabling copy lists and queues
Change-Id: If7dd67e6d2f2aa49f15ca6ce0e6b2dac6ff8e04e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-05-12 21:16:01 +02:00
Jitendra Sharma
fe719f2665 Redesign ULT by mocking sysfs and implementing for scheduler
- Redesign the ULT to implement OSSpecific ULT by mocking only sysfs
- Fixing the Engine type "RCS" to use by default

Change-Id: I551374ab02da03fe2e4168fd6a30aa8ccaf3dd3e
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-05-12 21:02:45 +02:00
Mateusz Hoppe
77e4ac0a18 Bindless addressing support in EncodeDispatchKernel
Related-To: NEO-4607

Change-Id: Ib89b07f71f32c3a623f86212b5305b4aa02e1fb7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-05-12 21:02:06 +02:00
kamdiedrich
080609e174 Add flush after write to CPU memory
Change-Id: I199c8b203f1afdf648f6520f13b0498efb760c84
2020-05-12 20:34:28 +02:00
SaiKishore Konda
fda985aa0e Engine OSspecific ULT implementation
- by Mocking sysfs class and implementing OSSpecific(Linux)

Change-Id: I2eabf24e44e92b72e73bc323206776440b330b83
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-05-12 18:18:37 +02:00
Filip Hazubski
b817d3e95a Enable overriding OpenCL version to 3.0
Related-To: NEO-4368

Change-Id: I6e2469861ca98649050b0f6251064ae6cce673be
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-12 17:32:00 +02:00
Krystian Chmielewski
caee16d968 ocloc package with ocloc binary, ocloc library, and ocloc library header
Change-Id: I252ecdf9cff1ca20e39b2b4b5675410ac51ed38a
2020-05-12 17:21:14 +02:00