fixture.h 849 字节
Newer Older
1 2 3 4
/**
 * \file dnn/test/aarch64/fixture.h
 * MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
 *
5
 * Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 */
#pragma once
#include <gtest/gtest.h>

#include "megdnn/handle.h"
#include "test/arm_common/fixture.h"

#include <memory>

namespace megdnn {
namespace test {

22 23 24 25 26 27 28
class AARCH64 : public ARM_COMMON {
public:
    Handle* fallback_handle();

private:
    std::unique_ptr<Handle> m_handle, m_fallback_handle;
};
29 30 31 32 33 34 35

class AARCH64_MULTI_THREADS : public ARM_COMMON_MULTI_THREADS {};

}  // namespace test
}  // namespace megdnn

// vim: syntax=cpp.doxygen