FAQ  •  Login

Timing Results Assignment 7: Reduction Operation

<<

kema

Newbie
Newbie

Posts: 41

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Mon Nov 02, 2015 1:21 pm

Timing Results Assignment 7: Reduction Operation

CPU Execution Time: 28.9473 ms
GPU Execution Time: 71.5374 ms
<<

baoyunge

Newbie
Newbie

Posts: 37

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Mon Nov 02, 2015 6:44 pm

Re: Timing Results Assignment 7: Reduction Operation

  Code:
[klaud@euler01 Array Reduction]$ ./a.out 50000000 5
number of elements in the array: 50000000
range of the elements: (-5, 5)
array memory size: 400000000
CPU Elapsed Time: 207.44196 ms
GPU Inclusive Time: 69.33382 ms
GPU Exclusive Time: 2.86970 ms
GPU Array Reduction Result: 16627.67550
CPU Array Reduction Result: 16627.67550
<<

lunchengchu

Newbie
Newbie

Posts: 12

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Tue Nov 03, 2015 1:37 pm

Re: Timing Results Assignment 7: Reduction Operation

CPU Time: 207.079193 ms
GPU Time: 104.467812 ms
<<

Dan Negrut

Global Moderator
Global Moderator

Posts: 833

Joined: Wed Sep 03, 2008 12:24 pm

Unread post Tue Nov 03, 2015 5:27 pm

Re: Timing Results Assignment 7: Reduction Operation

baoyunge wrote:
  Code:
GPU Array Reduction Result: 16627.67550
CPU Array Reduction Result: 16627.67550


Are the CPU/GPU times exactly the same?
Is this a copy/paste issue?

The results look impressive.
Dan
<<

yaosong

Newbie
Newbie

Posts: 18

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Tue Nov 03, 2015 6:23 pm

Re: Timing Results Assignment 7: Reduction Operation

GPU time: 119.284355 ms
CPU time: 65.430077 ms
<<

baoyunge

Newbie
Newbie

Posts: 37

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Tue Nov 03, 2015 6:41 pm

Re: Timing Results Assignment 7: Reduction Operation

Yes, the reduction result are the same. Shouldn't they? Well, I only print them out in five digit precision, which is still far from double precision. That may be the reason.

Dan Negrut wrote:
baoyunge wrote:
  Code:
GPU Array Reduction Result: 16627.67550
CPU Array Reduction Result: 16627.67550


Are the CPU/GPU times exactly the same?
Is this a copy/paste issue?

The results look impressive.
Dan
<<

gengyuyang

Newbie
Newbie

Posts: 21

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Tue Nov 03, 2015 7:41 pm

Re: Timing Results Assignment 7: Reduction Operation

CPU execution time: 213.355621 ms
Exclusive GPU execution time: 2.590848 ms
Inclusive GPU execution time: 91.595459 ms
<<

ramsaimanojbamdhamravuri

Newbie
Newbie

Posts: 16

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Wed Nov 04, 2015 1:09 am

Re: Timing Results Assignment 7: Reduction Operation

CPU execution time = 69.5009613 ms
GPU Inclusive time = 69.4228134 ms
device: -19377.486850199057
host: -19377.486850201742
<<

prashanthbalasubramanian

Newbie
Newbie

Posts: 8

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Wed Nov 04, 2015 1:12 am

Re: Timing Results Assignment 7: Reduction Operation

>>myProgr 50000000 5
CPU Time taken to execute is = 208.619000 ms
Inclusive time is 118.193283 ms
Test PASSED
device: 3275.739030 host: 3275.739030
<<

shantanurajendrabhate

Newbie
Newbie

Posts: 19

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Wed Nov 04, 2015 1:57 pm

Re: Timing Results Assignment 7: Reduction Operation

Input size - 50000000, max absolute value for each input - 5

GPU Execution time in ms - 69.1055
CPU Execution time in ms - 208
<<

edwardtashjian

Newbie
Newbie

Posts: 22

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Wed Nov 04, 2015 3:25 pm

Re: Timing Results Assignment 7: Reduction Operation

GPU (ms): 69.774979
CPU (ms): 68.397343
<<

bharadwajkrishnamurthy

Newbie
Newbie

Posts: 17

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Wed Nov 04, 2015 3:42 pm

Re: Timing Results Assignment 7: Reduction Operation

Timing results for N=50000000 and M=5

Time taken to compute on GPU: 78.020576 ms
Time taken for executing in CPU: 207.534994 ms
Test PASSED
device: -41198.765113 host: -41198.765113
<<

daynahashemi

Newbie
Newbie

Posts: 17

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Wed Nov 04, 2015 3:45 pm

Re: Timing Results Assignment 7: Reduction Operation

Timing Results (with arguments 50000000 5):

CPU execution time: 206.734299 ms
GPU inclusive execution time: 109.915108 ms
<<

prashanthbalasubramanian

Newbie
Newbie

Posts: 8

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Wed Nov 04, 2015 5:30 pm

Re: Timing Results Assignment 7: Reduction Operation

CPU Time taken to execute is = 65.884000
Inclusive time is 94.060867
Test PASSED
device: 3275.739030 host: 3275.739030
<<

sharmilashridhar

Newbie
Newbie

Posts: 13

Joined: Fri Sep 04, 2015 12:51 pm

Unread post Wed Nov 04, 2015 7:04 pm

Re: Timing Results Assignment 7: Reduction Operation

N = 50000000
Event:Time for CPU to complete execution: 63.851456 ms
Event:Time to complete execution, GPU Inclusive: 42.520126 ms
Test PASSED
device: -4909.000000 host: -4909.000000
Next

Return to ME759 Fall 2015: High Performance Computing

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.