#include <fpconv.h>
Inherits cps::DataConversion.
Public Member Functions | |
| FPConv () | |
| virtual | ~FPConv () |
| char * | file2host (char *hbuf, const char *fdat, const int fdat_len) const |
| char * | host2file (char *fbuf, const char *hdat, const int hdat_len) const |
| enum FP_FORMAT | setFileFormat (const char *desc) |
| enum FP_FORMAT | setFileFormat (const enum FP_FORMAT dataFormat) |
| unsigned int | checksum (char *data, const int data_len, const enum FP_FORMAT dataFormat) const |
| int | size (const enum FP_FORMAT datatype) const |
| bool | big_endian (const enum FP_FORMAT datatype) const |
| int | fileFpSize () const |
| int | hostFpSize () const |
| int | fileDataSize () const |
| int | hostDataSize () const |
| unsigned int | checksum (char *data, const int data_len) const |
| unsigned int | posDepCsum (char *data, const int data_len, const int dimension, const QioArg &qio_arg, const int site_id, const int global_id) const |
| void | SimQCDSP (int sim) |
Static Public Member Functions | |
| const char * | name (const enum FP_FORMAT format) |
Protected Member Functions | |
| void | ti2ieee (type32 *, int) const |
| void | ieee2ti (type32 *, int) const |
| void | byterevn (type32 w[], int n) const |
| void | byterevn64 (type64 w[], int n) const |
| void | conv64to32 (type32 tgt[], type64 src[], int n) const |
| void | conv32to64 (type64 tgt[], type32 src[], int n) const |
| void | copy64 (type64 tgt[], type64 src[], int n) const |
| void | copy32 (type32 tgt[], type32 src[], int n) const |
| enum FP_FORMAT | testHostFormat () |
|
|
Definition at line 27 of file fpconv.C. References cps::FP_UNKNOWN, and testHostFormat(). |
|
|
|
|
|
Definition at line 368 of file fpconv.C. References cps::FP_IEEE32, cps::FP_IEEE32BIG, cps::FP_IEEE32LITTLE, cps::FP_IEEE64, cps::FP_IEEE64BIG, cps::FP_IEEE64LITTLE, and cps::FP_TIDSP32. Referenced by checksum(), file2host(), and host2file(). |
|
||||||||||||
|
Definition at line 146 of file fpconv.C. References type32. Referenced by checksum(), file2host(), and host2file(). |
|
||||||||||||
|
Definition at line 172 of file fpconv.C. References cps::type64. Referenced by file2host(), and host2file(). |
|
||||||||||||
|
Implements cps::DataConversion. Definition at line 99 of file fpconv.h. References cps::FP_AUTOMATIC. |
|
||||||||||||||||
|
Definition at line 309 of file fpconv.C. References big_endian(), byterevn(), cps::Verbose::Flow(), cps::FP_FORMAT, size(), type32, uint32_t, and cps::VRB. |
|
||||||||||||||||
|
Definition at line 206 of file fpconv.C. Referenced by file2host(), and host2file(). |
|
||||||||||||||||
|
Definition at line 199 of file fpconv.C. Referenced by file2host(), and host2file(). |
|
||||||||||||||||
|
Definition at line 219 of file fpconv.C. Referenced by file2host(), and host2file(). |
|
||||||||||||||||
|
Definition at line 213 of file fpconv.C. Referenced by file2host(), and host2file(). |
|
||||||||||||||||
|
Implements cps::DataConversion. Definition at line 41 of file fpconv.C. References big_endian(), byterevn(), byterevn64(), conv32to64(), conv64to32(), copy32(), copy64(), cps::ERR, ieee2ti(), cps::Error::NotImplemented(), size(), ti2ieee(), type32, and cps::type64. |
|
|
Implements cps::DataConversion. |
|
|
Definition at line 93 of file fpconv.h. Referenced by cps::WriteLatticeParallel::write(). |
|
||||||||||||||||
|
Implements cps::DataConversion. Definition at line 93 of file fpconv.C. References big_endian(), byterevn(), byterevn64(), conv32to64(), conv64to32(), copy32(), copy64(), cps::ERR, ieee2ti(), cps::Error::NotImplemented(), size(), ti2ieee(), type32, and cps::type64. |
|
|
Implements cps::DataConversion. |
|
|
|
|
||||||||||||
|
Definition at line 502 of file fpconv.C. References cps::ERR, and cps::Error::NotImplemented(). Referenced by file2host(), and host2file(). |
|
|
Definition at line 37 of file fpconv.C. References cps::FP_FORMAT_NAME. Referenced by testHostFormat(). |
|
||||||||||||||||||||||||||||
|
Implements cps::DataConversion. |
|
|
Definition at line 279 of file fpconv.C. References cps::Verbose::Flow(), cps::FP_FORMAT, and cps::VRB. |
|
|
Definition at line 290 of file fpconv.C. References cps::Verbose::Flow(), cps::FP_FORMAT, cps::FP_FORMAT_NAME, and cps::VRB. Referenced by cps::ReadLatticeParallel::read(), cps::LatticeHeader::read(), and cps::WriteLatticeParallel::write(). |
|
|
Definition at line 110 of file fpconv.h. Referenced by cps::QioControl::SimQCDSP(). |
|
|
Definition at line 352 of file fpconv.C. References cps::FP_IEEE32, cps::FP_IEEE32BIG, cps::FP_IEEE32LITTLE, cps::FP_IEEE64, cps::FP_IEEE64BIG, cps::FP_IEEE64LITTLE, and cps::FP_TIDSP32. Referenced by checksum(), file2host(), and host2file(). |
|
|
Definition at line 225 of file fpconv.C. References cps::Verbose::Flow(), cps::FP_FORMAT, cps::FPConv_ieee32pi_big, name(), uint32_t, and cps::VRB. Referenced by FPConv(). |
|
||||||||||||
|
Definition at line 398 of file fpconv.C. References DEB, cps::MPISCU::printf(), tmpB, and type32. Referenced by file2host(), and host2file(). |
1.3.9.1