C++ API Reference for Intel® Data Analytics Acceleration Library 2019 Update 4

daal_memory.h
1 /* file: daal_memory.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Common definitions.
19 //--
20 */
21 
22 #ifndef __DAAL_MEMORY_H__
23 #define __DAAL_MEMORY_H__
24 
25 #include "services/daal_defines.h"
26 
27 namespace daal
28 {
33 namespace services
34 {
45 DAAL_EXPORT void *daal_malloc(size_t size, size_t alignment = DAAL_MALLOC_DEFAULT_ALIGNMENT);
46 
51 DAAL_EXPORT void daal_free(void *ptr);
52 
60 DAAL_EXPORT void daal_memcpy_s(void *dest, size_t numberOfElements, const void *src, size_t count);
63 DAAL_EXPORT float daal_string_to_float(const char * nptr, char ** endptr);
64 
65 DAAL_EXPORT double daal_string_to_double(const char * nptr, char ** endptr);
66 
67 DAAL_EXPORT int daal_int_to_string(char * buffer, size_t n, int value);
68 
69 DAAL_EXPORT int daal_double_to_string(char * buffer, size_t n, double value);
70 }
71 } // namespace daal
72 
73 #endif
daal
Definition: algorithm_base_common.h:31
daal_defines.h
daal::services::daal_memcpy_s
DAAL_EXPORT void daal_memcpy_s(void *dest, size_t numberOfElements, const void *src, size_t count)
daal::services::daal_malloc
DAAL_EXPORT void * daal_malloc(size_t size, size_t alignment=DAAL_MALLOC_DEFAULT_ALIGNMENT)
daal::services::daal_free
DAAL_EXPORT void daal_free(void *ptr)
daal::algorithms::math::abs::value
Definition: abs_types.h:86

For more complete information about compiler optimizations, see our Optimization Notice.