OpenCLLink`
OpenCLLink`

OpenCLInformation

OpenCLInformation[]

gives all information about OpenCL platforms and devices on the system.

OpenCLInformation[platform]

gives information on OpenCL platform and about its devices.

OpenCLInformation[platform,prop]

gives information on OpenCL platform property.

OpenCLInformation[platform,device]

gives information on OpenCL device with specified platform.

OpenCLInformation[platform,device,prop]

gives information on OpenCL device property.

更多信息和选项

  • The OpenCLLink application must be loaded using Needs["OpenCLLink`"].
  • See "OpenCLLink Setup" if OpenCLInformation returns with an error.

范例

基本范例  (1)

First, load the OpenCLLink application:

This returns information on the first OpenCL platform:

This returns the extensions of the first OpenCL platform:

This returns information on the first OpenCL platform and device:

This returns the type of the first OpenCL platform and device:

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

文本

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_openclinformation, author="Wolfram Research", title="{OpenCLInformation}", year="2010", howpublished="\url{https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLInformation.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_openclinformation, organization={Wolfram Research}, title={OpenCLInformation}, year={2010}, url={https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLInformation.html}, note=[Accessed: 21-November-2024 ]}