StarPU Handbook
starpu_deprecated_api.h
Go to the documentation of this file.
1 /* StarPU --- Runtime system for heterogeneous multicore architectures.
2  *
3  * Copyright (C) 2012 Inria
4  * Copyright (C) 2010-2013,2015,2017 CNRS
5  * Copyright (C) 2010-2015 Université de Bordeaux
6  *
7  * StarPU is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License as published by
9  * the Free Software Foundation; either version 2.1 of the License, or (at
10  * your option) any later version.
11  *
12  * StarPU is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *
16  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
17  */
18 
19 #ifndef __STARPU_DEPRECATED_API_H__
20 #define __STARPU_DEPRECATED_API_H__
21 
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26 
27 #if defined(STARPU_USE_DEPRECATED_API) || defined(STARPU_USE_DEPRECATED_ONE_ZERO_API)
28 #warning Your application is using deprecated types. You may want to update to use the latest API, by using tools/dev/rename.sh.
29 #endif /* defined(STARPU_USE_DEPRECATED_API) || defined(STARPU_USE_DEPRECATED_ONE_ZERO_API) */
30 
31 #define starpu_permodel_history_based_expected_perf starpu_perfmodel_history_based_expected_perf
32 
33 #ifdef STARPU_USE_DEPRECATED_ONE_ZERO_API
34 
35 #define starpu_allocate_buffer_on_node starpu_malloc_on_node
36 #define starpu_free_buffer_on_node starpu_free_on_node
37 #define starpu_helper_cublas_init starpu_cublas_init
38 #define starpu_helper_cublas_shutdown starpu_cublas_shutdown
39 
40 #define starpu_canonical_block_filter_bcsr starpu_bcsr_filter_canonical_block
41 #define starpu_vertical_block_filter_func_csr starpu_csr_filter_vertical_block
42 
43 #define starpu_block_filter_func starpu_matrix_filter_block
44 #define starpu_block_shadow_filter_func starpu_matrix_filter_block_shadow
45 #define starpu_vertical_block_filter_func starpu_matrix_filter_vertical_block
46 #define starpu_vertical_block_shadow_filter_func starpu_matrix_filter_vertical_block_shadow
47 
48 #define starpu_block_filter_func_vector starpu_vector_filter_block
49 #define starpu_block_shadow_filter_func_vector starpu_vector_filter_block_shadow
50 #define starpu_vector_list_filter_func starpu_vector_filter_list
51 #define starpu_vector_divide_in_2_filter_func starpu_vector_filter_divide_in_2
52 
53 #define starpu_block_filter_func_block starpu_block_filter_block
54 #define starpu_block_shadow_filter_func_block starpu_block_filter_block_shadow
55 #define starpu_vertical_block_filter_func_block starpu_block_filter_vertical_block
56 #define starpu_vertical_block_shadow_filter_func_block starpu_block_filter_vertical_block_shadow
57 #define starpu_depth_block_filter_func_block starpu_block_filter_depth_block
58 #define starpu_depth_block_shadow_filter_func_block starpu_block_filter_depth_block_shadow
59 
60 #define starpu_display_codelet_stats starpu_codelet_display_stats
61 
62 #define starpu_access_mode starpu_data_access_mode
63 #define starpu_buffer_descr starpu_data_descr
64 #define starpu_memory_display_stats starpu_data_display_memory_stats
65 #define starpu_handle_to_pointer starpu_data_handle_to_pointer
66 #define starpu_handle_get_local_ptr starpu_data_get_local_ptr
67 #define starpu_crc32_be_n starpu_hash_crc32c_be_n
68 #define starpu_crc32_be starpu_hash_crc32c_be
69 #define starpu_crc32_string starpu_hash_crc32c_string
70 #define starpu_perf_archtype starpu_perfmodel_archtype
71 #define starpu_history_based_expected_perf starpu_perfmodel_history_based_expected_perf
72 #define starpu_task_profiling_info starpu_profiling_task_info
73 #define starpu_worker_profiling_info starpu_profiling_worker_info
74 #define starpu_bus_profiling_info starpu_profiling_bus_info
75 #define starpu_set_profiling_id starpu_profiling_set_id
76 #define starpu_worker_get_profiling_info starpu_profiling_worker_get_info
77 #define starpu_bus_profiling_helper_display_summary starpu_profiling_bus_helper_display_summary
78 #define starpu_worker_profiling_helper_display_summary starpu_profiling_worker_helper_display_summary
79 #define starpu_archtype starpu_worker_archtype
80 
81 #define starpu_handle_get_interface_id starpu_data_get_interface_id
82 #define starpu_handle_get_size starpu_data_get_size
83 #define starpu_handle_pack_data starpu_data_pack
84 #define starpu_handle_unpack_data starpu_data_unpack
85 
86 #endif /* STARPU_USE_DEPRECATED_ONE_ZERO_API */
87 
88 #ifdef STARPU_USE_DEPRECATED_API
89 typedef starpu_data_handle_t starpu_data_handle;
90 typedef struct starpu_block_interface starpu_block_interface_t;
91 typedef struct starpu_matrix_interface starpu_matrix_interface_t;
92 typedef struct starpu_vector_interface starpu_vector_interface_t;
93 typedef struct starpu_variable_interface starpu_variable_interface_t;
94 typedef struct starpu_csr_interface starpu_csr_interface_t;
95 typedef struct starpu_bcsr_interface starpu_bcsr_interface_t;
96 typedef struct starpu_multiformat_interface starpu_multiformat_interface_t;
97 #define starpu_machine_topology_s starpu_machine_topology
98 #define starpu_htbl32_node_s starpu_htbl32_node
99 #define starpu_history_list_t starpu_history_list
100 #define starpu_buffer_descr_t starpu_buffer_descr
101 #define starpu_regression_model_t starpu_regression_model
102 #define starpu_per_arch_perfmodel_t starpu_per_arch_perfmodel
103 #define starpu_perfmodel_t starpu_perfmodel
104 #define starpu_sched_policy_s starpu_sched_policy
105 #define starpu_data_interface_ops_t starpu_data_interface_ops
106 
107 typedef struct starpu_buffer_descr starpu_buffer_descr;
108 typedef struct starpu_codelet starpu_codelet;
109 typedef struct starpu_codelet starpu_codelet_t;
110 typedef enum starpu_access_mode starpu_access_mode;
111 
112 #define starpu_print_bus_bandwidth starpu_bus_print_bandwidth
113 #define starpu_get_handle_interface_id starpu_handle_get_interface_id
114 #define starpu_get_current_task starpu_task_get_current
115 #define starpu_unpack_cl_args starpu_codelet_unpack_args
116 #define starpu_pack_cl_args starpu_codelet_pack_args
117 #define starpu_task_deinit starpu_task_clean
118 
119 #endif /* STARPU_USE_DEPRECATED_API */
120 
121 #ifdef __cplusplus
122 }
123 #endif
124 
125 #endif /* __STARPU_DEPRECATED_API_H__ */
starpu_variable_interface
Definition: starpu_data_interfaces.h:1292
starpu_codelet
Definition: starpu_task.h:250
starpu_block_interface
Definition: starpu_data_interfaces.h:1012
starpu_bcsr_interface
Definition: starpu_data_interfaces.h:1527
starpu_data_handle_t
struct _starpu_data_state * starpu_data_handle_t
Definition: starpu_data.h:46
starpu_matrix_interface
Definition: starpu_data_interfaces.h:746
starpu_multiformat_interface
Definition: starpu_data_interfaces.h:1743
starpu_csr_interface
Definition: starpu_data_interfaces.h:1393
starpu_vector_interface
Definition: starpu_data_interfaces.h:1163