ie_version.cpp 540 Bytes
Newer Older
openvino-pushbot's avatar
openvino-pushbot committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// Copyright (C) 2018 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//

#include "ie_version.hpp"

namespace InferenceEngine {

INFERENCE_ENGINE_API(const Version*) GetInferenceEngineVersion() noexcept {
    // Use local static variable to make sure it is always properly initialized
    // even if called from global constructor
    static Version inferenceEngineVersion = {
        {1, 2},  // inference engine API version
        CI_BUILD_NUMBER
    };
    return &inferenceEngineVersion;
}
}  // namespace InferenceEngine