Last change
on this file since 811 was
805,
checked in by meunier, 9 years ago
|
- Adding the parallel version of rosenfeld
|
File size:
816 bytes
|
Line | |
---|
1 | /* ------------------ */ |
---|
2 | /* --- mca.c --- */ |
---|
3 | /* ------------------ */ |
---|
4 | |
---|
5 | /* |
---|
6 | * Copyright (c) 2016 Lionel Lacassagne, LIP6, UPMC, CNRS |
---|
7 | * Init : 2016/03/03 |
---|
8 | */ |
---|
9 | |
---|
10 | #include <stdio.h> |
---|
11 | #include <stdlib.h> |
---|
12 | #include <string.h> |
---|
13 | #include <math.h> |
---|
14 | |
---|
15 | #include <user_lock.h> |
---|
16 | |
---|
17 | #ifdef CLI |
---|
18 | #include "nrc_os_config.h" |
---|
19 | #include "nrc.h" |
---|
20 | #endif |
---|
21 | |
---|
22 | |
---|
23 | #include "util.h" |
---|
24 | #include "ecc_common.h" |
---|
25 | #include "ecc_features.h" |
---|
26 | |
---|
27 | #include "palette.h" |
---|
28 | #include "bmpNR.h" |
---|
29 | |
---|
30 | #include "str_ext.h" |
---|
31 | |
---|
32 | /* -- local -- */ |
---|
33 | #include "mca.h" |
---|
34 | #include "mca_test.h" |
---|
35 | |
---|
36 | |
---|
37 | // ----------------------------- |
---|
38 | __attribute__((constructor)) void main() |
---|
39 | // ----------------------------- |
---|
40 | { |
---|
41 | #if TARGET_OS == GIETVM |
---|
42 | giet_tty_alloc(1); |
---|
43 | heap_init(0, 0); |
---|
44 | #endif |
---|
45 | lock_init(&print_lock); |
---|
46 | main_test_mca(); |
---|
47 | |
---|
48 | exit(0); |
---|
49 | } |
---|
50 | |
---|
Note: See
TracBrowser
for help on using the repository browser.