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

One OpenCL program per kernel #86

Open
ancahamuraru opened this issue Dec 11, 2014 · 0 comments
Open

One OpenCL program per kernel #86

ancahamuraru opened this issue Dec 11, 2014 · 0 comments

Comments

@ancahamuraru
Copy link

As opposed to having an OpenCL program object for all existing kernels and doing the compiling for all of them from the start, evaluate the alternative of creating an OpenCL program for one single kernel every time that kernel is needed.

Evaluate how it impacts the overall application performance considering:

  • the overhead for creating the OpenCL program
  • how long clBuildProgram takes (for both AMD and NVIDIA GPUs)

If there is no performance penalty for the host side, implement this model with 1 OpenCL program/kernel.

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

No branches or pull requests

1 participant