libocca / occa

Portable and vendor neutral framework for parallel programming on heterogeneous platforms.
https://libocca.org
MIT License
382 stars 81 forks source link

Allow user to define the maximum number of kernel arguments #718

Closed deukhyun-cha closed 7 months ago

deukhyun-cha commented 7 months ago

Allow user to define the maximum number of kernel arguments as a CMake parameter and auto-generate the necessary codes if needed. This is to provide flexibility for any larger number of kernel argument required by an application and to optimize the compile time. When the default value predefined is used it compile with generated codes already there without re-generating them.

deukhyun-cha commented 7 months ago

There is a couple of remarks;

codecov[bot] commented 7 months ago

Codecov Report

Merging #718 (d02cc59) into development (ec6e59d) will increase coverage by 0.00%. The diff coverage is n/a.

:exclamation: Current head d02cc59 differs from pull request most recent head 63dbab5. Consider uploading reports for the commit 63dbab5 to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/libocca/occa/pull/718/graphs/tree.svg?width=650&height=150&src=pr&token=doaG4c84wZ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca)](https://app.codecov.io/gh/libocca/occa/pull/718?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca) ```diff @@ Coverage Diff @@ ## development #718 +/- ## ============================================ Coverage 75.26% 75.27% ============================================ Files 297 297 Lines 19324 19327 +3 ============================================ + Hits 14544 14548 +4 + Misses 4780 4779 -1 ``` [see 2 files with indirect coverage changes](https://app.codecov.io/gh/libocca/occa/pull/718/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca)