Skip to content

Commit 2c4c8fa

Browse files
author
Jasleen Kaur Saini
committed
Merge branch 'SharedDevelopment' of https://github.com/UWB-Biocomputing/Graphitti into SharedDevelopment
2 parents a37e113 + c9bceee commit 2c4c8fa

File tree

18 files changed

+106
-87
lines changed

18 files changed

+106
-87
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ on:
1010
paths:
1111
- '**.cpp'
1212
- '**.h'
13-
branches:
14-
- master
15-
- development
13+
types: [opened, synchronize, reopened]
1614

1715
jobs:
1816
deploy:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [ master,development ]
66
pull_request:
7-
branches: [ master,development ]
7+
types: [opened, synchronize, reopened]
88

99
defaults:
1010
run:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ tests
4545
serialFullTest
4646
serialFirstHalfTest
4747
serialSecondHalfTest
48+
serialFileAccessTest
4849
core
4950
# core is generated by GDB during debugging
5051

Simulator/Edges/NG911/All911Edges.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ class All911Edges : public AllEdges {
7070
int maxEdgesPerVertex) {};
7171
virtual void deleteEdgeDeviceStruct(void *allEdgesDevice) {};
7272
virtual void copyEdgeHostToDevice(void *allEdgesDevice) {};
73-
virtual void copyEdgeHostToDevice(void *allEdgesDevice, int numVertices,
74-
int maxEdgesPerVertex) {};
73+
virtual void copyEdgeHostToDevice(void *allEdgesDevice, int numVertices, int maxEdgesPerVertex) {
74+
};
7575
virtual void copyEdgeDeviceToHost(void *allEdgesDevice) {};
7676
virtual void copyDeviceEdgeCountsToHost(void *allEdgesDevice) {};
7777
virtual void copyDeviceEdgeSumIdxToHost(void *allEdgesDevice) {};

Simulator/Edges/Neuro/AllDSSynapses_d.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,7 @@ void AllDSSynapses::printGPUEdgesProps(void *allEdgesDeviceProps) const
328328
}
329329

330330
for (int i = 0; i < countVertices_; i++) {
331-
cout << "GPU edge_counts:"
332-
<< "neuron[" << i << "]" << synapseCountsPrint[i] << endl;
331+
cout << "GPU edge_counts:" << "neuron[" << i << "]" << synapseCountsPrint[i] << endl;
333332
}
334333

335334
cout << "GPU totalSynapseCount:" << totalSynapseCountPrint << endl;

Simulator/Edges/Neuro/AllDynamicSTDPSynapses_d.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,7 @@ void AllDynamicSTDPSynapses::printGPUEdgesProps(void *allEdgesDeviceProps) const
380380
}
381381

382382
for (int i = 0; i < countVertices_; i++) {
383-
cout << "GPU edge_counts:"
384-
<< "neuron[" << i << "]" << synapseCountsPrint[i] << endl;
383+
cout << "GPU edge_counts:" << "neuron[" << i << "]" << synapseCountsPrint[i] << endl;
385384
}
386385

387386
cout << "GPU totalSynapseCount:" << totalSynapseCountPrint << endl;

Simulator/Edges/Neuro/AllNeuroEdges.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ void AllNeuroEdges::printSynapsesProps() const
114114
}
115115

116116
for (int i = 0; i < countVertices_; i++) {
117-
cout << "edge_counts:"
118-
<< "vertex[" << i << "]" << edgeCounts_[i] << endl;
117+
cout << "edge_counts:" << "vertex[" << i << "]" << edgeCounts_[i] << endl;
119118
}
120119

121120
cout << "totalEdgeCount:" << totalEdgeCount_ << endl;

Simulator/Edges/Neuro/AllSTDPSynapses.cpp

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -118,33 +118,18 @@ void AllSTDPSynapses::printParameters() const
118118
{
119119
AllSpikingSynapses::printParameters();
120120

121-
LOG4CPLUS_DEBUG(edgeLogger_, "\n\t---AllSTDPSynapses Parameters---"
122-
<< endl
123-
<< "\tEdges type: AllSTDPSynapses" << endl
124-
<< endl
125-
126-
<< "\tSTDP gap" << defaultSTDPgap_ << endl
127-
<< "\n\tTauspost value: ["
128-
<< " I: " << tauspost_I_ << ", "
129-
<< " E: " << tauspost_E_ << "]" << endl
130-
<< "\n\tTauspre value: ["
131-
<< " I: " << tauspre_I_ << ", "
132-
<< " E: " << tauspre_E_ << "]" << endl
133-
<< "\n\tTaupos value: ["
134-
<< " I: " << taupos_I_ << ", "
135-
<< " E: " << taupos_E_ << "]" << endl
136-
<< "\n\tTau negvalue: ["
137-
<< " I: " << tauneg_I_ << ", "
138-
<< " E: " << tauneg_E_ << "]" << endl
139-
<< "\n\tWex value: ["
140-
<< " I: " << Wex_I_ << ", "
141-
<< " E: " << Wex_E_ << "]" << endl
142-
<< "\n\tAneg value: ["
143-
<< " I: " << Aneg_I_ << ", "
144-
<< " E: " << Aneg_E_ << "]" << endl
145-
<< "\n\tApos value: ["
146-
<< " I: " << Apos_I_ << ", "
147-
<< " E: " << Apos_E_ << "]" << endl);
121+
LOG4CPLUS_DEBUG(
122+
edgeLogger_,
123+
"\n\t---AllSTDPSynapses Parameters---"
124+
<< "\n\tEdges type: AllSTDPSynapses \n\n"
125+
<< "\tSTDP gap" << defaultSTDPgap_ << "\n\n\tTauspost value: [" << " I: " << tauspost_I_
126+
<< ", " << " E: " << tauspost_E_ << "]" << "\n\n\tTauspre value: [" << " I: " << tauspre_I_
127+
<< ", " << " E: " << tauspre_E_ << "]" << "\n\n\tTaupos value: [" << " I: " << taupos_I_
128+
<< ", " << " E: " << taupos_E_ << "]" << "\n\n\tTau negvalue: [" << " I: " << tauneg_I_
129+
<< ", " << " E: " << tauneg_E_ << "]" << "\n\n\tWex value: [" << " I: " << Wex_I_ << ", "
130+
<< " E: " << Wex_E_ << "]" << "\n\n\tAneg value: [" << " I: " << Aneg_I_ << ", "
131+
<< " E: " << Aneg_E_ << "]" << "\n\n\tApos value: [" << " I: " << Apos_I_ << ", "
132+
<< " E: " << Apos_E_ << "]" << endl);
148133
}
149134

150135
/// Sets the data for Synapse to input's data.

Simulator/Edges/Neuro/AllSTDPSynapses_d.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,7 @@ void AllSTDPSynapses::printGPUEdgesProps(void *allEdgesDeviceProps) const
409409
}
410410
}
411411
for (int i = 0; i < countVertices_; i++) {
412-
cout << "GPU edge_counts:"
413-
<< "neuron[" << i << "]" << synapseCountsPrint[i] << endl;
412+
cout << "GPU edge_counts:" << "neuron[" << i << "]" << synapseCountsPrint[i] << endl;
414413
}
415414
cout << "GPU totalSynapseCount:" << totalSynapseCountPrint << endl;
416415
cout << "GPU maxEdgesPerVertex:" << maxEdgesPerVertexPrint << endl;

Simulator/Edges/Neuro/AllSpikingSynapses.cpp

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,17 +107,14 @@ void AllSpikingSynapses::printParameters() const
107107
<< endl
108108
<< "\tEdges type: AllSpikingSynapses" << endl
109109
<< endl);
110-
LOG4CPLUS_DEBUG(edgeLogger_, "\n\tTau values: ["
111-
<< " II: " << tau_II_ << ", "
112-
<< " IE: " << tau_IE_ << ","
113-
<< "EI : " << tau_EI_ << ","
114-
<< " EE: " << tau_EE_ << "]" << endl);
110+
LOG4CPLUS_DEBUG(edgeLogger_, "\n\tTau values: [" << " II: " << tau_II_ << "," << " IE: "
111+
<< tau_IE_ << "," << " EI: " << tau_EI_ << ","
112+
<< " EE: " << tau_EE_ << "]" << endl);
115113

116114
LOG4CPLUS_DEBUG(edgeLogger_, "\n\tDelay values: ["
117-
<< " II: " << delay_II_ << ", "
118-
<< " IE: " << delay_IE_ << ","
119-
<< "EI :" << delay_EI_ << ","
120-
<< " EE: " << delay_EE_ << "]" << endl);
115+
<< " II: " << delay_II_ << "," << " IE: " << delay_IE_ << ","
116+
<< " EI:" << delay_EI_ << "," << " EE: " << delay_EE_ << "]"
117+
<< endl);
121118
}
122119

123120
/// Sets the data for Synapse to input's data.

0 commit comments

Comments
 (0)