Category : parallel-processing

Language: C++ IDE: Visual Studio 2019 I wrote a program that collects data on random graphs (different probabilities for edges) to prove a Erdős–Rényi model threshold. each graph has 1000 vertexes and i need to run 15,000 cases (5,000 of which are diameter – and that takes a while) so naturally i would want to ..

Read more

I’m practicing this simple code which takes a two-dimensional array and sums them up with CUDA. In the end, the result of C is not what I accepting. Also, I was wondering whether I can use vector instead of c-style arrays. #include <iostream> using namespace std; #define N 2 __global__ void MatAdd(double** a, double** b, ..

Read more