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

take much time on building OpenCL program #24

Open
SimonWang9610 opened this issue Jun 21, 2021 · 1 comment
Open

take much time on building OpenCL program #24

SimonWang9610 opened this issue Jun 21, 2021 · 1 comment

Comments

@SimonWang9610
Copy link

Hi Peter,

I found it takes more time when compiling an OpenCL program using clCompileProgram() and clLinkProgram() separately compared to only using clBuildProgram().

Are there some reasons to use the two-step compilation, not the one-step compilation, when building an OpenCL program in SYCL-GTX?

Any response would be appreciated a lot!

@ProGTX
Copy link
Owner

ProGTX commented Jun 25, 2021

Hi,

I believe it was because of implementation simplicity. There could definitely be another path that builds the program directly.

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