// Copyright (c) Facebook, Inc. and its affiliates. // All rights reserved. // // Copyright 2019 Google LLC // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #pragma once #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include "xnnpack.h" #include "xnnpack/common.h" #include "xnnpack/microfnptr.h" #include "xnnpack/microparams.h" // Indicates that XNNPACK as a whole has initialized. // This does not guarantee that any particular microkernels are available. #define XNN_INIT_FLAG_XNNPACK … struct xnn_parameters { … }; #ifdef __cplusplus extern "C" XNN_INTERNAL struct xnn_parameters xnn_params; #else extern XNN_INTERNAL struct xnn_parameters xnn_params; #endif