https://bugzilla.redhat.com/show_bug.cgi?id=2151654
Bug ID: 2151654 Summary: Review Request : CLTune An automatic OpenCL & CUDA kernel tuner Product: Fedora Version: rawhide Status: NEW Component: Package Review Assignee: nobody@fedoraproject.org Reporter: trix@redhat.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
SRPM: https://trix.fedorapeople.org/CLTune-2.7.0-1.20221121git0bbf787.fc38.src.rpm SPEC: https://trix.fedorapeople.org/CLTune.spec FAS: trix Description:
CLTune is a C++ library which can be used to automatically tune your OpenCL and CUDA kernels. The only thing you'll need to provide is a tuneable kernel and a list of allowed parameters and values.
For example, if you would perform loop unrolling or local memory tiling through a pre-processor define, just remove the define from your kernel code, pass the kernel to CLTune and tell it what the name of your parameter(s) are and what values you want to try. CLTune will take care of the rest: it will iterate over all possible permutations, test them, and report the best combination.