CuDNN: Issue with Setting Up RNN DescriptorV8

Hi i am learning CUDA and trying to setup a RNN using CuDNN. However, i stuck at the cudnnSetRNNDescriptor_v8 function, which keeps returning a status code 9 (CUDNN_STATUS_NOT_SUPPORTED). From what i read in the documentation it means that the combination of parameters im using isn’t supported. I check the arguments, and try change some of the parameter but unable to resolve the issue. While the code compiles fine, it always return me the status code 9.

#include <cuda_runtime.h>
#include <iostream>
#include <cudnn.h>

using namespace std;

int main() {
    // Create a cuDNN handle
    cudnnHandle_t handle;
    cudnnCreate(&handle);

    // Define RNN descriptor
    cudnnRNNDescriptor_t rnnDesc;
    cudnnCreateRNNDescriptor(&rnnDesc);

    int inputSize = 100;  
    int hiddenSize = 64;  
    int projSize = 32;  
    int numLayers = 2;  

    cudnnDropoutDescriptor_t dropoutDesc;
    cudnnCreateDropoutDescriptor(&dropoutDesc);

    float dropout = 0.5; 
    cudnnStatus_t cudnnStatus = cudnnSetDropoutDescriptor(
        dropoutDesc, handle, dropout, NULL, 0, 1234);

    cout<<"STATUS FOR DROP OUT: "<<cudnnStatus<<endl;
    
    cudnnRNNAlgo_t algo = CUDNN_RNN_ALGO_STANDARD;
    cudnnRNNMode_t cellMode = CUDNN_RNN_RELU;
    cudnnRNNBiasMode_t biasMode = CUDNN_RNN_NO_BIAS; 
    cudnnDirectionMode_t dirMode = CUDNN_UNIDIRECTIONAL; 
    cudnnRNNInputMode_t inputMode = CUDNN_LINEAR_INPUT; 
    cudnnDataType_t dataType = CUDNN_DATA_FLOAT;
    cudnnDataType_t mathPrec = CUDNN_DATA_FLOAT; 
    cudnnMathType_t mathType = CUDNN_DEFAULT_MATH;

    cudnnStatus_t status= cudnnSetRNNDescriptor_v8(rnnDesc, algo, 
    cellMode, biasMode, dirMode, inputMode, 
    dataType, mathPrec, mathType,
    inputSize,hiddenSize,  projSize,numLayers,dropoutDesc,
    CUDNN_RNN_PADDED_IO_DISABLED);

    cout<<"RNN STATUS: "<<status<<endl;



    return 0;
}

OUTPUT:

STATUS FOR DROP OUT: 0
RNN STATUS: 9

Could someone with expertise in CuDNN help me identify what might be causing this issue? Any insights or suggestions would be greatly appreciated.