File indexing completed on 2026-04-09 07:49:10
0001 #pragma once
0002
0003 #include <string>
0004 #include "QUDARAP_API_EXPORT.hh"
0005 #include "plog/Severity.h"
0006
0007 struct dim3 ;
0008 struct NP ;
0009 template <typename T> struct QTex ;
0010 struct qscint ;
0011
0012 struct QUDARAP_API QScint
0013 {
0014 static const plog::Severity LEVEL ;
0015 static const QScint* INSTANCE ;
0016 static const QScint* Get();
0017
0018 static QTex<float>* MakeScintTex(const NP* src, unsigned hd_factor);
0019 static qscint* MakeInstance(const QTex<float>* tex);
0020
0021
0022 const NP* dsrc ;
0023 const NP* src ;
0024 QTex<float>* tex ;
0025 qscint* scint ;
0026 qscint* d_scint ;
0027
0028
0029 QScint(const NP* icdf, unsigned hd_factor);
0030
0031 void init();
0032 std::string desc() const ;
0033
0034 void configureLaunch( dim3& numBlocks, dim3& threadsPerBlock, unsigned width, unsigned height );
0035
0036 void check();
0037 NP* lookup();
0038
0039 void lookup( float* lookup, unsigned num_lookup, unsigned width, unsigned height );
0040 void dump( float* lookup, unsigned num_lookup, unsigned edgeitems=10 );
0041
0042 };
0043
0044