Which of the following statements is/are FALSE? 1. Work-groups run on processing elements 2. A work-item has access to another work-item's private memory 3. Work-groups can run in parallel Select one: a. 1 and 2 b. 2 only c. 2 and 3 d. 1 only e. 1 and 3 Clear my choice Which of the following is NOT an OpenCL command? Select one: a. enqueueKernel b. enqueueTask c. enqueueReadBuffer d. enqueueMapBuffer e. enqueueWritelmage Clear my choice Given the following snippet of code: int num; std::string data; std::vector platforms; cl::Platform::get(&platforms); Which of the following statements will not work? Select one: a. platform.getinfo(CL_PLATFORM_NAME, &num); b. num= platforms.size(); c. data = platform.getInfo(); d. num = platform.getInfo(CL_PLATFORM_NAME, &data); platform.getInfo(CL_PLATFORM_VENDOR, &data); e.

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter8: System Initialization, X Windows, And Localization
Section: Chapter Questions
Problem 2RQ
icon
Related questions
Question
100%
Which of the following statements is/are FALSE?
1. Work-groups run on processing elements
2. A work-item has access to another work-item's private memory
3. Work-groups can run in parallel
Select one:
a. 1 and 2
b. 2 only
c.
2 and 3
d. 1 only
e. 1 and 3
Clear my choice
Which of the following is NOT an OpenCL command?
Select one:
a. enqueueKernel
b. enqueueTask
c. enqueueReadBuffer
d. enqueueMapBuffer
e. enqueueWritelmage
Clear my choice
Given the following snippet of code:
int num;
std::string data;
std::vector<cl::Platform> platforms;
cl:Platform::get(&platforms);
Which of the following statements will not work?
Select one:
a. platform.getInfo(CL_PLATFORM_NAME, &num);
b. num = platforms.size();
c. data = platform.getInfo<CL_PLATFORM_NAME>();
d. num = platform.getInfo(CL_PLATFORM_NAME, &data);
e. platform.getInfo(CL_PLATFORM_VENDOR, &data);
Clear my choice
Transcribed Image Text:Which of the following statements is/are FALSE? 1. Work-groups run on processing elements 2. A work-item has access to another work-item's private memory 3. Work-groups can run in parallel Select one: a. 1 and 2 b. 2 only c. 2 and 3 d. 1 only e. 1 and 3 Clear my choice Which of the following is NOT an OpenCL command? Select one: a. enqueueKernel b. enqueueTask c. enqueueReadBuffer d. enqueueMapBuffer e. enqueueWritelmage Clear my choice Given the following snippet of code: int num; std::string data; std::vector<cl::Platform> platforms; cl:Platform::get(&platforms); Which of the following statements will not work? Select one: a. platform.getInfo(CL_PLATFORM_NAME, &num); b. num = platforms.size(); c. data = platform.getInfo<CL_PLATFORM_NAME>(); d. num = platform.getInfo(CL_PLATFORM_NAME, &data); e. platform.getInfo(CL_PLATFORM_VENDOR, &data); Clear my choice
Expert Solution
steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Windows
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L