CUDALink`
CUDALink`

$CUDADevice

$CUDADevice

is the CUDA device used in computation.

更多信息和选项

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

范例

基本范例  (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 语言函数,https://reference.wolfram.com/language/CUDALink/ref/$CUDADevice.html.

文本

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

CMS

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

APA

Wolfram 语言. (2010). $CUDADevice. Wolfram 语言与系统参考资料中心. 追溯自 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 ]}