| 125 | |
| 126 | public: |
| 127 | CopyKernel( const FFTGeneratedCopyAction::Signature ¶msVal) : |
| 128 | params(paramsVal) |
| 129 | |
| 130 | { |
| 131 | N = params.fft_N[0]; |
| 132 | Nt = 1 + N/2; |
| 133 | |
| 134 | h2c = ( (params.fft_inputLayout == CLFFT_HERMITIAN_PLANAR) || |
| 135 | (params.fft_inputLayout == CLFFT_HERMITIAN_INTERLEAVED) ) ? true : false; |
| 136 | c2h = ( (params.fft_outputLayout == CLFFT_HERMITIAN_PLANAR) || |
| 137 | (params.fft_outputLayout == CLFFT_HERMITIAN_INTERLEAVED) ) ? true : false; |
| 138 | |
| 139 | general = !(h2c || c2h); |
| 140 | |
| 141 | // We only do out-of-place copies at this point |
| 142 | assert(params.fft_placeness == CLFFT_OUTOFPLACE); |
| 143 | } |
| 144 | |
| 145 | void GenerateKernel(std::string &str) |
| 146 | { |
nothing calls this directly
no outgoing calls
no test coverage detected