We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See PR 131.
typedef struct { union Algorithm { cudnnConvolutionFwdAlgo_t convFwdAlgo; cudnnConvolutionBwdFilterAlgo_t convBwdFilterAlgo; cudnnConvolutionBwdDataAlgo_t convBwdDataAlgo; cudnnRNNAlgo_t RNNAlgo; cudnnCTCLossAlgo_t CTCLossAlgo; } algo; } cudnnAlgorithm_t;
The generated code is like:
cudnnAlgorithm_t *ava_self; ava_self = (cudnnAlgorithm_t *) (&algorithm); union Algorithm *__algorithm_a_0_algo; __algorithm_a_0_algo = (union Algorithm *)(&(algorithm).algo); union Algorithm *__algorithm_b_0_algo; __algorithm_b_0_algo = (union Algorithm *)(&(__call->algorithm).algo); { union Algorithm *ava_self; ava_self = (union Algorithm *)(&*__algorithm_a_0_algo); cudnnCTCLossAlgo_t *__algorithm_a_1_CTCLossAlgo; __algorithm_a_1_CTCLossAlgo = (cudnnCTCLossAlgo_t *) (&(*__algorithm_a_0_algo).CTCLossAlgo); cudnnCTCLossAlgo_t *__algorithm_b_1_CTCLossAlgo; __algorithm_b_1_CTCLossAlgo = (cudnnCTCLossAlgo_t *) (&(*__algorithm_b_0_algo).CTCLossAlgo); { *__algorithm_a_1_CTCLossAlgo = (cudnnCTCLossAlgo_t) * __algorithm_b_1_CTCLossAlgo; *__algorithm_a_1_CTCLossAlgo = *__algorithm_b_1_CTCLossAlgo; } ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See PR 131.
The generated code is like:
The text was updated successfully, but these errors were encountered: