• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2019 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 
6 #pragma once
7 
8 #include <stddef.h>
9 
10 #include <xnnpack/common.h>
11 
12 
13 XNN_INTERNAL void* xnn_allocate(void* context, size_t size);
14 XNN_INTERNAL void* xnn_reallocate(void* context, void* pointer, size_t size);
15 XNN_INTERNAL void xnn_deallocate(void* context, void* pointer);
16 XNN_INTERNAL void* xnn_aligned_allocate(void* context, size_t alignment, size_t size);
17 XNN_INTERNAL void xnn_aligned_deallocate(void* context, void* pointer);
18