CUDAFunctionInformation[fun]
returns information about a CUDAFunction.
CUDAFunctionInformation
CUDAFunctionInformation[fun]
returns information about a CUDAFunction.
Details and Options
- The CUDALink application must be loaded using Needs["CUDALink`"].
- CUDAFunction is returned by functions such as CUDAFunctionLoad.
- A CUDAFunction object can be used the same way as a pure function.
Examples
Basic Examples (1)
First, load the CUDALink application:
Needs["CUDALink`"]This loads a function from the CUDA source:
fun = CUDAFunctionLoad["__global__ void zero(mint * in, mint length) {
mint index = threadIdx.x + blockIdx.x * blockDim.x;
if (index < length)
in[index] = 0;
}", "zero", {{_Integer}, _Integer}, {10}]This returns a rule list of information on the loaded function:
CUDAFunctionInformation[fun]See Also
Tech Notes
Related Guides
-
▪
- CUDALink
Text
Wolfram Research (2010), CUDAFunctionInformation, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDAFunctionInformation.html.
CMS
Wolfram Language. 2010. "CUDAFunctionInformation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAFunctionInformation.html.
APA
Wolfram Language. (2010). CUDAFunctionInformation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDAFunctionInformation.html
BibTeX
@misc{reference.wolfram_2026_cudafunctioninformation, author="Wolfram Research", title="{CUDAFunctionInformation}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDAFunctionInformation.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_cudafunctioninformation, organization={Wolfram Research}, title={CUDAFunctionInformation}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDAFunctionInformation.html}, note=[Accessed: 13-June-2026]}