CUDAInformation[]
queries information on all CUDA devices detected.
CUDAInformation[dev]
queries information on CUDA dev.
CUDAInformation[dev,prop]
queries prop on CUDA dev.
CUDAInformation
CUDAInformation[]
queries information on all CUDA devices detected.
CUDAInformation[dev]
queries information on CUDA dev.
CUDAInformation[dev,prop]
queries prop on CUDA dev.
更多信息和选项
- The CUDALink application must be loaded using Needs["CUDALink`"].
- The device numbering is system configuration and driver version dependent.
范例
打开所有单元 关闭所有单元基本范例 (3)
First, load the CUDALink application:
Needs["CUDALink`"]This returns information on all CUDA devices detected on the system:
CUDAInformation[]This returns information on the first device on the system:
CUDAInformation[1]This returns the name of the first device:
CUDAInformation[1, "Name"]Applications (3)
This finds the names of all cards on the system:
CUDAInformation[#, "Name"]& /@ Range[Length[CUDAInformation[]]]This finds all devices with double-precision support:
Select[Range[Length[CUDAInformation[]]], CUDAInformation[#, "Compute Capabilities"] ≥ 1.3&]This finds all Fermi cards on the system:
Select[Range[Length[CUDAInformation[]]], CUDAInformation[#, "Compute Capabilities"] ≥ 2.0&]相关指南
-
▪
- CUDALink
文本
Wolfram Research (2010),CUDAInformation,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/CUDAInformation.html.
CMS
Wolfram 语言. 2010. "CUDAInformation." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAInformation.html.
APA
Wolfram 语言. (2010). CUDAInformation. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CUDALink/ref/CUDAInformation.html 年
BibTeX
@misc{reference.wolfram_2026_cudainformation, author="Wolfram Research", title="{CUDAInformation}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDAInformation.html}", note=[Accessed: 18-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_cudainformation, organization={Wolfram Research}, title={CUDAInformation}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDAInformation.html}, note=[Accessed: 18-August-2026]}