cubecl_hip_sys

Function hipModuleLoadData

Source
pub unsafe extern "C" fn hipModuleLoadData(
    module: *mut hipModule_t,
    image: *const c_void,
) -> hipError_t
Expand description

@brief builds module from code object which resides in host memory. Image is pointer to that location.

@param [in] image The pointer to the location of data @param [out] module Retuned module

@returns hipSuccess, hipErrorNotInitialized, hipErrorOutOfMemory, hipErrorNotInitialized