cubecl_hip_sys

Function hipKernelNameRefByPtr

Source
pub unsafe extern "C" fn hipKernelNameRefByPtr(
    hostFunction: *const c_void,
    stream: hipStream_t,
) -> *const c_char
Expand description

@brief Retrives kernel for a given host pointer, unless stated otherwise.

@param [in] hostFunction Pointer of host function. @param [in] stream Stream the kernel is executed on.

@returns #hipSuccess, #hipErrorInvalidValue