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

Method buildForwardKernel

src/library/generator.stockham.cpp:65–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool FFTGeneratedStockhamAction::buildForwardKernel()
66{
67 clfftLayout inputLayout = this->getSignatureData()->fft_inputLayout;
68 clfftLayout outputLayout = this->getSignatureData()->fft_outputLayout;
69
70 bool r2c_transform = (inputLayout == CLFFT_REAL);
71 bool c2r_transform = (outputLayout == CLFFT_REAL);
72 bool real_transform = (r2c_transform || c2r_transform);
73
74 return (!real_transform) || r2c_transform;
75}
76
77bool FFTGeneratedStockhamAction::buildBackwardKernel()
78{

Callers

nothing calls this directly

Calls 1

getSignatureDataMethod · 0.95

Tested by

no test coverage detected