HiCMA
Hierarchical Computations on Manycore Architectures
hicma_init.c
Go to the documentation of this file.
1
#include "
hicma_init.h
"
2
int
HICMA_init
(){
3
hicma_context
= hicma_context_default;
4
return
0;
5
}
6
int
HICMA_set_print_index
(){
7
hicma_context
.
print_index
= 1;
8
return
0;
9
}
10
int
HICMA_unset_print_index
(){
11
hicma_context
.
print_index
= 0;
12
return
0;
13
}
14
int
HICMA_set_print_index_end
(){
15
hicma_context
.
print_index_end
= 1;
16
return
0;
17
}
18
int
HICMA_unset_print_index_end
(){
19
hicma_context
.
print_index_end
= 0;
20
return
0;
21
}
22
int
HICMA_set_use_fast_hcore_zgemm
(){
23
hicma_context
.
use_fast_hcore_zgemm
= 1;
24
return
0;
25
}
26
int
HICMA_get_use_fast_hcore_zgemm
(){
27
return
hicma_context
.
use_fast_hcore_zgemm
;
28
}
29
int
HICMA_unset_use_fast_hcore_zgemm
(){
30
hicma_context
.
use_fast_hcore_zgemm
= 0;
31
return
0;
32
}
33
int
HICMA_set_starsh_format
(STARSH_blrf *
starsh_format
){
34
hicma_context
.
starsh_format
=
starsh_format
;
35
return
0;
36
}
37
STARSH_blrf *
HICMA_get_starsh_format
(){
38
return
hicma_context
.
starsh_format
;
39
}
40
int
HICMA_get_always_fixed_rank
(){
41
return
hicma_context
.
global_always_fixed_rank
;
42
}
43
int
HICMA_get_fixed_rank
(){
44
return
hicma_context
.
global_fixed_rank
;
45
}
46
int
HICMA_set_fixed_rank
(
int
rank){
47
hicma_context
.
global_fixed_rank
= rank;
48
return
0;
49
}
50
int
HICMA_get_print_index
(){
51
return
hicma_context
.
print_index
;
52
}
53
int
HICMA_get_print_index_end
(){
54
return
hicma_context
.
print_index_end
;
55
}
56
int
HICMA_get_print_mat
(){
57
return
hicma_context
.
print_mat
;
58
}
59
int
HICMA_set_print_mat
(){
60
hicma_context
.
print_mat
= 1;
61
return
0;
62
}
hicma_context
Definition:
hicma_struct.h:48
HICMA_set_print_index_end
int HICMA_set_print_index_end()
Definition:
hicma_init.c:14
hicma_context::global_fixed_rank
int global_fixed_rank
Definition:
hicma_struct.h:58
hicma_context::print_mat
int print_mat
Definition:
hicma_struct.h:67
hicma_context::starsh_format
STARSH_blrf * starsh_format
Definition:
hicma_struct.h:49
hicma_context::print_index
int print_index
Definition:
hicma_struct.h:64
HICMA_unset_print_index_end
int HICMA_unset_print_index_end()
Definition:
hicma_init.c:18
hicma_context::global_always_fixed_rank
int global_always_fixed_rank
Definition:
hicma_struct.h:57
HICMA_set_print_mat
int HICMA_set_print_mat()
Definition:
hicma_init.c:59
hicma_init.h
HICMA_set_starsh_format
int HICMA_set_starsh_format(STARSH_blrf *starsh_format)
Definition:
hicma_init.c:33
HICMA_init
int HICMA_init()
Definition:
hicma_init.c:2
HICMA_get_print_mat
int HICMA_get_print_mat()
Definition:
hicma_init.c:56
HICMA_set_use_fast_hcore_zgemm
int HICMA_set_use_fast_hcore_zgemm()
Definition:
hicma_init.c:22
HICMA_set_fixed_rank
int HICMA_set_fixed_rank(int rank)
Definition:
hicma_init.c:46
HICMA_set_print_index
int HICMA_set_print_index()
Definition:
hicma_init.c:6
HICMA_get_print_index_end
int HICMA_get_print_index_end()
Definition:
hicma_init.c:53
HICMA_get_use_fast_hcore_zgemm
int HICMA_get_use_fast_hcore_zgemm()
Definition:
hicma_init.c:26
HICMA_unset_print_index
int HICMA_unset_print_index()
Definition:
hicma_init.c:10
HICMA_get_fixed_rank
int HICMA_get_fixed_rank()
Definition:
hicma_init.c:43
HICMA_get_print_index
int HICMA_get_print_index()
Definition:
hicma_init.c:50
hicma_context::use_fast_hcore_zgemm
int use_fast_hcore_zgemm
Definition:
hicma_struct.h:54
HICMA_get_starsh_format
STARSH_blrf * HICMA_get_starsh_format()
Definition:
hicma_init.c:37
HICMA_get_always_fixed_rank
int HICMA_get_always_fixed_rank()
Definition:
hicma_init.c:40
hicma_context::print_index_end
int print_index_end
Definition:
hicma_struct.h:65
HICMA_unset_use_fast_hcore_zgemm
int HICMA_unset_use_fast_hcore_zgemm()
Definition:
hicma_init.c:29
control
hicma_init.c
Generated by
1.8.14