File indexing completed on 2026-04-09 07:49:09
0001 #pragma once
0002
0003
0004
0005
0006
0007
0008
0009 enum {
0010 qpmt_RINDEX,
0011 qpmt_KINDEX,
0012 qpmt_QESHAPE,
0013 qpmt_CETHETA,
0014 qpmt_CECOSTH,
0015 qpmt_CATSPEC,
0016 qpmt_SPEC,
0017 qpmt_SPEC_ce,
0018 qpmt_ART,
0019 qpmt_COMP,
0020 qpmt_LL,
0021 qpmt_ARTE,
0022 qpmt_ATQC,
0023 qpmt_S_QESHAPE,
0024 qpmt_S_QESCALE
0025 };
0026
0027
0028 #if defined(__CUDACC__) || defined(__CUDABE__)
0029 #else
0030 #include "QUDARAP_API_EXPORT.hh"
0031 struct qpmt_enum
0032 {
0033 static constexpr const char* _qpmt_RINDEX = "qpmt_RINDEX" ;
0034 static constexpr const char* _qpmt_KINDEX = "qpmt_KINDEX" ;
0035 static constexpr const char* _qpmt_QESHAPE = "qpmt_QESHAPE" ;
0036 static constexpr const char* _qpmt_CETHETA = "qpmt_CETHETA" ;
0037 static constexpr const char* _qpmt_CECOSTH = "qpmt_CECOSTH" ;
0038 static constexpr const char* _qpmt_CATSPEC = "qpmt_CATSPEC" ;
0039 static constexpr const char* _qpmt_SPEC = "qpmt_SPEC" ;
0040 static constexpr const char* _qpmt_SPEC_ce = "qpmt_SPEC_ce" ;
0041 static constexpr const char* _qpmt_ART = "qpmt_ART" ;
0042 static constexpr const char* _qpmt_COMP = "qpmt_COMP" ;
0043 static constexpr const char* _qpmt_LL = "qpmt_LL" ;
0044 static constexpr const char* _qpmt_ARTE = "qpmt_ARTE" ;
0045 static constexpr const char* _qpmt_ATQC = "qpmt_ATQC" ;
0046 static constexpr const char* _qpmt_S_QESHAPE = "qpmt_S_QESHAPE" ;
0047 static constexpr const char* _qpmt_S_QESCALE = "qpmt_S_QESCALE" ;
0048
0049 static const char* Label( int e );
0050 };
0051
0052 inline const char* qpmt_enum::Label(int e)
0053 {
0054 const char* s = nullptr ;
0055 switch(e)
0056 {
0057 case qpmt_RINDEX: s = _qpmt_RINDEX ; break ;
0058 case qpmt_KINDEX: s = _qpmt_KINDEX ; break ;
0059 case qpmt_QESHAPE: s = _qpmt_QESHAPE ; break ;
0060 case qpmt_CETHETA: s = _qpmt_CETHETA ; break ;
0061 case qpmt_CECOSTH: s = _qpmt_CECOSTH ; break ;
0062 case qpmt_CATSPEC: s = _qpmt_CATSPEC ; break ;
0063 case qpmt_SPEC: s = _qpmt_SPEC ; break ;
0064 case qpmt_SPEC_ce: s = _qpmt_SPEC_ce ; break ;
0065 case qpmt_ART: s = _qpmt_ART ; break ;
0066 case qpmt_COMP: s = _qpmt_COMP ; break ;
0067 case qpmt_LL: s = _qpmt_LL ; break ;
0068 case qpmt_ARTE: s = _qpmt_ARTE ; break ;
0069 case qpmt_ATQC: s = _qpmt_ATQC ; break ;
0070 case qpmt_S_QESHAPE: s = _qpmt_S_QESHAPE ; break ;
0071 case qpmt_S_QESCALE: s = _qpmt_S_QESCALE ; break ;
0072 }
0073 return s ;
0074 }
0075 #endif
0076
0077