Commit Graph

4903 Commits

Author SHA1 Message Date
Sebastian Luzynski c38f95592e Add L1 cache flag in hw_helper.
Related-To: NEO-4611
Change-Id: Ie135a2d5ff4f18f5d3b26202b2b6e53781e97501
2020-05-20 07:04:50 +02:00
Jaime Arteaga 8ce44b0689 Expose devices according to ZE_AFFINITY_MASK
Change-Id: Ic8025a818b006c25f790688ef51bda6eeb4f03ad
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-05-19 19:35:46 +02:00
SaiKishore Konda 80f9b5e45a add support for zetSysmanPowerGetEnergyCounter
-- add ULT support for power

Change-Id: I37ebebb62c3433a1efe106d6b6546955a2d6effb
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-05-19 19:20:36 +02:00
Jitendra Sharma 135851e218 Fixes for APIs zetSysmanDeviceGetProperties and zetSysmanProcessesGetState
This change:
 - Fixes the problem of last character truncted from strings returned
   by zetSysmanDeviceGetProperties() API.
 - Fix ULT to validate them.
 - Return UNSUPPORTED_FEATURE in case zetSysmanProcessesGetState()
   fails to find required sysfs nodes in filesystem.

Change-Id: I4b18688c13b1971a1654a41a5a0ef1949330ed10
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-05-19 18:47:41 +02:00
Bartosz Dunajski e36d95e039 Add helpers to avoid offsetof usage
Change-Id: I8f0ec5240b2ec2bd99b712271d87b88ffed2c5b3
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-05-19 17:45:53 +02:00
Filip Hazubski 74649d3f40 Update SettingsFileReader tests
Fail when value is present in file but not in code.

Change-Id: I03bd9b11c4d2c0c69c2511b53926010c1f89f055
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-19 17:26:40 +02:00
Jacek Danecki d3c928189f ci: build Level Zero on Travis
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/308

Change-Id: Ie4352973ef86786974aeba5d05eee96ec701d91f
2020-05-19 14:21:59 +02:00
Jacek Danecki 844a3e7f75 doc: update distributions lists
Change-Id: I6abfc8b481d2fb9add2145d96dec3e711c93cd34
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-05-19 13:44:11 +02:00
chmielew 5a6144a5ce ocloc multi - fatBinary support
Change-Id: I0bb59829fbd01c798b26e8d6ef01c4ccd4280ae1
2020-05-19 12:51:14 +02:00
chmielew ce04f0d0e3 ocloc fix multi command not recognized
Change-Id: I63b48ec09ce8ec083ce489ea11755f9f12cd9128
2020-05-19 12:38:16 +02:00
Michal Mrozek f76d66da66 Add entry point for special kernels selection.
Change-Id: I60321de32e13d242b2daf8899ffe539dcc04247e
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-05-19 10:56:32 +02:00
davidoli a1c06bd8c8 Add code for GTPin handshake at init time.
Change-Id: I1f572d9e036d4d5b5c6999518d40c9c4ba094649
Signed-off-by: davidoli <david.olien@intel.com>
2020-05-18 21:18:03 +02:00
ocldev 653bdc0616 dependencies update
Change-Id: I24cfe62287879a6ff396d43b92a306d456e30411
2020-05-18 16:03:35 +02:00
Adam Cetnerowski f54931b2ce ULT renaming: Image2D from Buffer tests
Related-To: NEO-2236

Change-Id: I848192722497dc3dee0ced4b803bbf56d99e1cbe
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-05-18 15:53:44 +02:00
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
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