#include "GIMPACT/core/gim_math.h"
#include <memory.h>
Defines | |
#define | pf(_x, _i) |
Prefetch 64. | |
#define | pf2(_x, _i) |
Prefetch 128. | |
#define | GIM_COPY_ARRAYS(dest_array, source_array, element_count) |
#define | GIM_COPY_ARRAYS_1(dest_array, source_array, element_count, copy_macro) |
#define | GIM_ZERO_ARRAY(array, element_count) |
#define | GIM_CONSTANT_ARRAY(array, element_count, constant) |
#define | SIMD_T GUINT64 |
SIMD POINTER INTEGER. | |
#define | SIMD_T_SIZE sizeof(SIMD_T) |
SIMD INTEGER SIZE. | |
Typedefs | |
typedef void * | gim_alloc_function (size_t size) |
typedef void * | gim_alloca_function (size_t size) |
typedef void * | gim_realloc_function (void *ptr, size_t oldsize, size_t newsize) |
typedef void | gim_free_function (void *ptr) |
Functions | |
void | gim_set_alloc_handler (gim_alloc_function *fn) |
void | gim_set_alloca_handler (gim_alloca_function *fn) |
void | gim_set_realloc_handler (gim_realloc_function *fn) |
void | gim_set_free_handler (gim_free_function *fn) |
gim_alloc_function * | gim_get_alloc_handler (void) |
gim_alloca_function * | gim_get_alloca_handler (void) |
gim_realloc_function * | gim_get_realloc_handler (void) |
gim_free_function * | gim_get_free_handler (void) |
void * | gim_alloc (size_t size) |
void * | gim_alloca (size_t size) |
void * | gim_realloc (void *ptr, size_t oldsize, size_t newsize) |
void | gim_free (void *ptr) |
void | gim_simd_memcpy (void *dst, const void *src, size_t copysize) |
template<class T> | |
void | gim_swap_elements (T *_array, size_t _i, size_t _j) |
template<class T> | |
void | gim_swap_elements_memcpy (T *_array, size_t _i, size_t _j) |
template<int SIZE> | |
void | gim_swap_elements_ptr (char *_array, size_t _i, size_t _j) |
#define SIMD_T GUINT64 |
SIMD POINTER INTEGER.
#define SIMD_T_SIZE sizeof(SIMD_T) |
SIMD INTEGER SIZE.
void gim_simd_memcpy | ( | void * | dst, | |
const void * | src, | |||
size_t | copysize | |||
) | [inline] |
void gim_swap_elements | ( | T * | _array, | |
size_t | _i, | |||
size_t | _j | |||
) | [inline] |
void gim_swap_elements_memcpy | ( | T * | _array, | |
size_t | _i, | |||
size_t | _j | |||
) | [inline] |
void gim_swap_elements_ptr | ( | char * | _array, | |
size_t | _i, | |||
size_t | _j | |||
) | [inline] |