cuModuleGetGlobal: Returns a global pointer from a module

Description Usage Arguments Value References See Also

Description

Returns and *bytes the base pointer and size of the global of name name located in module hmod. If no variable of that name exists, cuModuleGetGlobal() returns CUDA_ERROR_NOT_FOUND. Both parameters dptr and bytes are optional. If one of them is NULL, it is ignored.

Usage

1

Arguments

hmod

Module to retrieve global from

name

Name of global to retrieve

Value

dptr bytes

References

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

See Also

cuModuleGetFunction cuModuleGetTexRef cuModuleLoad cuModuleLoadData cuModuleLoadDataEx cuModuleLoadFatBinary cuModuleUnload


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