[clfft] 70/107: adding scalar type support
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 30 18:06:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository clfft.
commit d8292e6d472d4fdbc2579c4404af1c6322a47851
Author: bragadeesh <bragadeesh.natarajan at amd>
Date: Wed Apr 8 19:13:29 2015 -0500
adding scalar type support
---
src/library/generator.transpose.gcn.cpp | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/src/library/generator.transpose.gcn.cpp b/src/library/generator.transpose.gcn.cpp
index e804450..ecf73bc 100644
--- a/src/library/generator.transpose.gcn.cpp
+++ b/src/library/generator.transpose.gcn.cpp
@@ -284,7 +284,36 @@ static clfftStatus genTransposePrototype( const FFTGeneratedTransposeGCNAction::
break;
case CLFFT_HERMITIAN_INTERLEAVED:
case CLFFT_HERMITIAN_PLANAR:
+ return CLFFT_TRANSPOSED_NOTIMPLEMENTED;
case CLFFT_REAL:
+ dtInput = dtPlanar;
+ clKernWrite( transKernel, 0 ) << "global " << dtInput << "* restrict " << pmRealIn;
+
+ switch( params.fft_placeness )
+ {
+ case CLFFT_INPLACE:
+ dtOutput = dtPlanar;
+ break;
+ case CLFFT_OUTOFPLACE:
+ switch( params.fft_outputLayout )
+ {
+ case CLFFT_COMPLEX_INTERLEAVED:
+ case CLFFT_COMPLEX_PLANAR:
+ case CLFFT_HERMITIAN_INTERLEAVED:
+ case CLFFT_HERMITIAN_PLANAR:
+ return CLFFT_TRANSPOSED_NOTIMPLEMENTED;
+ case CLFFT_REAL:
+ dtOutput = dtPlanar;
+ clKernWrite( transKernel, 0 ) << ", global " << dtOutput << "* restrict " << pmRealOut;
+ break;
+ default:
+ return CLFFT_TRANSPOSED_NOTIMPLEMENTED;
+ }
+ break;
+ default:
+ return CLFFT_TRANSPOSED_NOTIMPLEMENTED;
+ }
+ break;
default:
return CLFFT_TRANSPOSED_NOTIMPLEMENTED;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git
More information about the debian-science-commits
mailing list