Skip to content

Commit 9ab3af6

Browse files
test
1 parent bb6a77d commit 9ab3af6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Simulator/Core/GPUModel.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,16 +145,16 @@ void GPUModel::advance()
145145
AllEdges &synapses = connections_->getEdges();
146146

147147
//#ifdef VALIDATION_MODE
148-
int verts = Simulator::getInstance().getTotalVertices();
149-
std::vector<float> randNoise_h(verts);
150-
for (int i = 0; i < verts; i++) {
151-
randNoise_h[i] = noiseRNG->rand();
152-
}
153-
cudaMemcpy(randNoise_d, randNoise_h.data(), verts * sizeof(float), cudaMemcpyHostToDevice);
148+
// int verts = Simulator::getInstance().getTotalVertices();
149+
// std::vector<float> randNoise_h(verts);
150+
// for (int i = 0; i < verts; i++) {
151+
// randNoise_h[i] = noiseRNG->rand();
152+
// }
153+
// cudaMemcpy(randNoise_d, randNoise_h.data(), verts * sizeof(float), cudaMemcpyHostToDevice);
154154
//#endif // VALIDATION_MODE
155155

156156
//#else VALIDATION_MODE
157-
// normalMTGPU(randNoise_d);
157+
normalMTGPU(randNoise_d);
158158
//#endif
159159

160160
#ifdef PERFORMANCE_METRICS

0 commit comments

Comments
 (0)