Functions |
template<class V , class T , class I > |
ostream & | std::operator<< (ostream &o, const cuv::dia_matrix< V, T, I > &w2) |
| Return stream containing matrix entries for debugging.
|
template<class Archive , class V , class M > |
void | boost::serialization::load (Archive &ar, cuv::memory< V, M > &m, const unsigned int version) |
| load a memory
|
template<class Archive , class V , class M > |
void | boost::serialization::save (Archive &ar, const cuv::memory< V, M > &m, const unsigned int version) |
| save a memory
|
template<class Archive , class V , class M > |
void | boost::serialization::serialize (Archive &ar, cuv::memory< V, M > &m, const unsigned int version) |
| load/save dev memory (dispatch to load/save)
|
template<class Archive , class V > |
void | boost::serialization::serialize (Archive &ar, cuv::pitched_memory< V, cuv::dev_memory_space > &m, const unsigned int version) |
| load/save dev pitched memory (dispatch to load/save)
|
template<class Archive , class V , class MS > |
void | boost::serialization::serialize (Archive &ar, cuv::linear_memory< V, MS > &m, const unsigned int version) |
| load/save linear memory (dispatch to load/save)
|
template<class Archive , class V , class MS , class ML > |
void | boost::serialization::save (Archive &ar, const cuv::tensor< V, MS, ML > &t, const unsigned int version) |
| serialize a tensor
|
template<class Archive , class V , class MS , class ML > |
void | boost::serialization::load (Archive &ar, cuv::tensor< V, MS, ML > &t, const unsigned int version) |
| deserialize a tensor
|
template<class Archive , class V , class MS , class ML > |
void | boost::serialization::serialize (Archive &ar, cuv::tensor< V, MS, ML > &t, const unsigned int version) |
| load/save tensor (dispatch to load/save)
|
tensor<...> m, n;
{
std::ofstream os("test.dat");
boost::archive::binary_oarchive oa(os);
oa << m;
}
{
std::ifstream is("test.dat");
boost::archive::binary_iarchive ia(is);
ia >> n;
}