Vector Optimized Library of Kernels 3.2.0
Architecture-tuned implementations of math kernels
Loading...
Searching...
No Matches
volk_malloc.h
Go to the documentation of this file.
1/* -*- c -*- */
2/*
3 * Copyright 2014, 2020 Free Software Foundation, Inc.
4 *
5 * This file is part of VOLK
6 *
7 * SPDX-License-Identifier: LGPL-3.0-or-later
8 */
9
10#ifndef INCLUDED_VOLK_MALLOC_H
11#define INCLUDED_VOLK_MALLOC_H
12
13#include <stdlib.h>
14#include <volk/volk_common.h>
15
17
42VOLK_API void* volk_malloc(size_t size, size_t alignment);
43
58VOLK_API void volk_free(void* aptr);
59
61
62#endif /* INCLUDED_VOLK_MALLOC_H */
#define __VOLK_DECL_END
Definition volk_common.h:90
#define VOLK_API
Definition volk_common.h:100
#define __VOLK_DECL_BEGIN
Definition volk_common.h:89
__VOLK_DECL_BEGIN VOLK_API void * volk_malloc(size_t size, size_t alignment)
Allocate size bytes of data aligned to alignment.
Definition volk_malloc.c:38
VOLK_API void volk_free(void *aptr)
Free's memory allocated by volk_malloc.
Definition volk_malloc.c:70