cuda.bindings._v2.driver.library_get_unified_function#
- cuda.bindings._v2.driver.library_get_unified_function(intptr_t library, symbol) intptr_t#
Returns a pointer to a unified function.
Returns in
*fptrthe function pointer to a unified function denoted bysymbol. If no unified function with namesymbolexists, the call returnsCUDA_ERROR_NOT_FOUND. If there is no device with attributeCU_DEVICE_ATTRIBUTE_UNIFIED_FUNCTION_POINTERSpresent in the system, the call may returnCUDA_ERROR_NOT_FOUND.- Parameters:
library (intptr_t) – Library to retrieve function pointer memory from.
symbol (bytes) – Name of function pointer to retrieve.
- Returns:
Returned pointer to a unified function.
- Return type:
intptr_t
See also
cuLibraryGetUnifiedFunction