-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
basic/pthread: compile static WG size even if dynamic WG binaries exist
Previously, pocl's basic/pthread driver used dynamic WG binaries first if they were available, even if pocl was built with LLVM (= able to build a static WG binary). As consequence, PyOpenCL always used dynamic WG binaries, since it calls clGetProgramInfo(BINARIES) right after it builds a program, which triggers a build of dynamic WG binaries. This commit changes pocl_check_kernel_disk_cache() to call llvm_codegen() even if a dynamic WG binary already exists.
- Loading branch information
Showing
2 changed files
with
49 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters