forked from neo-ai/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OpenCL] Refactor cl_program generation (apache#7834)
* Refactor OpenCL runtime module to build separate cl_programs for each kernel. This can avoid pathological bugs in the vendor specific OpenCL compiler that may be triggered with large programs. * clang-format * Remove check on program size when deconstructing. * Refactor into SplitKernels method. * Limit number of loops for kernel parsing * Add return doc for SplitKernels per CR.
- Loading branch information
Showing
3 changed files
with
85 additions
and
29 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
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