mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add cl_khr_device_uuid to extension list
Related-To: NEO-5681 Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d5b2f03dc4
commit
b450d3c20b
@@ -98,6 +98,12 @@ void MockDevice::resetCommandStreamReceiver(CommandStreamReceiver *newCsr, uint3
|
||||
}
|
||||
}
|
||||
|
||||
bool MockDevice::verifyAdapterLuid() {
|
||||
if (callBaseVerifyAdapterLuid)
|
||||
return Device::verifyAdapterLuid();
|
||||
return verifyAdapterLuidReturnValue;
|
||||
}
|
||||
|
||||
bool MockSubDevice::createEngine(uint32_t deviceCsrIndex, EngineTypeUsage engineTypeUsage) {
|
||||
if (failOnCreateEngine) {
|
||||
return false;
|
||||
|
||||
@@ -163,11 +163,15 @@ class MockDevice : public RootDevice {
|
||||
return isDebuggerActiveReturn;
|
||||
}
|
||||
|
||||
bool verifyAdapterLuid() override;
|
||||
|
||||
static decltype(&createCommandStream) createCommandStreamReceiverFunc;
|
||||
|
||||
bool isDebuggerActiveParentCall = true;
|
||||
bool isDebuggerActiveReturn = false;
|
||||
bool callBaseGetMaxParameterSizeFromIGC = false;
|
||||
bool callBaseVerifyAdapterLuid = true;
|
||||
bool verifyAdapterLuidReturnValue = true;
|
||||
size_t maxParameterSizeFromIGC = 0u;
|
||||
};
|
||||
|
||||
|
||||
@@ -94,6 +94,7 @@ class WddmMock : public Wddm {
|
||||
}
|
||||
return verifyAdapterLuidReturnValue;
|
||||
}
|
||||
LUID getAdapterLuid() { return hwDeviceId->getAdapterLuid(); }
|
||||
bool setAllocationPriority(const D3DKMT_HANDLE *handles, uint32_t allocationCount, uint32_t priority) override;
|
||||
|
||||
bool configureDeviceAddressSpace() {
|
||||
@@ -164,6 +165,7 @@ class WddmMock : public Wddm {
|
||||
NTSTATUS createAllocationStatus = STATUS_SUCCESS;
|
||||
bool verifyAdapterLuidReturnValue = true;
|
||||
bool callBaseVerifyAdapterLuid = false;
|
||||
LUID mockAdaperLuid = {0, 0};
|
||||
bool mapGpuVaStatus = true;
|
||||
bool callBaseDestroyAllocations = true;
|
||||
bool failOpenSharedHandle = false;
|
||||
|
||||
Reference in New Issue
Block a user