cuModuleLoad: Loads a compute module

Description Usage Arguments Value References See Also

Description

Takes a filename fname and loads the corresponding module module into the current context. The CUDA driver API does not attempt to lazily allocate the resources needed by a module; if the memory for functions and data (constant and global) needed by the module cannot be allocated, cuModuleLoad() fails. The file should be a cubin file as output by nvcc, or a PTX file either as output by nvcc or handwritten, or a fatbin file as output by nvcc from toolchain 4.0 or later.

Usage

1
cuModuleLoad(fname)

Arguments

fname

Filename of module to load

Value

module

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cuModuleGetFunction cuModuleGetGlobal cuModuleGetTexRef cuModuleLoadData cuModuleLoadDataEx cuModuleLoadFatBinary cuModuleUnload


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.