Skip to main content

get_function_by_symbol

Function get_function_by_symbol 

Source
pub unsafe fn get_function_by_symbol(
    symbol_ptr: *const c_void,
) -> Result<cudaFunction_t, RuntimeError>
Expand description

Retrieves the function pointer from a symbol.

See cudaGetFuncBySymbol() docs

ยงSafety

Function must exist.