4

I've been reading about CUDA and OpenCL and have learned that before these frameworks developers could only use low level APIs like OPENGL and D3D. Unfortunately I haven't been able to find much information about it.

Was it a widespread or commercial practice or was it just something they used in research and military labs? I'm sure somebody here will have experience with earlier GPGPU programming.

4

3 回答 3

4

在 CUDA 和 OpenCL 出现之前,有许多 GPGPU 方法,例如BrookCg编程语言。

于 2010-07-09T10:41:00.317 回答
3

如果您对历史感兴趣,我认为最早让人们意识到 GPGPU 可能的论文之一是当时一些 SGI 人员的 SIGGRAPH 2000 论文“交互式多通道可编程着色”。他们的想法是他们可以将任何 RenderMan 着色语言着色器转换为一系列 OpenGL 调用(加上一些扩展)。令人惊奇的是,它根本没有使用可编程着色器——这一切都是基于为混合方程设置正确的参数并使用许多通道。数值精度是可笑的(8 位或 16 位定点),但使用图形硬件进行计算的想法就在那里。

从那时起,他们可以做更出色的每像素事情,再加上硬件的改进,很快就在 2003 年左右产生了 GPGPU 流体流动求解器。大约在那个时候,每个人都对巨大的 hack 感到脸红,这导致了 CUDA 和OpenCL。

于 2010-07-17T23:22:37.260 回答
3

It was mostly used in research. Of course, some GPGPU techniques was applied for software which needed to put pixels on the screen and for games, but mostly it was a research thingy.

于 2010-07-09T09:23:08.840 回答