Diferență între revizuiri ale paginii „PC Lab 6”
De la WikiLabs
Jump to navigationJump to searchCbira (discuție | contribuții) |
Cbira (discuție | contribuții) |
||
Linia 17: | Linia 17: | ||
# Install opencl drivers for your platform | # Install opencl drivers for your platform | ||
− | # Check opencl capable devices with command clinfo | + | # Check what opencl-capable devices with command '''clinfo''' |
− | # Run the VectorAddOpenCL app [[http://wiki.dcae.pub.ro/images/4/4a/VectorAddOpenCL.cpp]] | + | # Run the VectorAddOpenCL app [[http://wiki.dcae.pub.ro/images/4/4a/VectorAddOpenCL.cpp]] to see that all works ok |
+ | # Implement the normalization operation | ||
Versiunea de la data 26 aprilie 2018 15:15
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 :
- Install opencl drivers for your platform
- Check what opencl-capable devices with command clinfo
- Run the VectorAddOpenCL app [[1]] to see that all works ok
- Implement the normalization operation
Points (out of 10) vs. expected performance:
[[]]