CUDALink`FindCUDAToolkit`
CUDALink`FindCUDAToolkit`

TestCUDAToolkitCompatibility

TestCUDAToolkitCompatibility[]

checks if CUDALink is compatible with the installed NVIDIA CUDA Toolkit.

更多信息和选项

  • TestCUDAToolkitCompatibility gives Success if the detected major version of the NVIDIA CUDA Toolkit matches the required major version.
  • If CUDALink can not find an NVIDIA CUDA Toolkit it returns a Failure object.
  • If CUDALink finds an incompatible version of the NVIDIA CUDA Toolkit it returns a Failure object.

范例

基本范例  (1)

Load the package:

This returns Success if CUDALink is compatible with the installed NVIDIA CUDA Toolkit:

This is the detected version of the NVIDIA CUDA Toolkit:

This is the required version of the NVIDIA CUDA Toolkit:

TestCUDAToolkitCompatibility will return Success if the detected and required major versions match. If these versions do not match, install a matching version of the NVIDIA CUDA Toolkit.

Wolfram Research (2020),TestCUDAToolkitCompatibility,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html.

文本

Wolfram Research (2020),TestCUDAToolkitCompatibility,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html.

CMS

Wolfram 语言. 2020. "TestCUDAToolkitCompatibility." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html.

APA

Wolfram 语言. (2020). TestCUDAToolkitCompatibility. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html 年

BibTeX

@misc{reference.wolfram_2024_testcudatoolkitcompatibility, author="Wolfram Research", title="{TestCUDAToolkitCompatibility}", year="2020", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html}", note=[Accessed: 26-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_testcudatoolkitcompatibility, organization={Wolfram Research}, title={TestCUDAToolkitCompatibility}, year={2020}, url={https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html}, note=[Accessed: 26-December-2024 ]}