Warning: mysqli_query(): (HY000/1030): Got error 28 from storage engine in /home/bestuniv/public_html/ukusessays.com/wp-includes/wp-db.php on line 1877
Code analysis | UK US Essays
  • April 22nd, 2016

Code analysis

Paper, Order, or Assignment Requirements

Questions:

  1. How many data item are processed?

 

  1. How many work items are created?

 

  1. What is the work group size?

 

  1. How many work groups are created?

 

  1. Briefly describe the key ideas in the reduction process as implemented in Reduction_Kernels.cl. How is the sum calculated? For the work-item with global ID 0, how many additions does it perform?

 

  1. In Reduction_Kernels.cl, what is the purpose of barrier(CL_LOCAL_MEM_FENCE)?

 

  1. (20 points) Briefly describe how the data array is transferred from host memory to compute device memory. Is the buffer object on compute device memory or host memory? Point out which line of the code actually trigger the data transfer.

 

  1. In Reduction.cpp, why do we need to add the values in the array outMapPtr? Who provides the values in the array outMapPtr?

 

Latest completed orders:

Completed Orders
# Title Academic Level Subject Area # of Pages Paper Urgency