1. Homepage
  2. Exam
  3. CMP3752M Parallel Programming - Mock Exam - Q2 Parallel Patterns

CMP3752M Parallel Programming - Mock Exam - Q2 Parallel Patterns

This question has been solved
Engage in a Conversation

Question 2 – Parallel Patterns (25 marks) CourseNana.COM


CourseNana.COM


CourseNana.COM

Write a simple OpenCL kernel to perform an averaging operation on a vector array in a local window of size 3 (or range 1). The result should be an average of values at the central position and the immediate neighbours to the left and right. As for the boundary conditions (first and last elements in the vector), you can leave their values unchanged. Use the following blank kernel format as a template. You are not required to write syntactically correct OpenCL code, but you should make your intentions clear (15 marks). CourseNana.COM

  CourseNana.COM

Which parallel pattern should be used for this problem and why? What techniques could be used to optimise the implementation of the pattern in OpenCL? (10 marks CourseNana.COM

Get the Solution to This Question

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
University of Lincoln代写,CMP3752M代写,Parallel Programming 代写,University of Lincoln代编,CMP3752M代编,Parallel Programming 代编,University of Lincoln代考,CMP3752M代考,Parallel Programming 代考,University of Lincolnhelp,CMP3752Mhelp,Parallel Programming help,University of Lincoln作业代写,CMP3752M作业代写,Parallel Programming 作业代写,University of Lincoln编程代写,CMP3752M编程代写,Parallel Programming 编程代写,University of Lincolnprogramming help,CMP3752Mprogramming help,Parallel Programming programming help,University of Lincolnassignment help,CMP3752Massignment help,Parallel Programming assignment help,University of Lincolnsolution,CMP3752Msolution,Parallel Programming solution,