cubecl_hip_sys

Function hipModuleLoadDataEx

Source
pub unsafe extern "C" fn hipModuleLoadDataEx(
    module: *mut hipModule_t,
    image: *const c_void,
    numOptions: c_uint,
    options: *mut hipJitOption,
    optionValues: *mut *mut c_void,
) -> hipError_t
Expand description

@brief builds module from code object which resides in host memory. Image is pointer to that location. Options are not used. hipModuleLoadData is called.

@param [in] image The pointer to the location of data @param [out] module Retuned module @param [in] numOptions Number of options @param [in] options Options for JIT @param [in] optionValues Option values for JIT

@returns hipSuccess, hipErrorNotInitialized, hipErrorOutOfMemory, hipErrorNotInitialized