mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
Remove template parameter from Wddm methods
Change-Id: Icd700c7215184d4c0f9564c61868a1f9f29a75e5 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e6131293d1
commit
9ac3529c6b
@@ -23,6 +23,7 @@
|
||||
#include "gmm_client_context.h"
|
||||
#include "runtime/gmm_helper/gmm_memory_base.h"
|
||||
#include "runtime/gmm_helper/gmm_helper.h"
|
||||
#include "runtime/os_interface/windows/windows_defs.h"
|
||||
|
||||
namespace OCLRT {
|
||||
GmmMemoryBase::GmmMemoryBase() {
|
||||
@@ -32,20 +33,27 @@ bool GmmMemoryBase::configureDeviceAddressSpace(GMM_ESCAPE_HANDLE hAdapter,
|
||||
GMM_ESCAPE_HANDLE hDevice,
|
||||
GMM_ESCAPE_FUNC_TYPE pfnEscape,
|
||||
GMM_GFX_SIZE_T SvmSize,
|
||||
BOOLEAN FaultableSvm,
|
||||
BOOLEAN SparseReady,
|
||||
BOOLEAN BDWL3Coherency,
|
||||
GMM_GFX_SIZE_T SizeOverride,
|
||||
GMM_GFX_SIZE_T SlmGfxSpaceReserve) {
|
||||
BOOLEAN BDWL3Coherency) {
|
||||
return clientContext->ConfigureDeviceAddressSpace(
|
||||
{hAdapter},
|
||||
{hDevice},
|
||||
{pfnEscape},
|
||||
SvmSize,
|
||||
FaultableSvm,
|
||||
SparseReady,
|
||||
0,
|
||||
0,
|
||||
BDWL3Coherency,
|
||||
SizeOverride,
|
||||
SlmGfxSpaceReserve) != 0;
|
||||
0,
|
||||
0) != 0;
|
||||
}
|
||||
|
||||
bool GmmMemoryBase::configureDevice(GMM_ESCAPE_HANDLE hAdapter,
|
||||
GMM_ESCAPE_HANDLE hDevice,
|
||||
GMM_ESCAPE_FUNC_TYPE pfnEscape,
|
||||
GMM_GFX_SIZE_T SvmSize,
|
||||
BOOLEAN BDWL3Coherency,
|
||||
GMM_GFX_PARTITIONING &gfxPartition,
|
||||
uintptr_t &minAddress) {
|
||||
minAddress = windowsMinAddress;
|
||||
return configureDeviceAddressSpace(hAdapter, hDevice, pfnEscape, SvmSize, BDWL3Coherency);
|
||||
}
|
||||
}; // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user