Revert "Fail when handle cannot be obtain for an allocation"

This reverts commit 4391ad21bb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2022-11-23 04:53:51 +01:00
committed by Compute-Runtime-Automation
parent 4391ad21bb
commit 565d44e59c
23 changed files with 115 additions and 1007 deletions

View File

@@ -72,9 +72,8 @@ class WddmAllocation : public GraphicsAllocation {
handles[handleIndex] = handle;
}
int peekInternalHandle(MemoryManager *memoryManager, uint64_t &handle) override {
handle = ntSecureHandle;
return 0;
uint64_t peekInternalHandle(MemoryManager *memoryManager) override {
return ntSecureHandle;
}
uint64_t *getSharedHandleToModify() {