experiments-config.h 471 B

12345678910111213141516171819202122232425
  1. // Copyright 2023 Google LLC
  2. //
  3. // This source code is licensed under the BSD-style license found in the
  4. // LICENSE file in the root directory of this source tree.
  5. #pragma once
  6. #include <stdbool.h>
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. struct xnn_experiment_config {
  11. bool adaptive_avx_optimization;
  12. };
  13. struct xnn_experiment_config* xnn_get_experiment_config();
  14. void xnn_experiment_enable_adaptive_avx_optimization();
  15. #ifdef __cplusplus
  16. } // extern "C"
  17. #endif