Enables P2P query on BMG device creation.
Ensures the potential peer device is queried if
crossAccessEnabledDevices is not set.
Related-To: NEO-15427
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
Related-to: NEO-15981
- Disable the ability to create shareable memory
without NT handle on Windows for Integrated GPU devices by default.
- Addresses a performance regression in Windows
when making shareable memory resident on Integrated GPU devices.
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Disables the allocation compression under the following conditions:
* when on device supporting compression AND
* when multiple root devices supporting compression AND
* when p2p connection between those devices THEN
* disable compression for resources that can be IPC -> device USM
Related-To: NEO-15427
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
- Added support for creating and managing opaque IPC NT handles in the
WDDM layer.
- Introduced a new flag `shareableWithoutNTHandle` to indicate if memory
can be shared without an NT handle.
- Updated the `isShareableMemory` method to accommodate this new flag.
- Added debug variable EnableShareableWithoutNTHandle to control the
behavior of sharing memory without NT handles until requested.
- Updated Linux path to enable sharing DMA Buf FDs between processes
for use in pidfd_getfd
- Updated getfd and get IPC Handle helper functions to support opaque or
previous versions
Related-To: NEO-15345 , NEO-15346 , NEO-15347, NEO-10380
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
- Added support for creating and managing opaque IPC NT handles in the
WDDM layer.
- Introduced a new flag `shareableWithoutNTHandle` to indicate if memory
can be shared without an NT handle.
- Updated the `isShareableMemory` method to accommodate this new flag.
- Added debug variable EnableShareableWithoutNTHandle to control the
behavior of sharing memory without NT handles until requested.
- Updated Linux path to enable sharing DMA Buf FDs between processes
for use in pidfd_getfd
Related-To: NEO-15345 , NEO-15346 , NEO-15347, NEO-10380
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Related-To: NEO-15156, GSD-9939
Support for start address hint in zeVirtualMemReserve.
If it fails to find pStart then it defaults to the base line
allocateWithCustomAlignment(...)
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
Related-To: NEO-15156, GSD-9939
Support for start address hint in zeVirtualMemReserve.
If it fails to find pStart then it defaults to the base line
allocateWithCustomAlignment(...)
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
Related-To: NEO-15570
- Fixes for missing handle definitions for DDi Ext compliance and
incorrect definitions for several handle definitions requiring handle
translation.
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
allow for access in case of multiple exposed devices when
there is only one root device
Related-To: HSD-18042639532
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
Move getting usm pool for ptr to its own method.
Move trying to free via pooling to its own method.
Use base ptr of pool for tracking in IPCHandleMap.
Track ipc handle refcount in freeMem.
Return error when trying to use a not allocated ptr within pool.
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
Allow the application to force storageInfo.localOnly and get the
out-of-memory returned if not possible.
This is a windows-only feature supported on discrete platforms.
Related-To: NEO-13428
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
Use pool methods for getting base ptr and size if passed ptr is in a usm
pool.
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>