Template Struct CurveStringHash
Defined in File Curve.cuh
template<unsigned int N, unsigned int I>
Non terminal template structure has function for a constant char array Use of template meta-programming ensures the compiler can evaluate string hashes at compile time. This reduces constant string variable names to a single 32 bit value. Hashing is based on ‘Quasi Compile Time String Hashing’ at http:// www.altdevblogaday.com/2011/10/27/quasi-compile-time-string-hashing/ Code uses compilation flags for both the host and the CUDA device.
a 32 bit cuRVE string variable hash.