scc_extensions.doxy 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * This file is part of the StarPU Handbook.
  3. * Copyright (C) 2009--2011 Universit@'e de Bordeaux
  4. * Copyright (C) 2010, 2011, 2012, 2013 Centre National de la Recherche Scientifique
  5. * Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
  6. * See the file version.doxy for copying conditions.
  7. */
  8. /*! \defgroup API_SCC_Extensions SCC Extensions
  9. \def STARPU_USE_SCC
  10. \ingroup API_SCC_Extensions
  11. This macro is defined when StarPU has been installed with SCC support.
  12. It should be used in your code to detect the availability of SCC.
  13. \def STARPU_MAXSCCDEVS
  14. \ingroup API_SCC_Extensions
  15. This macro defines the maximum number of SCC devices that are
  16. supported by StarPU.
  17. \typedef starpu_scc_func_symbol_t
  18. \ingroup API_SCC_Extensions
  19. Type for SCC function symbols
  20. \fn int starpu_scc_register_kernel(starpu_scc_func_symbol_t *symbol, const char *func_name)
  21. \ingroup API_SCC_Extensions
  22. Initiate a lookup on each SCC device to find the adress of the
  23. function named \p func_name, store them in the global array kernels
  24. and return the index in the array through \p symbol.
  25. \fn starpu_scc_kernel_t starpu_scc_get_kernel(starpu_scc_func_symbol_t symbol)
  26. \ingroup API_SCC_Extensions
  27. If success, return the pointer to the function defined by \p symbol on
  28. the device linked to the called device. This can for instance be used
  29. in a starpu_scc_func_t implementation.
  30. */