-
Notifications
You must be signed in to change notification settings - Fork 0
/
brute-force-4-threads
40 lines (30 loc) · 960 Bytes
/
brute-force-4-threads
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
16 elements
Inner product method
The time taken for multiplication is 2 milliseconds
16 elements
Inner product method with threads
The time taken for multiplication is 3 milliseconds
64 elements
Inner product method
The time taken for multiplication is 59 milliseconds
64 elements
Inner product method with threads
The time taken for multiplication is 147 milliseconds
256 elements
Inner product method
The time taken for multiplication is 4041 milliseconds
256 elements
Inner product method with threads
The time taken for multiplication is 8676 milliseconds
512 elements
Inner product method
The time taken for multiplication is 35358 milliseconds
512 elements
Inner product method with threads
The time taken for multiplication is 73686 milliseconds
1024 elements
Inner product method
The time taken for multiplication is 309872 milliseconds
1024 elements
Inner product method with threads
The time taken for multiplication is 622704 milliseconds