sycl-gtx icon indicating copy to clipboard operation
sycl-gtx copied to clipboard

take much time on building OpenCL program

Open SimonWang9610 opened this issue 4 years ago • 1 comments

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!

SimonWang9610 avatar Jun 21 '21 21:06 SimonWang9610

Hi,

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

ProGTX avatar Jun 25 '21 13:06 ProGTX