Cencelewska, Katarzyna
9b19014cf1
Fix read of 64bit enviroment variables
...
change atoi to atoll
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2022-09-09 14:00:10 +02:00
Kamil Diedrich
0d5c27a75f
Add support for ADL-N for WSL
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-09-07 20:11:45 +02:00
Patryk Wrobel
53c127e64c
Remove superfluous const_casts
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-06 13:34:01 +02:00
Patryk Wrobel
90ba50bf52
Warn when RAII lock returned from function is discarded
...
Discarding RAII lock returned from function almost always
is a bug. This change introduces usage of [[no_discard]]
attribute from C++17 to prevent such misues.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-01 16:53:03 +02:00
Zbigniew Zdanowicz
315f6230bf
correct name of evict flag to match wddm
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-22 18:14:51 +02:00
Kamil Diedrich
edeaa968f5
Destroy resource handle when created
...
Do not create resource when cpuPtr is set
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-16 13:03:59 +02:00
Compute-Runtime-Validation
a5614a1c66
Revert "Destroy resource handle when created"
...
This reverts commit 011a0dd497
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-12 09:16:34 +02:00
Zbigniew Zdanowicz
0ecc08337e
Add debug flag that overrides control of wddm evict flag
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-11 12:06:11 +02:00
Zbigniew Zdanowicz
50a27bd48e
Add gdi system functions logging
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-10 16:32:19 +02:00
Kamil Diedrich
011a0dd497
Destroy resource handle when created
...
Do not create resource when cpuPtr is set
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-10 12:35:49 +02:00
Jitendra Sharma
900c9ffc42
L0 Debug Win: device Thread Id remapping for run control
...
Related-To: NEO-6971
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-08-09 15:15:50 +02:00
Kamil Diedrich
b39be32e20
Add member for handling additional adapterInfo fields
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-09 14:11:05 +02:00
Compute-Runtime-Validation
3a31caf44a
Revert "Add member for handling additional adapterInfo fields"
...
This reverts commit aafbbf54db
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-04 09:36:36 +02:00
Kamil Diedrich
aafbbf54db
Add member for handling additional adapterInfo fields
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-03 16:14:46 +02:00
Compute-Runtime-Validation
00ff0dc337
Revert "Destroy resource handle when created"
...
This reverts commit 5a6a90aa0e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-02 11:04:10 +02:00
Zbigniew Zdanowicz
f17b46bc22
Reposition members of wddm classes
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-28 14:31:12 +02:00
Kamil Diedrich
5a6a90aa0e
Destroy resource handle when created
...
When allocation is created and createResource is set we need to
remove resourceHandle instead of allocation handle list otherwise
in long running application (a lot of allocations) we will observe
memory leak.
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-07-28 13:22:52 +02:00
Zbigniew Zdanowicz
4db5d7a6e7
Add flag for hardware support of eviction flag
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-26 13:21:43 +02:00
Dunajski, Bartosz
0378f2e8b3
Debug flag to override Images support
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-26 12:01:35 +02:00
Compute-Runtime-Validation
ead3a95be3
Revert "Support for L0 to read Device LUID from the WDDM driver using ext Pro...
...
This reverts commit 8124bff387
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-23 08:01:24 +02:00
Spruit, Neil R
8124bff387
Support for L0 to read Device LUID from the WDDM driver using ext Properties
...
- Added Support for reading the Device LUID of the given device used in
Windows WDDM.
- Added inital support for passing back the NodeMask of 1.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-07-22 21:21:32 +02:00
Igor Venevtsev
547dd59272
Debugger L0 Win: Implement CREATE_DEBUG_DATA/MODULE_CREATE events handling
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-07-20 13:20:50 +02:00
Zbigniew Zdanowicz
d19cab1fb3
Add new wddm eviction parameter
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-18 18:09:57 +02:00
Jitendra Sharma
4a8a93af96
Debugger L0 Win - Generate Proc Entry/Exit events
...
Related-To: NEO-7117
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-07-18 12:32:57 +02:00
Compute-Runtime-Validation
d5b2f03dc4
Revert "Enable eviction only when needed flag in wddm"
...
This reverts commit aced55243c
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-18 11:56:52 +02:00
Zbigniew Zdanowicz
aced55243c
Enable eviction only when needed flag in wddm
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-15 12:38:53 +02:00
cameron
60c819bb72
Fix Memory leak in drm_memory_manager of OsHandleLinux
...
Add virtual deconstructor to OsHandle and deconstructor to OsHandleLinux
Add override keyword to destructor
Add overriding deconstructor to OsHandleWin
Add newline before private members
https://github.com/intel/compute-runtime/pull/550
Signed-off-by: Cameron S Murtagh <cameron.murtagh00@gmail.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-13 11:23:48 +02:00
Compute-Runtime-Validation
f53ae0a50e
Revert "Add debug flag for EOT WA"
...
This reverts commit cf3817e058
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-09 01:21:56 +02:00
Artur Harasimiuk
6cb44ae0d9
includes refactor
...
use gen specific hw_cmds instead of all-in-one
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-08 17:02:19 +02:00
Mateusz Jablonski
cf3817e058
Add debug flag for EOT WA
...
EOT WA requires allocating last 64KB of kernel heap and putting EOT
signature at the last 16 bytes of kernel heap
Related-To: NEO-7099
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-07 16:58:24 +02:00
Igor Venevtsev
cb6db5672b
Debugger L0 Win - register allocations metadata in debugger
...
Related-To: NEO-6764
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-06-22 17:22:15 +02:00
Fabian Zwolinski
0966651a78
Create and implement WSL handle refreshing
...
Additionally rename createResourceInfo overload to decodeResourceInfo.
createResourceInfo(GMM_RESOURCE_INFO *, GMM_RESOURCE_INFO) does not
create a new ResourceInfo, but decodes one on the basis of the provided
existing gmmResourceInfo.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-06-14 08:43:35 +02:00
Maciej Plewka
213dc2fe24
Make CPU copy for read buffer when host ptr is write combined on DG2
...
With this commit on DG2 32bit driver will check if passed host ptr for
clEnqueueReadBuffer is write combined memory. If check will be true copy
will be make on CPU.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-06-13 21:23:21 +02:00
Krzysztof Gibala
c229ace4df
Adjust GmmHelper to be HW aware
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-13 18:33:06 +02:00
Maciej Plewka
5bee8ebd35
Revert "Allow cpu buffers copy on DG2 in 32bit"
...
This reverts commit 2055daf696
.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-06-08 11:26:00 +02:00
Krzysztof Gibala
81899c4477
Add canonized gpuAddress to GraphicsAllocation constructor
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-06 18:17:36 +02:00
Krzysztof Gibala
dc1fe7d59a
Change MemoryPool to enum class
...
Use enum class for MemoryPool in GraphicsAllocation
This change will ensure that GA is constructed in the proper way
- Rename namespace for isSystemMemoryPool method
- Add method getMemoryPoolString for logging actual pool which is in used
- Remove wrong pattern in GraphicsAllocation constructor
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-02 12:46:15 +02:00
Krzysztof Gibala
ae56d50b4f
Pass canonized gpuAddress to GraphicsAllocation
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-30 16:54:38 +02:00
Igor Venevtsev
8c165a6f41
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-05-27 16:25:56 +02:00
Yates, Brandon
adc51c1b47
Set context debuggable when debugging is enabled
...
Related-to: NEO-6896
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-24 16:45:32 +02:00
Kamil Diedrich
ddd8a08fac
Add mechanism to avoid calling gdi calls while process exit
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-05-20 11:11:52 +02:00
Yates, Brandon
db6562c092
Add windows debugger feature check
...
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-20 08:42:59 +02:00
Compute-Runtime-Validation
9cf1fbd627
Revert "Add windows debugger feature check"
...
This reverts commit 65214e2e4c
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-19 12:57:04 +02:00
Daniel Chabrowski
7463e1970b
Cleanup headers
...
Make TUs and headers self-contained, remove unused headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-18 11:42:06 +02:00
Yates, Brandon
65214e2e4c
Add windows debugger feature check
...
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-18 00:37:39 +02:00
Artur Harasimiuk
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +02:00
Compute-Runtime-Validation
daf7829fa2
Revert "L0 Debugger Windows - implement debugger attach/detach"
...
This reverts commit f45431c173
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-17 19:02:11 +02:00
Igor Venevtsev
f45431c173
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-05-17 14:07:29 +02:00
Artur Harasimiuk
3897f43f8e
style: correct local variable naming
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 11:14:14 +02:00
Brandon Yates
b24635b0c0
Fix style in context_private_data
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2022-05-17 00:33:51 +02:00