CUresult cuModuleGetFunction ( CUfunction func,
CUmodule  mod,
const char *  name 
)

Returns in *func the handle of the function of name name located in module mod. If no function of that name exists, cuModuleGetFunction() returns CUDA_ERROR_NOT_FOUND.

Parameters:
func - Returned function handle
mod - Module to retrieve function from
name - Name of function to retrieve
Returns:
CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE, CUDA_ERROR_NOT_FOUND
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuModuleGetGlobal, cuModuleGetTexRef, cuModuleLoad, cuModuleLoadData, cuModuleLoadDataEx, cuModuleLoadFatBinary, cuModuleUnload


Generated by Doxygen on Mon Mar 30 23:16:12 2009 for NVIDIA CUDA Library  NVIDIA