pub unsafe extern "C" fn cuParamSetf(
hfunc: CUfunction,
offset: c_int,
value: f32,
) -> CUresult
Expand description
\brief Adds a floating-point parameter to the function’s argument list
\deprecated
Sets a floating-point parameter that will be specified the next time the kernel corresponding to \p hfunc will be invoked. \p offset is a byte offset.
\param hfunc - Kernel to add parameter to \param offset - Offset to add parameter to argument list \param value - Value of parameter
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE \notefnerr
\sa ::cuFuncSetBlockShape, ::cuFuncSetSharedSize, ::cuFuncGetAttribute, ::cuParamSetSize, ::cuParamSeti, ::cuParamSetv, ::cuLaunch, ::cuLaunchGrid, ::cuLaunchGridAsync, ::cuLaunchKernel