# Code Coverage Analysis in .cu files for kernels wrapper functions

**URL:** <https://forums.developer.nvidia.com/t/code-coverage-analysis-in-cu-files-for-kernels-wrapper-functions/50764>\
**Category:** CUDA Programming and Performance\
**Created:** [June 14, 2017, 5:52am UTC](https://forums.developer.nvidia.com/t/code-coverage-analysis-in-cu-files-for-kernels-wrapper-functions/50764 "2017-06-14T05:52:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chinthysl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Chinthysl](https://forums.developer.nvidia.com/u/Chinthysl)\
**Post date:** [June 14, 2017, 5:52am UTC](https://forums.developer.nvidia.com/t/code-coverage-analysis-in-cu-files-for-kernels-wrapper-functions/50764/1 "2017-06-14T05:52:19Z")

</div>

Is there a tool or a method to analyse the code coverage in .cu files? There are thousands of host wrapper functions in .cu files in my gpu code base. Can someone suggest me an option.

---

<div class="post-metadata">

**Author:** ![emailkirangowda](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@emailkirangowda](https://forums.developer.nvidia.com/u/emailkirangowda)\
**Post date:** [September 12, 2024, 4:25pm UTC](https://forums.developer.nvidia.com/t/code-coverage-analysis-in-cu-files-for-kernels-wrapper-functions/50764/2 "2024-09-12T16:25:25Z")

</div>

Check out [this](https://www.rkvalidate.com/code-coverage-cuda-nvidia-host-device) tool,. It generates code coverage for both host and GPU code with easy steps and supports both Windows and Linux.
