1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
dnl
dnl
include(`rsb_misc.m4')dnl
include(`do_unroll.m4')dnl
include(`mergesort_macros.m4')dnl
dnl
/* @cond INNERDOC */
dnl
/**
* @file
* @brief
* Sorting functions.
*/
RSB_M4_HEADER_MESSAGE()dnl
dnl
ifdef(`ONLY_WANT_HEADERS',`
#ifndef RSB_MERGESORT_H_INCLUDED
#define RSB_MERGESORT_H_INCLUDED
')
dnl
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
ifdef(`ONLY_WANT_HEADERS',`dnl
',`dnl
dnl
dnl /* We may use custom memcpy functions. */
dnl #define RSB_MEMCPY(DST,SRC,BYTES) rsb__memcpy((DST),(SRC),(BYTES))
')dnl
dnl
dnl
RSB_M4_INCLUDE_HEADERS
dnl
#if RSB_OBSOLETE_QUARANTINE
ifdef(`ONLY_WANT_HEADERS',`',`dnl
RSB_INTERNALS_COMMON_HEAD_DECLS
')dnl
dnl
define(`blockorientations',`(CSR,BCSR,VBR)')dnl
dnl
ifdef(`ONLY_WANT_HEADERS',`dnl
foreach(`blockoriented',blockorientations,`dnl
RSB_M4_MERGESORT_ON_COORDINATES_FUNCTION_DISPATCHER_PROTOTYPE(RSB_M4_TYPES,blockoriented);
')dnl
')dnl
dnl
dnl
dnl
ifdef(`ONLY_WANT_HEADERS',`',`dnl
foreach(`blockoriented',blockorientations,`dnl
RSB_M4_MERGESORT_ON_COORDINATES_FUNCTION_DISPATCHER(RSB_M4_TYPES,blockoriented)
')dnl
')dnl
dnl
dnl
dnl
ifdef(`ONLY_WANT_HEADERS',`',`dnl
foreach(`blockoriented',blockorientations,`dnl
foreach(`mtype',RSB_M4_TYPES,`dnl
RSB_M4_MERGESORT_ON_COORDINATES_FUNCTION(mtype,blockoriented)
RSB_M4_MERGESORT_ON_COORDINATES_MERGE_FUNCTION(mtype,blockoriented)
')dnl
')dnl
')dnl
dnl
dnl
ifdef(`ONLY_WANT_HEADERS',`dnl
foreach(`blockoriented',blockorientations,`dnl
foreach(`mtype',RSB_M4_TYPES,`dnl
RSB_M4_MERGESORT_ON_COORDINATES_FUNCTION_PROTOTYPE(mtype,blockoriented);
RSB_M4_MERGESORT_ON_COORDINATES_MERGE_FUNCTION_PROTOTYPE(mtype,blockoriented);
')dnl
')dnl
')dnl
dnl
#endif /* RSB_OBSOLETE_QUARANTINE */
dnl
#ifdef __cplusplus
}
#endif /* __cplusplus */
dnl
dnl
ifdef(`ONLY_WANT_HEADERS',`
#endif /* RSB_MERGESORT_H_INCLUDED */
')
dnl
/* @endcond */
dnl
|