# How to get algorithm for cudnnConvolutionForward

**URL:** <https://forums.developer.nvidia.com/t/how-to-get-algorithm-for-cudnnconvolutionforward/277848>\
**Category:** cuDNN\
**Created:** [January 4, 2024, 12:17pm UTC](https://forums.developer.nvidia.com/t/how-to-get-algorithm-for-cudnnconvolutionforward/277848 "2024-01-04T12:17:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adwitiya.singh](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@adwitiya.singh](https://forums.developer.nvidia.com/u/adwitiya.singh)\
**Post date:** [January 4, 2024, 12:17pm UTC](https://forums.developer.nvidia.com/t/how-to-get-algorithm-for-cudnnconvolutionforward/277848/1 "2024-01-04T12:17:08Z")

</div>

I have looked at the docs for cudnnFindConvolutionForwardAlgorithm and cudnnGetConvolutionForwardAlgorithm\_v7 but both of them return number of algos and their performance, how do i choose and algorithm for enum cudnnConvolutionFwdAlgo\_t. Thanks!

---

<div class="post-metadata">

**Author:** ![AakankshaS](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aakankshas/32/14047_2.png) [@AakankshaS](https://forums.developer.nvidia.com/u/AakankshaS)\
**Post date:** [January 11, 2024, 6:11pm UTC](https://forums.developer.nvidia.com/t/how-to-get-algorithm-for-cudnnconvolutionforward/277848/2 "2024-01-11T18:11:10Z")

</div>

Hi @adwitiya.singh ,  
Can you please briefly explain the issue.

Thanks
