| 1234567891011121314151617181920212223242526272829303132333435363738 | /* * This file is part of the StarPU Handbook. * Copyright (C) 2009--2011  Universit@'e de Bordeaux * Copyright (C) 2010, 2011, 2012, 2013  CNRS * Copyright (C) 2011, 2012 INRIA * See the file version.doxy for copying conditions. *//*! \defgroup API_MIC_Extensions MIC Extensions\def STARPU_USE_MIC\ingroup API_MIC_ExtensionsThis macro is defined when StarPU has been installed with MIC support.It should be used in your code to detect the availability of MIC.\def STARPU_MAXMICDEVS\ingroup API_MIC_ExtensionsThis macro defines the maximum number of MIC devices that aresupported by StarPU.\typedef starpu_mic_func_symbol_t\ingroup API_MIC_ExtensionsType for MIC function symbols\fn int starpu_mic_register_kernel(starpu_mic_func_symbol_t *symbol, const char *func_name)\ingroup API_MIC_ExtensionsInitiate a lookup on each MIC device to find the adress of thefunction named \p func_name, store them in the global array kernelsand return the index in the array through \p symbol.\fn starpu_mic_kernel_t starpu_mic_get_kernel(starpu_mic_func_symbol_t symbol)\ingroup API_MIC_ExtensionsIf success, return the pointer to the function defined by \p symbol onthe device linked to the called device. This can for instance be usedin a starpu_mic_func_t implementation.*/
 |