Module Management
[CUDA Driver API]


Functions

CUresult cuModuleGetFunction (CUfunction *hfunc, CUmodule hmod, const char *name)
 Returns a function handle.
CUresult cuModuleGetGlobal (CUdeviceptr *dptr, size_t *bytes, CUmodule hmod, const char *name)
 Returns a global pointer from a module.
CUresult cuModuleGetSurfRef (CUsurfref *pSurfRef, CUmodule hmod, const char *name)
 Returns a handle to a surface reference.
CUresult cuModuleGetTexRef (CUtexref *pTexRef, CUmodule hmod, const char *name)
 Returns a handle to a texture reference.
CUresult cuModuleLoad (CUmodule *module, const char *fname)
 Loads a compute module.
CUresult cuModuleLoadData (CUmodule *module, const void *image)
 Load a module's data.
CUresult cuModuleLoadDataEx (CUmodule *module, const void *image, unsigned int numOptions, CUjit_option *options, void **optionValues)
 Load a module's data with options.
CUresult cuModuleLoadFatBinary (CUmodule *module, const void *fatCubin)
 Load a module's data.
CUresult cuModuleUnload (CUmodule hmod)
 Unloads a module.

Detailed Description

This section describes the module management functions of the low-level CUDA driver application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA