mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00
24 lines
456 B
C++
24 lines
456 B
C++
/*
|
|
* Copyright (C) 2018-2019 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, false) {
|
|
}
|
|
|
|
void setMemoryPool(MemoryPool::Type pool) {
|
|
memoryPool = pool;
|
|
}
|
|
};
|
|
|
|
} // namespace OCLRT
|