PIPS
|
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | SIZE 832 |
#define | T 64 |
Typedefs | |
typedef float | float_t |
Functions | |
void | get_data (char filename[]) |
void | write_data (char filename[]) |
void | jacobi () |
int | main (int argc, char *argv[]) |
Variables | |
float_t | space [SIZE][SIZE] |
float_t | save [SIZE][SIZE] |
void get_data | ( | char | filename[] | ) |
Get *.pgm file type
Skip comment lines
Put back good char
Get image dimensions
Get grey levels
Get ONE carriage return
Definition at line 11 of file jacobi.c.
References exit, printf(), SIZE, and space.
Referenced by main().
void jacobi | ( | ) |
Definition at line 93 of file jacobi.c.
References exit, fprintf(), get_data(), jacobi(), T, and write_data().
void write_data | ( | char | filename[] | ) |
Definition at line 9 of file jacobi.c.
Referenced by generate_simd_code(), gfc2pips_computeEquiv(), and jacobi().
Definition at line 7 of file jacobi.c.
Referenced by bound_generation(), freia_terapix_call(), get_data(), jacobi(), movement_computation(), parallel_tiling(), and write_data().