Function rcudnn::cudaGetSymbolAddress[][src]

pub unsafe extern "C" fn cudaGetSymbolAddress(
    devPtr: *mut *mut c_void,
    symbol: *const c_void
) -> cudaError
Expand description

\brief Finds the address associated with a CUDA symbol

Returns in \p *devPtr the address of symbol \p symbol on the device. \p symbol is a variable that resides in global or constant memory space. If \p symbol cannot be found, or if \p symbol is not declared in the global or constant memory space, \p *devPtr is unchanged and the error ::cudaErrorInvalidSymbol is returned.

\param devPtr - Return device pointer associated with symbol \param symbol - Device symbol address

\return ::cudaSuccess, ::cudaErrorInvalidSymbol, ::cudaErrorNoKernelImageForDevice \notefnerr \note_string_api_deprecation \note_init_rt \note_callback

\sa \ref ::cudaGetSymbolAddress(void**, const T&) “cudaGetSymbolAddress (C++ API)”, \ref ::cudaGetSymbolSize(size_t*, const void*) “cudaGetSymbolSize (C API)”, ::cuModuleGetGlobal