InstallCUDA[]
prepares CUDA functionality to be used from the Wolfram Language.
InstallCUDA
InstallCUDA[]
prepares CUDA functionality to be used from the Wolfram Language.
Details and Options
- 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.
Examples
open all close allBasic Examples (1)
Needs["CUDALink`"]Run InstallCUDA to load the CUDA libraries in the Wolfram Language session. You can click the opener (+) to get more detailed information:
result = InstallCUDA[]Check which CUDA compiler was found for use in your Wolfram Language session:
result["NVCC"]Check which CUDA toolkit is used:
result["Toolkit"]Check which CUDA libraries were loaded into your Wolfram Language session:
result["LibrariesLoaded"]Possible Issues (1)
Needs["CUDALink`"]If you do not have a CUDA toolkit installed, InstallCUDA will fail:
InstallCUDA[]Text
Wolfram Research (2020), InstallCUDA, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/InstallCUDA.html.
CMS
Wolfram Language. 2020. "InstallCUDA." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/InstallCUDA.html.
APA
Wolfram Language. (2020). InstallCUDA. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/InstallCUDA.html
BibTeX
@misc{reference.wolfram_2026_installcuda, author="Wolfram Research", title="{InstallCUDA}", year="2020", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/InstallCUDA.html}", note=[Accessed: 16-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_installcuda, organization={Wolfram Research}, title={InstallCUDA}, year={2020}, url={https://reference.wolfram.com/language/CUDALink/ref/InstallCUDA.html}, note=[Accessed: 16-June-2026]}