mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
- also switch to make_unique in wddm memory manager functions. Change-Id: I2f7cf412a993040439466f1971d935fb8429ce7c
20 lines
362 B
C++
20 lines
362 B
C++
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/os_interface/windows/wddm_allocation.h"
|
|
|
|
namespace OCLRT {
|
|
|
|
class MockWddmAllocation : public WddmAllocation {
|
|
public:
|
|
MockWddmAllocation() : WddmAllocation(nullptr, 0, nullptr, MemoryPool::MemoryNull, 1u) {
|
|
}
|
|
};
|
|
|
|
} // namespace OCLRT
|