MNN/source/backend/cpu/x86_x64/AVX2Functions.hpp

29 lines
554 B
C++
Raw Normal View History

2021-09-18 15:52:30 +08:00
//
// AVX2Functions.hpp
// MNN
//
// Created by MNN on b'2021/05/17'.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef AVX2Functions_hpp
#define AVX2Functions_hpp
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "core/Macro.h"
#include "backend/cpu/compute/CommonOptFunction.h"
2021-09-18 15:52:30 +08:00
#include "backend/cpu/compute/Int8FunctionsOpt.h"
#include "cpu_id.h"
namespace MNN {
class AVX2Functions {
public:
static bool init(int flags);
static CoreFunctions* get();
2021-09-18 15:52:30 +08:00
static CoreInt8Functions* getInt8();
};
};
#endif