Function rcudnn_sys::cudaSetDoubleForDevice [−][src]
pub unsafe extern "C" fn cudaSetDoubleForDevice(
d: *mut f64
) -> cudaError_t
Expand description
\brief Converts a double argument to be executed on a device
\param d - Double to convert
\deprecated This function is deprecated as of CUDA 7.5
Converts the double value of \p d to an internal float representation if the device does not support double arithmetic. If the device does natively support doubles, then this function does nothing.
\return ::cudaSuccess \notefnerr \note_init_rt \note_callback
\sa \ref ::cudaFuncSetCacheConfig(const void*, enum cudaFuncCache) “cudaFuncSetCacheConfig (C API)”, \ref ::cudaFuncGetAttributes(struct cudaFuncAttributes*, const void*) “cudaFuncGetAttributes (C API)”, ::cudaSetDoubleForHost