Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About OpenCL Test #71

Open
Rewyear opened this issue Jun 11, 2021 · 1 comment
Open

About OpenCL Test #71

Rewyear opened this issue Jun 11, 2021 · 1 comment

Comments

@Rewyear
Copy link

Rewyear commented Jun 11, 2021

Hi I tried to test opencl on my target board which use pvr graphic(embedded environment)

To compare Performance, i did normal test and test with '-va' option.

I think if it uses OpenCL kernel, Performance increases dramatically

but... There is little difference in performance.

some test result is better than test without '-va' option

is it valid results and example?

@LawG4
Copy link

LawG4 commented Sep 23, 2021

Hello,

Apologies for the late reply. The OpenCLMatrixMultiplication example calculates the product of two matrices by using multiple different OpenCL kernels. Each kernel uses a slightly different method to multiply the matrices. This isn't necessarily for benchmarking OpenCL performance of a target device, rather to show the reader some tricks in OpenCL that will optimise your kernel for PowerVR devices.

If I remember correctly, -va stands for Validate, which performs the matrix multiplication on the CPU, and then compares that result to what was calculated on each of the OpenCL kernels.

Hope this helps,
All the best,
Lawrence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants