PandA-2024.02
|
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <polybench.h>
#include "nussinov.h"
Go to the source code of this file.
Macros | |
#define | match(b1, b2) (((b1)+(b2)) == 3 ? 1 : 0) |
#define | max_score(s1, s2) ((s1 >= s2) ? s1 : s2) |
Typedefs | |
typedef char | base |
This version is stamped on May 10, 2016. More... | |
Functions | |
static void | init_array (int n, base POLYBENCH_1D(seq, N, n), DATA_TYPE POLYBENCH_2D(table, N, N, n, n)) |
static void | print_array (int n, DATA_TYPE POLYBENCH_2D(table, N, N, n, n)) |
__attribute__ ((noinline)) | |
Convert the given fixedpt number to a decimal string. More... | |
int | main (int argc, char **argv) |
Definition at line 26 of file nussinov.c.
Referenced by __attribute__().
#define max_score | ( | s1, | |
s2 | |||
) | ((s1 >= s2) ? s1 : s2) |
Definition at line 27 of file nussinov.c.
Referenced by __attribute__().
typedef char base |
This version is stamped on May 10, 2016.
Contact: Louis-Noel Pouchet <pouchet.ohio-state.edu> Tomofumi Yuki <tomofumi.yuki.fr>
Web address: http://polybench.sourceforge.net
Definition at line 24 of file nussinov.c.
__attribute__ | ( | (noinline) | ) |
Convert the given fixedpt number to a decimal string.
The max_dec argument specifies how many decimal digits to the right of the decimal point to generate. If set to -1, the "default" number of decimal digits will be used (2 for 32-bit fixedpt width, 10 for 64-bit fixedpt width); If set to -2, "all" of the digits will be returned, meaning there will be invalid, bogus digits outside the specified precisions.
Definition at line 79 of file nussinov.c.
References _PB_N, k, match, max_score, seq, and test_panda::table.
|
static |
Definition at line 31 of file nussinov.c.
References seq, and test_panda::table.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 112 of file nussinov.c.
References DATA_TYPE, init_array(), N, POLYBENCH_1D_ARRAY_DECL, POLYBENCH_2D_ARRAY_DECL, POLYBENCH_ARRAY, POLYBENCH_FREE_ARRAY, polybench_prevent_dce, polybench_print_instruments, polybench_start_instruments, polybench_stop_instruments, print_array(), seq, and test_panda::table.
|
static |
Definition at line 51 of file nussinov.c.
References DATA_PRINTF_MODIFIER, POLYBENCH_DUMP_BEGIN, POLYBENCH_DUMP_END, POLYBENCH_DUMP_FINISH, POLYBENCH_DUMP_START, POLYBENCH_DUMP_TARGET, and test_panda::table.
Referenced by main().