40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-09-20 18:02:35 +02:00
962b6ce883
Add support for cl-gl sharing
...
Change-Id: I08d7608722746baa3be61846e05eecb5419cc136
2018-09-18 11:18:46 +02:00
8e33ec04c5
Create separate command stream receiver for every device.
...
Change-Id: I8073380941e2a3bfe57610e6e437bdc177dcc2d5
2018-09-12 09:32:41 +02:00
377b99be90
Pass device index to create method..
...
Change-Id: Iab493edf1b96a6cecf6e3dba6813824529f0c08b
2018-09-11 16:26:54 +02:00
1530d7832f
Store command stream receiver in device.
...
Change-Id: I133ce4435e189e5bb8473ad4736fe0b02047dffe
2018-09-11 13:31:04 +02:00
05b93ef221
Add method to device that returns device id.
...
Change-Id: I0fc5d1e37eb6f49a513c202a89db07ef539646f3
2018-09-07 12:02:28 +02:00
cb2b45625a
Assign numerical value to OsContext.
...
- will be used for all array based accesses.
Change-Id: If93efc874f05780d60573fe8359beccea8ff0f77
2018-09-07 06:49:53 +02:00
75e26f39b1
Move ownership of OsContext to memory manager.
...
- register OsContext when device is created
- memory manager controls residency so it needs to have control of
OsContexts underneath
- device may be destroyed while OsContexts may be still in use
Change-Id: If08df7686f5448a1e7b0b6ced20b37a1e8ba2cd6
2018-09-06 10:05:28 +02:00
92bfd2e3d2
Move OsContext to Device
...
Change-Id: I030b65372fbdc075423d22720e9da34ac65b8e68
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-09-03 10:42:26 +02:00
83537d55bf
Add HardwareInfo argument to setupHardwareCapabilities method
...
Change-Id: Iaf75459402d4f1ec3048646d646b130dcc710b2f
2018-08-24 08:30:52 +02:00
9ac3529c6b
Remove template parameter from Wddm methods
...
Change-Id: Icd700c7215184d4c0f9564c61868a1f9f29a75e5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-08-23 16:37:31 +02:00
b91c14f70e
Delete Device::getBuiltIns()
...
Change-Id: I9d1968dfb2ba4a56020fd17152119add726106e1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-22 16:54:53 +02:00
e0e48203d2
Move BuiltIns to ExecutionEnvironment
...
Change-Id: Ib2a1b82cc7858c898bb32820aad106a01d1325ad
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-21 23:15:47 +02:00
1ad70dfebe
Decouple memory manager and device
...
Change-Id: Ia64cc955e1d290cad4c50b6a2a41052d9acf0eec
2018-08-20 13:44:31 +02:00
931ed38a57
[3/n] Wddm Cleanup.
...
- remove different flavors of Wddm
- rename files for better meaning
- remove unnecessary files
- remove unnecessary methods
Change-Id: I73a35e186a9a99169260bb157958ff795b36e20d
2018-08-16 10:07:24 +02:00
d9f77550f2
Refactor SourceLevelDebugger mocks after moving SLD to Execution Environment
...
Change-Id: I459cd4ae00a57412ac30029e94399051d2b2fc75
2018-08-04 13:52:20 +02:00
98061903aa
Remove device helper
...
Change-Id: Ie66c029359a62b81c8658d804dcf8565647100f1
2018-07-26 14:10:05 +02:00
fb67598ff2
Remove tag allocation from device
...
Change-Id: I9f463ee7d8f21722f8c0b343200a3b5125c02ab7
2018-07-16 14:54:16 +02:00
0abacce160
Move tag allocation destruction to command stream receiver.
...
Change-Id: I657df755c6cdd695103769a45a8dce749f7bd545
2018-07-16 13:12:53 +02:00
0c094c05e5
Limit scheduler kernel GWS to one workgroup in SimulationMode
...
- add ftrSimulationMode to FeatureTable
- set GWS in computeGws() when isSimulation() is true
Change-Id: Id3fb55ada4c8c5d8216a2b89d0878dc5cd1697ad
2018-07-11 17:20:24 +02:00
4fb02f2e99
Ensure that every device has execution environment.
...
Change-Id: I77a203fb5ffd2c6a9309091f5e048f71c58c4c04
2018-07-11 12:53:18 +02:00
94dbdb602d
Add instance of gmm helper to execution environment
...
Change-Id: I1b044611fbad91fbb681ba233938f41502f29056
2018-07-06 08:48:19 +02:00
ad96adfcef
Remove isRootDevice logic.
...
- Our device are always root devices.
Change-Id: I057485cda9fba2988b0910f5349f7ced527abe29
2018-06-29 11:22:41 +02:00
3e65a39c62
Move device name to device scope.
...
Change-Id: If7df4c8f97fa6b0c6f9449ae6802386c639241c2
2018-06-21 17:53:42 +02:00
d74e179aee
Decrease maxMemAllocSize for BDW to 2040MB
...
Change-Id: I239fc513c829589f4f457ac23b49c302712f8db8
2018-06-12 13:40:58 +02:00
bd16f4bf2b
Improve scratch allocation size calculation
...
Change-Id: I627bea89ce31e7110976cb88f9e9266e08af590a
2018-06-06 16:27:48 +02:00
e6a9d30951
Add debug flag to override fp64 capabilities
...
Change-Id: I5078aaaeeb58b4821e7c9ae4b01e0a8261a5c8da
2018-06-06 16:12:37 +02:00
a9566e0c05
Return true in Device::isSimulation() when AUB or TBX CSR is selected
...
- when CSR is set to AUB or TBX (with AubDump) Device should
return true in isSimulation(). This method is used to set flag
m_IsSimulation in deviceQueue which is used by scheduler kernel
Change-Id: Ibdf07d4c940335fb0bb8448071b66d47e9391d71
2018-06-06 14:24:24 +02:00
c104db1d5e
Source Level Debugger - disable support on BDW
...
- suppress Gmock warning in DeviceWithSourceLevelDebugger test
Change-Id: Iab9190d3fd7a17741baf87ebe1fbc7244631653b
2018-05-23 17:23:40 +02:00
430f6def75
Wddm interface [5/n]: cmake improvements to find all existing source files
...
Change-Id: I2f3f004b964f472085a1f036b40f0552489ac288
2018-05-16 14:57:14 +02:00
44e54ef69b
Wddm interface [2/n]: Move WddmMock to igdrcl_mocks + more cleanup
...
Change-Id: I993312c1e17fb474e142424b154666f8af6a4170
2018-05-08 15:57:38 +02:00
d71b46bdae
Use configure_file for NEO_DRIVER_VERSION instead of source file property
...
Change-Id: I76888a7eb2a2c6e228306b5c740c55c6abff93da
2018-04-27 10:13:28 +02:00
180de340d8
Define variable with binary name suffix
...
use this variable in tests as it is set once in main.cpp
create function to get binary kernel filename
Change-Id: Ibf7b4c2d390caefda4a5d7fc4667006e7f2edde8
2018-04-25 15:34:34 +02:00
d516cd6edc
Don't expose mipmaps on 1.2 devices
...
Change-Id: Id7949266f29ef06ae71c88725298822055ca7c13
2018-04-13 11:22:33 +02:00
a6459b0496
Add test for GET_DEVICE_VERSION + clGetDeviceInfo.
...
Change-Id: I3894552237bb1c56efcd4da651c9b9be71980cc0
2018-04-13 07:06:59 +02:00
0a97dfbb2f
[1/n] Mipmap support
...
* adding support for map/unmap
* adding support for origin/region validation with mipmaps
* fixing slices returned in map/unmap
* removing ambiguity around mipLevel naming
* enabling cl_khr_mipmap_image in current shape
* enabling cl_khr_mipmap_image_writes in current shape
* fixing CompileProgramWithReraFlag test
Change-Id: I0c9d83028c5c376f638e45151755fd2c7d0fb0ab
2018-04-05 01:09:27 +02:00
cef24fdd4d
removing MMF from DeviceTest
...
Change-Id: I023108c137e21ec63bcd3a17ad69489282084591
2018-03-30 08:46:03 +02:00
7039ababb9
fix stringification of NEO_DRIVER_VERSION
...
use preprocessor sequence to convert define value to stirng:
#define q(a) #a
#define tostr(b) q(b)
Change-Id: If0a9ccfcc543523309be4995c05125bf8fbf2081
2018-03-29 09:23:24 +02:00
8254d6a081
Ensure that submissions are flushed prior to csr destruction.
...
Change-Id: Ie04de561d3d295f40f55a19f01274d873d259abd
2018-03-12 12:54:47 +01:00
38c352d044
[12/n] Internal 4GB allocator
...
- allocate graphics allocation for sip.
Change-Id: I18f12251d3ce812d53cc1c8c78079a9ba3fd3b3d
2018-03-09 14:19:06 +01:00
6db6c67957
Cmake refactor part 9
...
igdrcl_tests: define sources in subdirectories D-G
Change-Id: Ie9adb3a1f78ce922f07a90c1e7268acb776df3a0
2018-03-07 19:42:51 +01:00
1207da92a3
Change max image3d dimensions for gen8
...
- gen8 has lower max image 3d height and width
Change-Id: Ibe94a24cba488a5ebf582992a5f7a4d5bad801f8
2018-02-21 13:17:03 +01:00
60a8aa1b17
Add missing device caps.
...
Change-Id: I53958f185e7365872d6161b29cc5b62a0f8d8398
2018-02-21 09:00:29 +01:00
5c746131f1
HW CSR with AUB dump to operate on real device (HW Info)
...
This commit ensures AUB files to be dumped for real device
in the configuration CSR HW + CSR AUB.
Change-Id: I7b5f740440aae062d2f5ad7ad8b9c3b4f2207ddd
2018-02-19 13:11:43 +01:00
ff44e9922d
Used ratified Khronos extension names
...
Change-Id: I15b62b6f5fb805efedec5cd9e14215a94d97c8f6
2018-02-13 13:33:27 +01:00
5a175cf1cf
Override engine type used by device in Device ctor
...
AUB tests do not use DeviceFactory class to create Device objects but still
need to have a functionality to override default engine type
Change-Id: I6841cb0a9c5726ac4308c742c78cf7a61829f168
2018-02-12 16:50:35 +01:00
012b8bd73c
Adding initial PreemptionMode::Initial
...
- account for initial setting (when set mode was equal to initial(Disabled))
estimate size in cmdStreamCS, program MMIO
Change-Id: Ice218ae986583c8f3bab4f4f6979e38f03e30d7e
2018-02-08 16:21:52 +01:00
1cfe5344fc
Enable throttle hints extension.
...
Change-Id: I996fce8dbc792d77dc85df143ba5c0aa1cad83e5
2018-02-06 17:01:37 +01:00
6ef0581a02
Device caps fixes.
...
Change-Id: I07cfd98f525ce2b87bc5f96060ed31fb9fc48783
2018-02-06 14:24:16 +01:00
e6603a56f4
Create sip kernel when device is created
...
- This moves expensive sip kernel creation outside of enqueueNDRangeKernel
Change-Id: I4d09df46d993fa8f751468ed3adcff056e05ce13
2018-01-30 16:49:01 +01:00