PC Lab 6: Diferență între versiuni

De la WikiLabs
Jump to navigationJump to search
Fără descriere a modificării
Fără descriere a modificării
Linia 18: Linia 18:
# Install opencl drivers for your platform
# Install opencl drivers for your platform
# Check opencl capable devices with command clinfo
# Check opencl capable devices with command clinfo
# Run the VectorAddOpenCL app [[Fișier:VectorAddOpenCL.cpp]]
# Run the VectorAddOpenCL app [[VectorAddOpenCL.cpp]]





Versiunea de la data 26 aprilie 2018 15:12

Session 6

Task: run matrix-column normalization using OpenCL (https://www.khronos.org/opencl)

Matrix-column normalization means that, at the end of the process, every sum of squared elements on the same column is 1.

Example: Assuming matrix is

[ 1, 2 ] 
[ 3, 4 ]

the result of normalization is :


  1. Install opencl drivers for your platform
  2. Check opencl capable devices with command clinfo
  3. Run the VectorAddOpenCL app VectorAddOpenCL.cpp


Points (out of 10) vs. expected performance:


[[]]