Pergunta

From a history of graphics hardware:

Indeed, in the most recent hardware era, hardware makers have added features to GPUs that have somewhat... dubious uses in the field of graphics, but substantial uses in GPGPU tasks.

What is the author referring to here?

Foi útil?

Solução

I would assume that it is referring to the extra hardware features, as well as abstraction to support GPGPU initiatives such as CUDA and OpenCL. From the description of CUDA:

CUDA has several advantages over traditional general-purpose computation on GPUs (GPGPU) using graphics APIs: Scattered reads – code can read from arbitrary addresses in memory Shared memory – CUDA exposes a fast shared memory region (up to 48KB per Multi-Processor) that can be shared amongst threads. This can be used as a user-managed cache, enabling higher bandwidth than is possible using texture lookups. Faster downloads and readbacks to and from the GPU Full support for integer and bitwise operations, including integer texture lookups

These are all features that are relevant when implement for CUDA and OpenCL, but are somewhat irrelevant (at least directly) to graphics APIs such as OpenGL. GPGPU features still can be leveraged in unconventional ways to supplement the traditional graphics pipeline.

The example of "CUDA exposes a fast shared memory region" would be an additional hardware requirement potentially useless to OpenGL.

You can read this detailed document describing the architecture required for CUDA, and the differences between it and traditional graphics exclusive GPUs.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top