starpu_deprecated_api.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* StarPU --- Runtime system for heterogeneous multicore architectures.
  2. *
  3. * Copyright (C) 2010-2012 Université de Bordeaux 1
  4. * Copyright (C) 2010, 2011, 2012 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 Your application is using former types. You may want to update to use the latest API, by using tools/dev/rename.sh.
  24. typedef starpu_data_handle_t starpu_data_handle;
  25. typedef struct starpu_block_interface starpu_block_interface_t;
  26. typedef struct starpu_matrix_interface starpu_matrix_interface_t;
  27. typedef struct starpu_vector_interface starpu_vector_interface_t;
  28. typedef struct starpu_variable_interface starpu_variable_interface_t;
  29. typedef struct starpu_csr_interface starpu_csr_interface_t;
  30. typedef struct starpu_bcsr_interface starpu_bcsr_interface_t;
  31. typedef struct starpu_multiformat_interface starpu_multiformat_interface_t;
  32. #define starpu_machine_topology_s starpu_machine_topology
  33. #define starpu_htbl32_node_s starpu_htbl32_node
  34. #define starpu_history_list_t starpu_history_list
  35. #define starpu_buffer_descr_t starpu_buffer_descr
  36. #define starpu_history_list_t starpu_history_list
  37. #define starpu_regression_model_t starpu_regression_model
  38. #define starpu_per_arch_perfmodel_t starpu_per_arch_perfmodel
  39. #define starpu_perfmodel_t starpu_perfmodel
  40. #define starpu_sched_policy_s starpu_sched_policy
  41. #define starpu_data_interface_ops_t starpu_data_interface_ops
  42. typedef struct starpu_buffer_descr starpu_buffer_descr;
  43. typedef struct starpu_codelet starpu_codelet;
  44. typedef struct starpu_codelet starpu_codelet_t;
  45. typedef enum starpu_access_mode starpu_access_mode;
  46. #define starpu_print_bus_bandwidth starpu_bus_print_bandwidth
  47. #define starpu_get_handle_interface_id starpu_handle_get_interface_id
  48. #define starpu_get_current_task starpu_task_get_current
  49. #define starpu_unpack_cl_args starpu_codelet_unpack_args
  50. #define starpu_pack_cl_args starpu_codelet_pack_args
  51. #define starpu_task_deinit starpu_task_clean
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55. #endif /* __STARPU_DEPRECATED_API_H__ */