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

Method buildForwardKernel

src/library/action.transpose.cpp:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73bool FFTGeneratedTransposeNonSquareAction::buildForwardKernel()
74{
75 clfftLayout inputLayout = this->getSignatureData()->fft_inputLayout;
76 clfftLayout outputLayout = this->getSignatureData()->fft_outputLayout;
77
78 bool r2c_transform = (inputLayout == CLFFT_REAL);
79 bool c2r_transform = (outputLayout == CLFFT_REAL);
80 bool real_transform = (r2c_transform || c2r_transform);
81
82 return (!real_transform) || r2c_transform;
83}
84
85bool FFTGeneratedTransposeNonSquareAction::buildBackwardKernel()
86{

Callers

nothing calls this directly

Calls 2

getSignatureDataMethod · 0.95
getSignatureDataMethod · 0.95

Tested by

no test coverage detected