GPU Programming
Which is an example of a parallel-programming framework for GPUs that also works on GPUs other than NVIDIA's?
- AHTML
- BSQL
- COpenCL
Show answer and explanation
Answer: C. OpenCL
CUDA targets NVIDIA GPUs, while OpenCL is an industry-consortium standard that runs on GPUs, CPUs and FPGAs from multiple vendors. Others include SYCL, written in C++, and HIP, which targets AMD GPUs with CUDA-like syntax. The syntax differs, but the principles, such as the thread hierarchy, shared memory, coalescing and keeping branches uniform, are common to all.
- A. HTML is a language for writing web pages.
- B. SQL is a language for querying databases.
- C. Correct. It is a standard supported by devices from multiple vendors.