compute-runtime/unit_tests/mocks/mock_device_factory.h

17 lines
302 B
C++

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/os_interface/device_factory.h"
namespace NEO {
class MockDeviceFactory : public DeviceFactory {
public:
size_t getNumDevices() { return numDevices; };
};
} // namespace NEO