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

Method buildForwardKernel

src/library/generator.transpose.gcn.cpp:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getSignatureDataMethod · 0.95

Tested by

no test coverage detected