starpu_deprecated_api.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 still using deprecated types. Please update to use the latest API, e.g. 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 enum starpu_access_mode starpu_access_mode;
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48. #endif /* __STARPU_DEPRECATED_API_H__ */