Which of the following statements about events is/are FALSE? 1. A callback function can be triggered when an event completes 2. An event object's callback function must be set before associating it with a comma 3. A user event can be used to abort a command from executing on a device Select one: a. 1 and 2 b. 2 only c. 2 and 3 d. 1 only e. 1 and 3 Clear my choice What is a characteristic of the map parallel pattern? Select one: a. It is an iterative pattern b. A map pattern must use an associative operator c. Each operation in the map pattern must be independent d. All operations depend on neighbouring data e. Operations in the map pattern are performed in sequence Clear my choice

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Which of the following statements about events is/are FALSE?
1. A callback function can be triggered when an event completes
2. An event object's callback function must be set before associating it with a command
3. A user event can be used to abort a command from executing on a device
Select one:
a.
1 and 2
b.
2 only
c. 2 and 3
d. 1 only
e. 1 and 3
Clear my choice
What is a characteristic of the map parallel pattern?
Select one:
a. It is an iterative pattern
b. A map pattern must use an associative operator
c. Each operation in the map pattern must be independent
d. All operations depend on neighbouring data
e. Operations in the map pattern are performed in sequence
Clear my choice
Transcribed Image Text:Which of the following statements about events is/are FALSE? 1. A callback function can be triggered when an event completes 2. An event object's callback function must be set before associating it with a command 3. A user event can be used to abort a command from executing on a device Select one: a. 1 and 2 b. 2 only c. 2 and 3 d. 1 only e. 1 and 3 Clear my choice What is a characteristic of the map parallel pattern? Select one: a. It is an iterative pattern b. A map pattern must use an associative operator c. Each operation in the map pattern must be independent d. All operations depend on neighbouring data e. Operations in the map pattern are performed in sequence Clear my choice
Which of the following statements about the OpenCL platform model is FALSE?
Select one:
a. Each device can have more than one processing element
b. Each device can have more than one compute unit
c. A GPU is an example of a compute device
d. A host is connected to one or more compute devices
e. A compute unit can contain only one processing element
Clear my choice
What does the following snippet of code do?
queue.enqueueNDRangeKernel(kernel, offset, globalSize, cl::NullRange, NULL, &ev);
queue.finish();
cl_ulong t1 = ev.getProfilingInfo<CL_PROFILING_COMMAND_START>();
cl_ulong t2 = ev.getProfilingInfo<CL_PROFILING_COMMAND_END>();
cl_ulong result = t2 - 11;
Select one:
a. It computes the amount of time enqueueNDRangeKernel took to execute
b. The result is how long enqueueNDRangeKernel remained in the queue
c. It computes the amount of time a work-item took to execution time
d. The result is how long profiling took to execute
e. The result is total time for data transfer
Clear my choice
Transcribed Image Text:Which of the following statements about the OpenCL platform model is FALSE? Select one: a. Each device can have more than one processing element b. Each device can have more than one compute unit c. A GPU is an example of a compute device d. A host is connected to one or more compute devices e. A compute unit can contain only one processing element Clear my choice What does the following snippet of code do? queue.enqueueNDRangeKernel(kernel, offset, globalSize, cl::NullRange, NULL, &ev); queue.finish(); cl_ulong t1 = ev.getProfilingInfo<CL_PROFILING_COMMAND_START>(); cl_ulong t2 = ev.getProfilingInfo<CL_PROFILING_COMMAND_END>(); cl_ulong result = t2 - 11; Select one: a. It computes the amount of time enqueueNDRangeKernel took to execute b. The result is how long enqueueNDRangeKernel remained in the queue c. It computes the amount of time a work-item took to execution time d. The result is how long profiling took to execute e. The result is total time for data transfer Clear my choice
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
JQuery and Javascript
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education