9d6dcd6fff
Use Kernels maxKernelWorkGroupSize to compute WG size
...
Change-Id: I947b5612f36cd2437e1ead98712c914ffe4b5b15
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-09-17 08:39:05 +02:00
ca94628058
Refactor setting max workgroup size for Kernel
...
Change-Id: I2a489d60a3ec9ee363c10e3a5f12b6c7ba4e8dd8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-2946
2019-09-16 19:44:56 +02:00
5c120893ed
Move method isMultiOsContextCapable to CommandStreamReceiverHw
...
Related-To: NEO-3691
Change-Id: I3169ee8d5a29b8f562b70403b2fa9ebba7601a48
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-16 14:46:11 +02:00
5d640e7100
Remove multiOsContextCapable flag from GraphicsAllocation
...
Change-Id: I3ebeef39befdc2a3e0f9d7d76ae531622ecf1a42
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-13 13:55:42 +02:00
2e8e6bdb18
Move majority of utilities to the core dir
...
Related-To: NEO-3677
Change-Id: If2e876028b765ad3ecf5f75db8755623b82955b8
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-12 15:07:02 +02:00
523d2af942
Get a Memory Manager directly from an Execution Environment
...
Change-Id: I11fcdc08928405eed4efe3ead2f863fa30cf1427
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-10 10:35:30 +02:00
37a805af62
Adjust tests to HwHelper settings.
...
Change-Id: Ibc775edc30659099b23d11a102190d228862a411
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-09-05 15:53:32 +02:00
29613a2b1a
Allow to set shared system memory pointers in constant buffers.
...
Change-Id: Ie2a811c0f50abf667df82517abf2291e00a18460
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-09-05 07:36:02 +02:00
b25422deb1
Refactor a createUnifiedMemoryAllocation method
...
Related-To: NEO-3330
Change-Id: I3703d2474b7b3c91d584c165952d2762c7423bab
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-04 19:45:11 +02:00
76fe09c2a9
Handle page faults while accessing unified memory
...
Related-To: NEO-3330
Change-Id: I7e21f894e9d1c82598954c49342d1f65af07498f
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-04 13:28:53 +02:00
c1f0949a67
Return error on device queue creation attempts if not supported.
...
Change-Id: I571433ec3f02ac7570c85949b636c86efc133abe
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-09-03 14:59:02 +02:00
1635bef9a8
Tests update: create memory manager for command stream receiver
...
Change-Id: I89b577759d6da112049a8b0135ae488f2849c140
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-03 14:24:02 +02:00
18982bd016
Move memory for slm window to memory manager
...
remove redundant methods from MockDevice
Related-To: NEO-3007
Change-Id: I9cc819b9c9118dbb667f5bf87d1bf15787f9b67f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-08-28 12:09:17 +02:00
9a67b2d784
Add flag to kernel that specifies whether stateless writes are used.
...
- currently no compiler support yet, hence it returns true.
- minor cleanup of kernel tests.
Change-Id: Ic153810b1a6062d0bae22d6faab5db601764dd98
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-23 11:56:04 +02:00
d35c20f430
Collect patch info for scratch/global/constant/private
...
Related-To: NEO-3342
Change-Id: I0b594219cedf5d13d1eb70514816e8048938772e
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-08-14 13:52:28 +02:00
926c7a2a97
Detect read only for arguments with const qualifier.
...
- This will catch __global const *int allocations as read only.
Change-Id: I0d128ba7c31d476d1f144233e1c3dec370f9f550
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-01 10:16:58 +02:00
c9e25a0faf
Mark constant arguments as read only in kernel argument info.
...
Change-Id: Icf49d9da060a144bc73e580ab77245e580e4812d
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-31 12:57:35 +02:00
dcd8728519
Use range-based for.
...
Change-Id: I758f6d5fcbf75baae454dedc9467532bc0b8c9d5
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-07-30 07:57:43 +02:00
a141911e19
Correct misspelled identifiers.
...
Change-Id: Ifa629c0d6bb1b04b5cfde908f2672ef1843043f0
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-07-17 17:45:52 +02:00
7c30e1ed4a
Add CMake flag to control device enqueue
...
Change-Id: Ia2ba2c5437adeca2c0335f5a2ffd28a6a2881a2a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-2942
2019-07-17 10:21:10 +02:00
89d1878cd6
Rename engine member in CommandQueue
...
Change-Id: I01516616c164f19afbcd62d39a2a42d04ff768c9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-15 17:53:01 +02:00
fe26b0b406
Move debug_manager_state_restore.h to core.
...
Change-Id: I3ef4a1aec40efa4bbc8346a5b517336c42c06519
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-15 17:21:38 +02:00
9d723a10aa
Move enumerateLeak to core.
...
- remove not used parameter.
- remove the usage of default parameters.
- move some constants to memory management as well.
Change-Id: Iedf374568fa3594ffad6b53534e4483485863324
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-15 13:53:03 +02:00
0440b86d05
Rename SVM Memory Manager to Unified Memory Manager.
...
Change-Id: I1d7637a5aaca3ef5190c4f6303c81060f95744a9
2019-07-12 11:22:09 +02:00
ce061a48ef
Support for symbol/relocation tables
...
Change-Id: I87890f6dc36a3454ffdcab1fb9d070fdaf91e689
2019-07-10 16:51:43 +02:00
41cca6d790
Use GraphicsAllocation for blit operation instead of Buffer object
...
Change-Id: I7e59a25db97082a6396d441a8fa603df27d6424d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-07-01 11:23:27 +02:00
223b998d92
Handle PATCH_TOKEN_MEDIA_VFE_STATE_SLOT1 patch token
...
Related-To: NEO-3190
Change-Id: I3e357f7e21a58e5bd2aa8cb8005b720c690664f2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-28 01:48:50 +02:00
56e77ca452
Add BlitProperties to simplify properties passing
...
Change-Id: I4abf99d420487a237e5b465b9d4d121121f45a84
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-27 16:31:40 +02:00
165d1e4e55
Use GfxPartition for GPU address range allocations
...
[2/n] - OsAgnosticMemoryManager
Related-To: NEO-2877
Change-Id: I887126362381ac960608a2150fae211631d3cd5b
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com >
2019-06-25 12:54:20 +02:00
bb6dfd4fe6
Add debug flag to disable aux translation
...
Change-Id: I1f3a2941de44e9fe793ef3f1c6425c80293cc63a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-06-25 12:03:52 +02:00
3a75c4fb71
[7/n] Unified Shared Memory.
...
- Add basic allocation support for shared allocations
- Add kernel support for shared allocations.
Related-To: NEO-3148
Change-Id: Ie0523acc3a444eef6a5aeb6a56a041280df6a02e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-18 09:17:16 +02:00
2e8e625024
[5/n] Unified Shared Memory
...
- Add kernel support for host um allocations
- During make resident call choose only appropriate resources for residency
- change resource types to binary bit friendly values
- enhance memory manager to only make resident compatible types
Related-To: NEO-3148
Change-Id: Ic711a4425a0d8db151a335e0357440312dc09b7e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-17 15:47:30 +02:00
3e88907201
Enqueue Read/Write operations with blitter
...
- Program dependencies from Event and IOQ
- Obtain new TimestampPacket
- Update output TimestampPacket if needed
Change-Id: I4ad020f5c5b05ceca8b096fafe1257523e2bc343
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-17 12:01:37 +02:00
a5c4956bbd
[3/n] Unified Shared Memory
...
- Add vector of UM allocations to kernel that will be accessed indirectly
- Wire in support to clSetKernelExecInfo
Change-Id: I5858f2a93ab957597f3131022daee3741c3453ab
Related-To: NEO-3148
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-14 15:05:39 +02:00
be48b56732
Kernel refactor.
...
- Change function names to indicate they work on SVM allocations.
- Remove one function used only in tests.
Change-Id: I9b18d9fee3d4f2a46a7f458ca73d39b3863ce6d3
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-14 10:27:21 +02:00
8e969684f1
[2/n] Unified Shared Memory
...
- Add kernel flags specifying indirect usage of device allocations.
- make device usm allocation resident when kernel requires this
Related-To: NEO-3148
Change-Id: I689347a0ea9b0f84c83f7883ca2381be63c61af9
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-14 09:56:40 +02:00
70f92cf03c
Rename KernelCommandsHelper to HardwareCommandsHelper
...
Change-Id: I0b92a2d74bc96658274e4a02fec0f322e87681b2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-06-12 13:45:12 +02:00
c8c2e64ec6
Add blocking flag for bliter operations
...
Change-Id: I61f672780c2108961eaed40b5d5be257f3c34566
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-06-04 21:39:43 +02:00
befbffc967
Support offsets in blitter
...
Related-To: NEO-3020
Change-Id: I7ce13f0cf890c47fd40e92b5bb20c4f4ce291653
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-06-04 16:16:37 +02:00
7cc855cc72
Update kernel test
...
Resolves: NEO-3149
Change-Id: I736fc6fd84b1a8c4f6cbcac11ee40635d7fdfba4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-05-29 14:01:57 +02:00
b98b51b0d9
Move ptr.h to core folder
...
Change-Id: Icf0db7c767b2b1ea44fccc02b135f0f6c1f78c8f
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2019-05-29 00:11:34 -07: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
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
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
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
0f87e9aa1a
Rename HardwareInfo members
...
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-05-09 09:13:55 +02:00
bb80d327c7
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
...
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-05-08 16:11:01 +02:00
445ee08ace
Fix typo
...
Change-Id: I8cd853e00da7a09d20e7a43e366f1e2c45a7230c
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-04-25 20:22:50 +02:00
dd442a213b
Fix typo in variable name
...
Change-Id: I8ffa5e7627c791a4c35e84a0f01a89643e3eb595
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-04-23 17:27:06 +02:00