CUDALink`
CUDALink`
CUDAFunction
CUDAFunction[args]
represents a function loaded using CUDAFunctionLoad.
更多信息和选项
- The CUDALink application must be loaded using Needs["CUDALink`"].
- CUDAFunction is returned by CUDAFunctionLoad.
- A CUDAFunction object can be used the same way as a pure function.
- The function represented by CUDAFunction runs in the same process as the Wolfram Language kernel.
- The function represented by CUDAFunction is unloaded when the Wolfram Language kernel exits.
- CUDAFunctionInformation returns information about the CUDAFunction.
- On launch, if the number of threads is not specified (as an extra argument to the CUDAFunction), then the dimension of the element with largest rank and dimension is chosen. For images, the rank is set to 2.
- On launch, if the number of threads is not a multiple of the block dimension, then it is incremented to be a multiple of the block dimension.
范例
Wolfram Research (2010),CUDAFunction,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/CUDAFunction.html.
文本
Wolfram Research (2010),CUDAFunction,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/CUDAFunction.html.
CMS
Wolfram 语言. 2010. "CUDAFunction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAFunction.html.
APA
Wolfram 语言. (2010). CUDAFunction. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CUDALink/ref/CUDAFunction.html 年