File tree Expand file tree Collapse file tree 2 files changed +0
-26
lines changed Expand file tree Collapse file tree 2 files changed +0
-26
lines changed Original file line number Diff line number Diff line change 3939#include " Edges/AllEdges.h"
4040#include " Layouts/Layout.h"
4141#include " Vertices/AllVertices.h"
42- // cereal
43- // #include <cereal/types/polymorphic.hpp>
4442
4543class CPUModel : public Model {
4644public:
@@ -65,15 +63,4 @@ class CPUModel : public Model {
6563
6664 // / Copy CPU Synapse data to GPU.
6765 virtual void copyCPUtoGPU () override ;
68-
69- // / Cereal serialization method
70- template <class Archive > void serialize (Archive &archive);
7166};
72-
73- // CEREAL_REGISTER_TYPE(CPUModel);
74-
75- // /// Cereal serialization method
76- // template <class Archive> void CPUModel::serialize(Archive &archive)
77- // {
78- // archive(cereal::virtual_base_class<Model>(this));
79- // }
Original file line number Diff line number Diff line change 3737
3838#include " AllSpikingNeurons.h"
3939#include " AllSpikingSynapses.h"
40- // cereal
41- // #include <cereal/types/polymorphic.hpp>
4240
4341#ifdef __CUDACC__
4442 #include " Book.h"
@@ -103,9 +101,6 @@ class GPUModel : public Model {
103101 // / Print out SynapseProps on the GPU.
104102 void printGPUSynapsesPropsModel () const ;
105103
106- // / Cereal serialization method
107- template <class Archive > void serialize (Archive &archive);
108-
109104protected:
110105 // / Allocates and initializes memories on CUDA device.
111106 // / @param[out] allVerticesDevice Memory location of the pointer to the neurons list on device memory.
@@ -171,11 +166,3 @@ extern __global__ void
171166 const EdgeIndexMapDevice *__restrict__ synapseIndexMapDevice_,
172167 const AllSpikingSynapsesDeviceProperties *__restrict__ allEdgesDevice);
173168#endif
174-
175- // CEREAL_REGISTER_TYPE(GPUModel);
176-
177- // /// Cereal serialization method
178- // template <class Archive> void GPUModel::serialize(Archive &archive)
179- // {
180- // archive(cereal::virtual_base_class<Model>(this));
181- // }
You can’t perform that action at this time.
0 commit comments