Skip to content
Snippets Groups Projects
Commit 9b9ad1b4 authored by Saskia Imani's avatar Saskia Imani
Browse files

Typos

parent cafa9b60
Branches
No related merge requests found
......@@ -79,6 +79,7 @@ void dijkstra(int n, int sub_n, long matrix[], long result[]) {
int main (int argc, char **argv) {
long *matrix, *result; // Matrix size i * j of distance from vertice [i] to vertice [j]
int n; // Number of vertices
int num_blocks, num_threads;
// int my_rank, thread_count, sub_n;
clock_t start, end;
double cpu_time_used;
......@@ -86,7 +87,7 @@ int main (int argc, char **argv) {
/* Read number of vertices */
printf("Number of vertices (n): "); scanf("%d", &n);
printf("Number of blocks : "); scanf("%d", &num_blocks);
printf("Number of threads : "); scanf("%d", &num_thrads);
printf("Number of threads : "); scanf("%d", &num_threads);
matrix = initialize_matrix(13517142, n);
printf("\nGenerated %d * %d matrix.\n", n, n);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment