Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C 我可以在任何系统上使用GPU作为GPGPU吗_C_Linux_Gcc_X86 64_Gpgpu - Fatal编程技术网

C 我可以在任何系统上使用GPU作为GPGPU吗

C 我可以在任何系统上使用GPU作为GPGPU吗,c,linux,gcc,x86-64,gpgpu,C,Linux,Gcc,X86 64,Gpgpu,我希望使用系统的GPU作为GPGPU。这台机器是远程的,我没有管理权限,而且我对它的驱动程序一无所知。我知道它有一个Matrox VGA卡。我可以用C代码和gcc编译器作为GPGPU使用,还是需要一些驱动程序?或者我只能使用OpenGL并扭曲逻辑以符合我的目的吗?使用OpenGL没有简单的方法可以做到这一点。如果您知道图形卡支持GPGPU功能,那么就很容易做到这一点。i、 e.CUDA、OpenCL或AMD流。然后,您可以使用其中一个API编写一个使用GPU进行计算的程序。为此,您将需要相应的S

我希望使用系统的GPU作为GPGPU。这台机器是远程的,我没有管理权限,而且我对它的驱动程序一无所知。我知道它有一个Matrox VGA卡。我可以用C代码和gcc编译器作为GPGPU使用,还是需要一些驱动程序?或者我只能使用OpenGL并扭曲逻辑以符合我的目的吗?

使用OpenGL没有简单的方法可以做到这一点。如果您知道图形卡支持GPGPU功能,那么就很容易做到这一点。i、 e.CUDA、OpenCL或AMD流。然后,您可以使用其中一个API编写一个使用GPU进行计算的程序。为此,您将需要相应的SDK。但是,即使使用此API,使用GPU进行复杂计算也不是件小事。

使用图形卡的OpenCL/CUDA/Stream功能需要公开该功能的驱动程序。除此之外,旧卡(如ATI X800系列)没有所需的硬件来有效地实现GPGPU所需的功能,因此无法用于此类目的


我怀疑Matrox VGA卡是否支持GPGPU。

一些Matrox视频卡支持OpenGL和/或DirectX,因此您可以通过使用OpenGL/GLSLDirectX/HLSL编写的着色器来完成您想要做的事情

检查视频卡的规格

警告:这些卡没有特别好的GPU