starpu_deprecated_api.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* StarPU --- Runtime system for heterogeneous multicore architectures.
  2. *
  3. * Copyright (C) 2010-2011 Université de Bordeaux 1
  4. * Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
  5. *
  6. * StarPU is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU Lesser General Public License as published by
  8. * the Free Software Foundation; either version 2.1 of the License, or (at
  9. * your option) any later version.
  10. *
  11. * StarPU is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. *
  15. * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. */
  17. #ifndef __STARPU_DEPRECATED_API_H__
  18. #define _STARPU_DEPRECATED_API_H__
  19. #ifdef __cplusplus
  20. extern "C"
  21. {
  22. #endif
  23. #warning deprecated types. Please update your code to use the latest API, e.g. using tools/dev/rename.sh
  24. #define starpu_codelet struct starpu_codelet
  25. #define starpu_data_handle starpu_data_handle_t
  26. #define starpu_block_interface_t struct starpu_block_interface
  27. #define starpu_matrix_interface_t struct starpu_matrix_interface
  28. #define starpu_vector_interface_t struct starpu_vector_interface
  29. #define starpu_variable_interface_t struct starpu_variable_interface
  30. #define starpu_csr_interface_t struct starpu_csr_interface
  31. #define starpu_bcsr_interface_t struct starpu_bcsr_interface
  32. #define starpu_multiformat_interface_t struct starpu_multiformat_interface
  33. #define starpu_machine_topology_s starpu_machine_topology
  34. #define starpu_htbl32_node_s starpu_htbl32_node
  35. #define starpu_history_list_t starpu_history_list
  36. #define starpu_buffer_descr_t starpu_buffer_descr
  37. #define starpu_history_entry_t starpu_history_entry
  38. #define starpu_history_list_t starpu_history_list
  39. #define starpu_model_list_t starpu_model_list
  40. #define starpu_regression_model_t starpu_regression_model
  41. #define starpu_per_arch_perfmodel_t starpu_per_arch_perfmodel
  42. #define starpu_buffer_descr struct starpu_buffer_descr
  43. #define starpu_perfmodel_t starpu_perfmodel
  44. #define starpu_sched_policy_s starpu_sched_policy
  45. #define starpu_data_interface_ops_t starpu_data_interface_ops
  46. #define starpu_access_mode enum starpu_access_mode
  47. #ifdef __cplusplus
  48. }
  49. #endif
  50. #endif /* _STARPU_DEPRECATED_API_H__ */