Skip to content

Commit 6747131

Browse files
author
Vanessa Arndorfer
committed
clang format fixes
1 parent 4c897a6 commit 6747131

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Simulator/Edges/Neuro/AllSpikingSynapses_d.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ void AllSpikingSynapses::copyDeviceEdgeWeightsToHost(void *allEdgesDevice)
291291
// std::cout << "W_.data(): " << W_.data() << std::endl;
292292
// std::cout << "allEdgesDeviceProps.W_: " << allEdgesDeviceProps.W_ << std::endl;
293293

294-
HANDLE_ERROR(cudaMemcpy(W_.data(), allEdgesDeviceProps.W_,
295-
maxTotalSynapses * sizeof(BGFLOAT), cudaMemcpyDeviceToHost));
294+
HANDLE_ERROR(cudaMemcpy(W_.data(), allEdgesDeviceProps.W_, maxTotalSynapses * sizeof(BGFLOAT),
295+
cudaMemcpyDeviceToHost));
296296
}
297297

298298
/// Get summationCoord and in_use in AllEdges struct on device memory.

Tools/XMLToGraphML/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# XML to GraphML Converter
2+
3+
## Overview
4+
This script was created to parse the weight matrix output from neuro simulations and generate a graphml file for input into subsequent simulations.
5+
6+
## `getGraphEdges`
7+
* Must be run with Python3.9
8+
* Takes a weight matrix xml file and existing graphml file as input
9+
* Adds the edge weights to the graphml file
10+
11+
## Contributors
12+
- Vanessa Arndorfer
13+
14+
15+
16+
17+

0 commit comments

Comments
 (0)