XGProxyDMatrixSetDataCudaArrayInterface

Function XGProxyDMatrixSetDataCudaArrayInterface 

Source
pub unsafe extern "C" fn XGProxyDMatrixSetDataCudaArrayInterface(
    handle: DMatrixHandle,
    c_interface_str: *const c_char,
) -> c_int
Expand description

\brief Set data on a DMatrix proxy.

\param handle A DMatrix proxy created by XGProxyDMatrixCreate \param c_interface_str Null terminated JSON document string representation of CUDA array interface.

\return 0 when success, -1 when failure happens