MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / buildForwardKernel

Method buildForwardKernel

src/library/generator.copy.cpp:64–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64bool FFTGeneratedCopyAction::buildForwardKernel()
65{
66 clfftLayout inputLayout = this->getSignatureData()->fft_inputLayout;
67 clfftLayout outputLayout = this->getSignatureData()->fft_outputLayout;
68
69 bool r2c_transform = (inputLayout == CLFFT_REAL);
70 bool h2c = (inputLayout == CLFFT_HERMITIAN_PLANAR) || (inputLayout == CLFFT_HERMITIAN_INTERLEAVED);
71 bool c2h = (outputLayout == CLFFT_HERMITIAN_PLANAR) || (outputLayout == CLFFT_HERMITIAN_INTERLEAVED);
72
73 return (r2c_transform || c2h) || (!(h2c || c2h));
74}
75
76bool FFTGeneratedCopyAction::buildBackwardKernel()
77{

Callers

nothing calls this directly

Calls 1

getSignatureDataMethod · 0.95

Tested by

no test coverage detected