gpt4 book ai didi

ubuntu - Ubuntu下的OpenCL开发

转载 作者:行者123 更新时间:2023-12-04 19:08:07 35 4
gpt4 key购买 nike

我想使用 Ubuntu 用 C 语言开发一个基于 OpenCL 的应用程序。
但是开发包让我不知所措:

$ apt-cache search opencl | grep dev
ocl-icd-dev - Development files to build a ICD Loader
ocl-icd-opencl-dev - OpenCL development files
beignet-dev - OpenCL for Intel GPUs (development files and documentation)
libarrayfire-cpu-dev - Development files for ArrayFire (CPU backend)
libarrayfire-dev - Common development files for ArrayFire
libarrayfire-opencl-dev - Development files for ArrayFire (OpenCL backend)
libarrayfire-unified-dev - Development files for ArrayFire (unified backend)
libasl-dev - development files for ASL
libclblas-dev - development files for clBLAS
libclc-dev - OpenCL C language implementation - development files
libclfft-dev - development files for clFFT
libforge-dev - development files for forge
libgpuarray-dev - development files for libgpuarray
libigc-dev - Intel graphics compiler for OpenCL -- core development files
libigdfcl-dev - Intel graphics compiler for OpenCL -- OpenCL development files
libigdgmm-dev - Intel Graphics Memory Management Library -- development files
liboclgrind-dev - development files for Oclgrind
libopencl-clang-dev - thin wrapper for clang -- development files
libopentk-cil-dev - Open Toolkit wrapper for OpenGL, OpenAL and OpenCL - Dev files
libpocl-dev - development files for the pocl library
librandom123-dev - parallel random numbers library
libviennacl-dev - Scientific computing library written in C++ based on OpenCL
oclgrind - OpenCL device simulator
opencl-clhpp-headers - C++ headers for OpenCL development
nvidia-opencl-dev - NVIDIA OpenCL development files
我可以只选择 nvidia opencl-dev,还是需要不同的包?我将在 nVidia 上进行调试,但我希望它也能在 AMD 上运行。

最佳答案

你不需要它们中的任何一个。见 this answer .

关于ubuntu - Ubuntu下的OpenCL开发,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63942556/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com