InstallCUDA
InstallCUDA[]
prepares CUDA functionality to be used from the Wolfram Language.
更多信息和选项
- InstallCUDA returns Success when the required CUDA libraries are found and loaded without errors.
- InstallCUDA uses heuristic methods to find the CUDA toolkit on your system.
- CUDA library loading is usually done automatically when you use a CUDALink function. You do not typically need to call InstallCUDA explicitly.
- InstallCUDA returns a Failure object when it can not find or load the appropriate CUDA libraries.
范例
打开所有单元关闭所有单元基本范例 (1)
Run InstallCUDA to load the CUDA libraries in the Wolfram Language session. You can click the opener (+) to get more detailed information:
Check which CUDA compiler was found for use in your Wolfram Language session:
Check which CUDA toolkit is used:
Check which CUDA libraries were loaded into your Wolfram Language session:
Possible Issues (1)
If you do not have a CUDA toolkit installed, InstallCUDA will fail:
文本
Wolfram Research (2020),InstallCUDA,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/InstallCUDA.html.
CMS
Wolfram 语言. 2020. "InstallCUDA." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/InstallCUDA.html.
APA
Wolfram 语言. (2020). InstallCUDA. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CUDALink/ref/InstallCUDA.html 年