Igor Venevtsev
63fd26f6d6
Always specify rootDeviceIndex for graphics memory allocations
...
Related-To: NEO-2941
Change-Id: Ia2362fd6b4e72ede02919152475f40b3edbc3658
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-11-15 15:14:41 +01:00
Jaroslaw Chodor
90e5cf164c
Moving hash and file_io to core
...
Change-Id: I1e6eece53fadf62a8919aa41e04deee3dac2ce60
2019-10-17 13:16:20 +02:00
Chodor, Jaroslaw
856e5c6aaf
[1/N] compiler interface refactor
...
Decouple compiler interface from Program object
Change-Id: Ibd63c6eee01d85527318ccad52e52f5487d3402e
2019-10-16 16:17:13 +02:00
Jobczyk, Lukasz
3bd4baeba3
Move a unified memory manager to the core dir
...
Related-To: NEO-3677
Change-Id: Ib60dea2bcaaf5feea97d61cb9f54baee4c6b4b64
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-27 10:46:35 +02:00
Mateusz Jablonski
9c200530c8
Remove not needed inclusions of device.h
...
Change-Id: Idfd8122592f58539a569143146443c08a18dace9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-09 15:05:29 +02:00
Jobczyk, Lukasz
882a216688
Move Debug helpers to the core dir
...
Related-To: NEO-3677
Change-Id: I2c98595190fadfa8ffd9e378e774c0d4485cbf9e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-05 16:00:35 +02:00
Mateusz Jablonski
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
Jim Snow
4360aff03c
Move runtime/helpers/aligned_memory.h to core/helpers
...
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
Change-Id: I15de094c51d4eb18bfff4d17fd34e817b5525fda
2019-08-06 23:56:24 +02:00
Piotr Fusik
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
Maciej Dziuban
81035485c1
Validate return value of getSVMAlloc()
...
Change-Id: I02ad5874fa40756f200f48c26588d7a6f72c65c9
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-07-26 07:14:55 +02:00
Zdunowski, Piotr
1460713d69
Fail build program if local mem size is higher then device capabilities.
...
Resolves: NEO-3411
Change-Id: I04e0b97bfeb9e66e4ea730a15e0c6bfd764cab62
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com >
2019-07-22 17:48:23 +02:00
Raiyan Latif
ca74489172
Move string.h to core helpers
...
Change-Id: Ibaaab077ef2867b5e0db3bd215c261de9294063f
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2019-07-19 07:21:00 +02:00
Chodor, Jaroslaw
22c22f75d5
Relocations fix
...
Don't touch isa allocations if relocations are not needed
Change-Id: Ie0a5d656fb8db31b0d2f24627a5a675aaaf91bd5
2019-07-17 19:19:43 +02:00
Piotr Fusik
a141911e19
Correct misspelled identifiers.
...
Change-Id: Ifa629c0d6bb1b04b5cfde908f2672ef1843043f0
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-07-17 17:45:52 +02:00
Mrozek, Michal
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
Chodor, Jaroslaw
ab74b606e9
Fixing regression in progvar_prog_scope_init
...
Change-Id: I20424ce9e0c9a295bb8b9d5608252c3d4802e9da
2019-07-12 16:51:39 +02:00
Mrozek, Michal
0440b86d05
Rename SVM Memory Manager to Unified Memory Manager.
...
Change-Id: I1d7637a5aaca3ef5190c4f6303c81060f95744a9
2019-07-12 11:22:09 +02:00
Chodor, Jaroslaw
ce061a48ef
Support for symbol/relocation tables
...
Change-Id: I87890f6dc36a3454ffdcab1fb9d070fdaf91e689
2019-07-10 16:51:43 +02:00
Mrozek, Michal
c093f27888
Wire in support for compiler passed work group order.
...
- Also add a support to state that values were passed.
Change-Id: I80006dd16984feb96dce1ac909153c191f9831cd
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-02 08:18:41 +02:00
Mateusz Jablonski
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
Mateusz Jablonski
7a3b2e583b
Use GPU pointer when programming constant/global surfaces
...
Related-To: NEO-3127
Change-Id: I29fd5e3f3f370c21a20f403f66c0a3604be884fd
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-21 14:20:22 +02:00
Jaime Arteaga
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
Maciej Plewka
9e52684f5b
Change namespace from OCLRT to NEO
...
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2019-03-26 15:48:19 +01:00
Mateusz Jablonski
6fb28dd828
Refactor GraphicsAllocation class
...
move most of members to protected section
merge related members into structs
Change-Id: Ief2e092aa5e61ca6f13308f9d9b1937ea6c913b4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-02-28 14:09:11 +01:00
Filip Hazubski
8b57d28116
clang-format: enable sorting includes
...
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library
Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-02-27 11:50:07 +01:00
Mateusz Jablonski
8ec072d39c
Simplify Memory Manager API [3/4]
...
- remove method allocateGraphicsMemory(size_t size)
- pass allocation type in allocation properties
- set allocation type in allocateGraphicsMemoryInPreferredPool
Change-Id: Ia9296d0ab2f711b7d78aff615cb56b3a246b60ec
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-12-17 10:42:16 +01:00
Mateusz Jablonski
a6be6533ea
Simplify Memory Manager API [2/n]
...
- make AllocationData a protected structure
- use AllocationProperties instead of AllocationFlags
- refactor methods: allocateGraphicsMemory64kb, allocateGraphicsMemoryForSVM
- call AllocateGraphicsMemoryInPreferredPool in AllocateGraphicsMemory
where there is no host ptr
Change-Id: Ie9ca47b1bccacd00f8486e7d1bf6fb3985e5cb12
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-12-11 13:12:00 +01:00
Maciej Plewka
82e3b1e146
Move igcInfo for gtpin to kernelInfo
...
Change-Id: I952facac33e759ce81982f69a4ce05ffe545cea0
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2018-11-23 16:38:10 +01:00
Zdanowicz, Zbigniew
bb62343aba
Add new parameter to thread data dispatching
...
Change-Id: I86710b0cc764156f4c2db9d24ccd1c96b32d7660
2018-10-05 12:06:25 +02:00
Pawel Wilma
e06aa17dfc
Grf configuration
...
Change-Id: I3741f53a38c6707b0c8ad82ae553ea65ae6917e4
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2018-09-27 17:57:19 +02:00
Zdanowicz, Zbigniew
1346148d69
Add new field to PATCH_TOKEN_THREAD_PAYLOAD struct
...
Change-Id: If458d5a118113daf222975670244cb2b9e63ec27
2018-09-26 03:12:50 +02:00
Venevtsev, Igor
7c94409ce8
Change MemoryManager::allocateGraphicsMemoryInPreferredPool() signature.
...
Remove allocateMemory param.
Add AllocationFlags and DeviceIndex params.
Change-Id: I3ba048f8ea9840a047a3222dc1e97be2105c2222
2018-09-20 13:04:21 +02:00
Cetnerowski
8647e0c349
Improve KernelInfo handling:
...
Remove wrapper for KernelInfo constructor
Switch to unique pointer where possible
Change-Id: Ib3f323e34836e1d189d836fd539ab45518609610
2018-08-23 13:55:28 +02:00
Plewka, Maciej
392277ff00
Enable 'Pass info between GT-Pin and IGC', after being reverted
...
This reverts commit ea92874a66 .
Change-Id: I4994b30f059012a5e89d899665af5c24b8ac8b18
2018-08-07 17:28:54 +02:00
Chodor, Jaroslaw
c10d0d79f5
Workgroup walk order
...
Change-Id: Id02db6a383e21dc17be64655e7f51a84103b2e0b
2018-08-07 13:54:10 +02:00
Hoppe, Mateusz
4441387969
Refactor allocateGraphicsMemoryInPreferredPool
...
- extend AllocationType to code necessary flags
- remove redundant args
- refactor Buffer::create()
Change-Id: Ic4b2e0931fad8198ad1cf4f79de210d815048ccf
2018-07-31 08:05:55 +02:00
Kamil Diedrich
ea92874a66
Revert "Pass info betwean gtpin and igc"
...
This reverts commit 5654d5673fbff18b1f3c81a8eb3c8dfeb9add9e1.
Change-Id: I2df912fef15755b2e5bd11d3e18e595d71bfad98
2018-07-30 16:10:28 +02:00
Maciej Plewka
aa7662e8b4
Pass info betwean gtpin and igc
...
Change-Id: I1da3089ba816298b43e493304612fac6a4a10851
2018-07-26 19:25:52 +02:00
Dunajski, Bartosz
4a6be207cd
New patch token for pure stateful buffer access
...
Change-Id: I90589a1cc3c3fa3608e7a5da438660ed85efcffa
2018-07-17 19:55:16 +02:00
Hoppe, Mateusz
55a045ebe1
Refactor graphics memory allocation scheme
...
- replace createGraphicsAllocationWithRequiredBitness with more general
methodallocateGraphicsMemoryInPreferredPool based on passed
AllocationData
- proper flags for allocation selected based on AllocationType
- remove allocateGraphicsMemory(size_t size, size_t alignment)
and use allocateGraphicsMemory(size_t size) instead where default
alignment is sufficient, otherwise use full options version:
allocateGraphicsMemory(size_t size, size_t alignment,
bool forcePin, bool uncacheable)
Change-Id: I2da891f372ee181253cb840568a61b33c0d71fc9
2018-07-11 15:48:05 +02:00
Artur Harasimiuk
26ffab8a0c
improve kernel data parameter ULTs:
...
- add assert to check size() of patchInfo.dataParameterBuffers
- add test case to ensure that unknown parameter is not added
- move one test case from TEST_P -> TEST_F. no need to be TEST_P as
GetParam() is not used
Change-Id: I9ff753601ac1d4f2484cf13f5fa6b728b0dcd4a2
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-06-29 12:50:49 +02:00
Hoppe, Mateusz
b59a5f1910
Source Level Debugger - adding notifications
...
- notifySourceCode, notifyKernelDebugData, notifyDeviceDestruction
- added processDebugData method in Program
- change options when SLD is active
- add space at the beginning of extension list options
Change-Id: Iac1e52f849544dbfda62407e112cde83fa94e3ad
2018-05-11 13:12:36 +02:00
Chodor, Jaroslaw
614b69a3bf
Adding support for get_image_num_mip_levels
...
* patch token decoding
* crossthread data patching
* additionally, fixing nasty ODR violation in VA tests
(note : ODR = One Definition Rule)
Change-Id: I9803ed599826c97359349d2b8fa0d86e46cb33ea
2018-04-06 11:04:29 +02:00
Mateusz Jablonski
835a1da175
Update kernel allocation when substitute kernel heap
...
Change-Id: Iee02a93d4e10c7b32fae56ffa61c90d8617d6ec9
2018-04-05 10:49:40 +02:00
Hoppe, Mateusz
cc6fa3d1e1
Kernel source debugging support 1/n
...
- new patch token
- program debug compilation flag
- sip kernel new methods for querying bti and debug
surface size
Change-Id: Icaddd15f269c4b76efdf926f2e346aa61cbaae02
2018-03-13 08:01:29 +01:00
Mrozek, Michal
38c352d044
[12/n] Internal 4GB allocator
...
- allocate graphics allocation for sip.
Change-Id: I18f12251d3ce812d53cc1c8c78079a9ba3fd3b3d
2018-03-09 14:19:06 +01:00
Mrozek, Michal
2bb64b2d11
[11/n] Allocate graphics allocations during processKernel.
...
- This ensures each kernel has ISH set up after it is created.
- refactor freeBlockPrivateSurfaces to freeBlockResources, this is to properly
clean allocations for blocks
- Add method cleanCurrentKernelInfo to avoid code duplication in KernelInfo
cleanup
Change-Id: I01f155d434579fe5ce2675bc4e89b04628ef8158
2018-03-09 11:13:08 +01:00
Mrozek, Michal
2ac12afe58
Remove unused variable
...
Change-Id: I2274844129072beb03e41029ad526a9e765911b1
2018-03-08 12:24:06 +01:00
Brandon Fliflet
7e9ad41290
Initial commit
...
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00