Skip to content

Commit

Permalink
add test_multithread
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Apr 16, 2017
1 parent cd0b8c5 commit 59d815a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Parallel_Algorithm/OpenMP/test_multithread.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

thread_list='1 2 4 8'

for thread in $thread_list
do
echo " "
echo =========================================
echo =========================================
echo testing with $thread threads
export OMP_NUM_THREADS=$thread
./Kmean_omp.out
done

0 comments on commit 59d815a

Please sign in to comment.