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

large overhead for launching kernel #8687

Open
doonny opened this issue Jan 10, 2025 · 0 comments
Open

large overhead for launching kernel #8687

doonny opened this issue Jan 10, 2025 · 0 comments

Comments

@doonny
Copy link

doonny commented Jan 10, 2025

I am using the U55c board and vitis 2022.1, I have found that the kernel launching latency is very large (50us~100us), this may cause a big differnece when using the API clGetEventProfilingInfo() to measure kernel execution time.

image

For example, when using clGetEventProfilingInfo() to measure a kernel execution time, I got 762us, as follow:
image

But the kernel acutally only runs for 649us as follow:
image

The will cause a BW estimation of 350GB/s and 410GB/s, respectively.

Is there anyway to minize the launching overhead for kernels ?

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

1 participant