CSCM67 Graphics Processor Programming

 

2017-2018

 

Queries should be sent to b.mora@...

 

 

Recommended Textbook:

 

OpenGL SuperBible, Addison Wesley

OpenCL Programming Guide, Pearson Education

OpenCL API 1.2 Reference Card - Khronos Group

OpenCL 2.1 Reference Card Page 1 - Khronos Group

Cuda Programming Guide

The CUDA Handbook, Nicholas Wilt

Assessment:

3 individual C/C++ programming exercises:

30% (OpenCL), 30% (OpenCL), 40% (OpenGL)

 

Place & Time:

Thursday 09:00-11:00 Lecture, Wallace Room 227

Friday 12:00-14:00 Labs, Wallace Room 219B (PC lab)

 

 

Provisional Timetable

 

Week

Date

Topic

File(s)

Comments

1

08/02/2018

Introduction to Module

Introduction to GP-GPU

Slides

1

09/02/2018

Lab Class: Creating and accessing an OpenCL environment

zip file

Lab Solution

2

15/02/2018

Continuing GP-GPU

 

2

16/02/2018

Lab Class: Simple Sum Kernel

Zip file

Lab Solution

3

22/02/2018

       Lab class solution (slides)

       Next lab class

       Continuing GP_GPU (CUDA)

       Graphics?

3

23/02/2018

PI and mining coins

Zip File

Lab Solution

4

01/03/2018

       Discussing previous and next lab classes

       CW solution?

       Introduction to Graphics with OpenGL

Slides

 

4

02/03/2018

Lab class cancelled due to University closure.

Zip files

 

5

08/03/2018

       Continuing on the Graphics Pipeline

       Lab Class solution

       Next CW

5

09/03/2018

Prefix sum Lab Class

Zip files

Lab Solution

6

15/03/2018

       Continuing on the Graphics Pipeline

       CW1 solution

       Lab Class solution

6

16/03/2018

GLUT and OpenGL #1

Project Files

Lab solution

7

22/03/2018

 

 

7

23/03/2018

OpenGL Lighting Model

Project Files

Lab Solution

8

19/04/2018

Discussing CW2 solution

Discussing CW 3

Texturing

Slides

8

20/04/2018

Vertex and fragment shaders

Project Files

Lab Solution

9

27/04/2018

Q&A session in lab OpenGL support

 

 

 

 

 

 

Coursework (CSCM67)

 

Number

Topics

Link

Comments

1

Prime number test

Deadline: 28th of February

Start-up files

Alternative context file if needed!

OpenCLContext.cpp

Follow Submission guidelines that will be sent to you by email

2

Matrix Multiplication like workload

Deadline: 21st of March

 

Start-up files

 

3

Rain Demo

Deadline: currently 23rd of April on the intranet

New deadline 2nd of May.

Can re-use any OpenGL solutions given above.

One can start working on it during the Easter break without waiting for the last lab class to be completed.

Therefore, do not leave it to the last minute!

 

 

 

 

Useful Links

 

Some datasets are available at:

http://graphics.stanford.edu/data/3Dscanrep/