CUDALink`FindCUDAToolkit`
CUDALink`FindCUDAToolkit`

TestCUDAToolkitCompatibility

TestCUDAToolkitCompatibility[]

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

Details and Options

  • 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.

Examples

Basic Examples  (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 Language function, https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html.

Text

Wolfram Research (2020), TestCUDAToolkitCompatibility, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html.

CMS

Wolfram Language. 2020. "TestCUDAToolkitCompatibility." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html.

APA

Wolfram Language. (2020). TestCUDAToolkitCompatibility. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/TestCUDAToolkitCompatibility.html

BibTeX

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

BibLaTeX

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