Skip to content

Commit 200b846

Browse files
author
Divya Kamath
committed
Removed comments
1 parent 9e91bb5 commit 200b846

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

Simulator/Core/CPUModel.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
#include "Edges/AllEdges.h"
4040
#include "Layouts/Layout.h"
4141
#include "Vertices/AllVertices.h"
42-
// cereal
43-
// #include <cereal/types/polymorphic.hpp>
4442

4543
class CPUModel : public Model {
4644
public:
@@ -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-
// }

Simulator/Core/GPUModel.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
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-
109104
protected:
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-
// }

0 commit comments

Comments
 (0)