CUDALink`
CUDALink`

$CUDADevice

$CUDADevice

is the CUDA device used in computation.

Details and Options

  • The CUDALink package must be loaded using Needs["CUDALink`"].
  • Set to Automatic, the CUDA computations are performed on the fastest device.
  • Changes to the device performed after execution of a CUDALink function are ignored.

Examples

Basic Examples  (1)

First, load the CUDALink application:

This sets the computation device to 1:

Subsequent computation using any of the CUDALink functions will use the $CUDADevice specified:

Wolfram Research (2010), $CUDADevice, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/$CUDADevice.html.

Text

Wolfram Research (2010), $CUDADevice, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/$CUDADevice.html.

CMS

Wolfram Language. 2010. "$CUDADevice." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/$CUDADevice.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_$cudadevice, author="Wolfram Research", title="{$CUDADevice}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/$CUDADevice.html}", note=[Accessed: 14-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$cudadevice, organization={Wolfram Research}, title={$CUDADevice}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/$CUDADevice.html}, note=[Accessed: 14-November-2024 ]}