We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5842a79 commit 34dff47Copy full SHA for 34dff47
.gitignore
@@ -1,2 +1,14 @@
1
2
.DS_Store
3
+A1/test.cpp
4
+A1/a.out
5
+A1/data.txt
6
7
8
9
10
11
+*.txt
12
13
14
+A1/seq.cpp
A1/compile.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+if [ "$1" == "s" ]; then
+ clang++ sequential.cpp
+elif [ "$1" == "p" ]; then
+ clang++ -Xpreprocessor -pthread pthread.cpp -lpthread
+elif [ "$1" == "o" ]; then
+ clang++ -Xpreprocessor -fopenmp openmp.cpp -lomp
+else
+ echo "Supply appropriate and correct arguments"
+ exit
+fi
A1/data.txt
0 commit comments