Dominik Dabek
0a12817664
performance: flag, force zero copy for host ptr
...
When debug flag ForceZeroCopyForUseHostPtr is set, add
CL_MEM_FORCE_HOST_MEMORY_INTEL flag to buffers created with
CL_MEM_USE_HOST_PTR.
This makes the buffers use zero copy.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-11-12 15:43:17 +01:00
Lukasz Jobczyk
b050a83242
performance: Use lock pointer copy for dc flush mitigation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-31 10:53:39 +01:00
Compute-Runtime-Validation
3fcb9b18ee
Revert "performance: Use lock pointer copy for dc flush mitigation"
...
This reverts commit b8be102455 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-31 05:15:07 +01:00
Lukasz Jobczyk
b8be102455
performance: Use lock pointer copy for dc flush mitigation
...
Resolves: NEO-12898
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-29 21:37:53 +01:00
Compute-Runtime-Validation
f5c433c8f8
Revert "performance: Use lock pointer copy with sfence for dc flush mitigation"
...
This reverts commit 8c3c703ec0 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-26 14:28:26 +02:00
Lukasz Jobczyk
8c3c703ec0
performance: Use lock pointer copy with sfence for dc flush mitigation
...
Resolves: NEO-12898
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-25 16:24:40 +02:00
Maciej Plewka
80f75ceace
fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-09-23 14:43:59 +02:00
Compute-Runtime-Validation
d842f65cf1
Revert "fix: submit dummy exec to pin memory during zeContextMakeMemoryReside...
...
This reverts commit f9b87d53e6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-05 03:28:03 +02:00
Maciej Plewka
f9b87d53e6
fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
Related-To: NEO-11879
2024-09-04 14:07:29 +02:00
Lukasz Jobczyk
8b760f8528
performance: Copy hostptr on cpu for host buffer when mitigate dc flush
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-30 19:55:45 +02:00
Lukasz Jobczyk
5aa5d40937
performance: Mitigate dc flush on LNL Windows
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-28 13:35:17 +02:00
Compute-Runtime-Validation
ad0d6f5435
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit e4412e385a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-27 02:35:06 +02:00
Lukasz Jobczyk
e4412e385a
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-26 10:38:56 +02:00
Compute-Runtime-Validation
956dd8e17d
Revert "fix: set properly resource params when setAllocationType"
...
This reverts commit 2e0884a301 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-24 05:01:38 +02:00
Katarzyna Cencelewska
2e0884a301
fix: set properly resource params when setAllocationType
...
gmm params: usage, cachable and resource info
should be set properly when override allocation type
Resolves: HSD-22020344331
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-08-23 16:57:23 +02:00
Szymon Morek
6a11e8a077
fix: revert changes around zero-copy
...
Related-To: NEO-12018
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-19 12:29:18 +02:00
Szymon Morek
33ab962121
fix: adjust compression hint usage for ocl buffers
...
Related-To: NEO-11989
Also, use zero-copy on lnl
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-18 18:24:48 +02:00
Compute-Runtime-Validation
9a6403f3bc
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit d6076941a8 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-15 11:47:30 +02:00
Lukasz Jobczyk
d6076941a8
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-07-12 14:45:51 +02:00
Szymon Morek
7d25965a78
performance: change buffer type for new coherency model
...
Related-To: NEO-11882
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-09 09:33:53 +02:00
Compute-Runtime-Validation
38872b7e1b
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit 1cba900ad9 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-04 08:20:18 +02:00
Compute-Runtime-Validation
b8246d806f
Revert "performance: change buffer type for new coherency model"
...
This reverts commit c979495265 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-03 02:11:19 +02:00
Szymon Morek
c979495265
performance: change buffer type for new coherency model
...
Related-To: NEO-11882
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-02 12:49:41 +02:00
Lukasz Jobczyk
1cba900ad9
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-25 14:53:24 +02:00
Lukasz Jobczyk
773da10099
fix: Copy hostptr using BCS when mitigate dc flush
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-24 16:26:44 +02:00
Mateusz Hoppe
8e79e7a174
refactor: fix gpu address formatting in logs
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-05-31 13:55:26 +02:00
Compute-Runtime-Validation
4c5d567b40
Revert "fix: remove not needed check in OCL CPU copy path 2"
...
This reverts commit 0a27aa9f7b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-17 10:52:17 +02:00
Bartosz Dunajski
0a27aa9f7b
fix: remove not needed check in OCL CPU copy path 2
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-16 12:38:39 +02:00
Compute-Runtime-Validation
4c43ca518b
Revert "fix: remove not needed check in OCL CPU copy path"
...
This reverts commit 92f9c8be96 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-14 20:12:28 +02:00
Bartosz Dunajski
92f9c8be96
fix: remove not needed check in OCL CPU copy path
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-14 17:05:55 +02:00
Mrozek, Michal
f71f6d2b72
refactor: remove not needed code
...
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-03-08 18:18:55 +01:00
Compute-Runtime-Validation
4656e2ec12
Revert "refactor: remove not needed check for cpu transfer in ocl"
...
This reverts commit 098e2e76fb .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-02-13 21:16:43 +01:00
Dunajski, Bartosz
098e2e76fb
refactor: remove not needed check for cpu transfer in ocl
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-02-13 18:47:14 +01:00
Dominik Dabek
6e434e0424
performance(ocl): increase buffer pool size
...
increase pool size to 2MB and threshold to 1MB
add limit to the number of pools, set to 2
Related-To: NEO-9690
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-01-24 10:55:29 +01:00
Mateusz Jablonski
de93bc6928
refactor: correct naming of enum class constants 10/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 11:30:39 +01:00
Mateusz Jablonski
a6458433dc
refactor: correct naming of enum class constants 9/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 10:36:25 +01:00
Mateusz Jablonski
dd1b9d6abc
refactor: correct naming of enum class constants 8/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 08:18:18 +01:00
Mateusz Jablonski
27fbdde4c5
refactor: correct naming of unified memory enums
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 15:58:21 +01:00
Mateusz Jablonski
b182917d9d
refactor: correct naming of allocation types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-11 16:23:37 +01:00
Milczarek, Slawomir
87247e6949
fix: Add path for clCreateBuffer with host unified memory ptr
...
Related-To: NEO-9612
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-12-04 18:16:56 +01:00
Mateusz Jablonski
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 13:00:59 +01:00
Filip Hazubski
8dd23f4b4d
feature: Add logic around cpu side allocations
...
Group allocation types related to cpu side allocations in function to
query gmm usage type. These types will have caching enabled even if
CPU caching is not preferred by GPU.
Add logic to query whether the cpu access is allowed for an allocation
(in cases when it is not preffered by GPU).
Related-To: NEO-7194
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-07-28 21:04:24 +02:00
Mateusz Jablonski
f84f22d23c
refactor: remove unused isSharedContext variable
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-07-26 12:14:23 +02:00
Compute-Runtime-Validation
8c155a2e89
Revert "performance: Memory handling improvements"
...
This reverts commit 5b80bd4d7c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-07-20 11:37:09 +02:00
Filip Hazubski
5b80bd4d7c
performance: Memory handling improvements
...
By default prefer allocating memory first by KMD, instead of malloc first.
By default prefer not caching allocations on MTL devices. This results
in allocations being handled with non-coherent pat index.
For integrated devices when caching is not preferred do not allow
direct memory access in CPU domain. For map/unmap operations create
a dedicated memory allocation for CPU access, instead of accessing it
directly, reusing the same logic as when mapping/unmapping local memory.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-07-19 19:21:44 +02:00
Mateusz Jablonski
4f72835b7d
fix: create dedicated class for root device indices to store unique values
...
remove method to removing duplicates from StackVec as the method
implicitly sorted the vector
Related-To: GSD-4692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-06-12 22:24:06 +02:00
Warchulski, Jaroslaw
9a73fa195b
feature: Add support for CL_DEVICE_HANDLE_LIST_KHR
...
Related-To: NEO-6757
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-05-05 15:17:20 +02:00
Mateusz Jablonski
90cd433766
Fix OCL: don't set multi storage resource for system memory buffers
...
respect pointer size when patching surfaces in 32 bit applications
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-15 14:22:37 +01:00
Mateusz Jablonski
51887af219
refactor OCL: cleanup after moving multi root device buffers to local mem
...
remove debug flag AllocateBuffersInLocalMemoryForMultiRootDeviceContexts
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-15 09:41:20 +01:00
Warchulski, Jaroslaw
64f735481d
Cleanup includes 48
...
Cleaned up files:
shared/source/command_container/command_encoder.inl
shared/source/os_interface/hw_info_config.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-10 17:23:02 +01:00