Skip to content

Commit

Permalink
moved around
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinath Vadlamani committed Apr 24, 2018
1 parent 4da4df0 commit 604d121
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions codingTests/Mpi_stuff/mycpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ int sched_getcpu();
int findmycpu_ ()
{
int cpu;

cpu = sched_getcpu();
return cpu;
}
9 changes: 5 additions & 4 deletions codingTests/fortran90/arrayAccess.f90
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
!Trying to test speed of accessing working with arrays

program workingarrays
program workingarrays
implicit none

integer,parameter :: maxsize = 30000
!integer,parameter :: maxsize = 30000
integer,parameter :: maxsize = 60000
real :: a(maxsize,maxsize)
integer :: i,j
real :: time1start,time1end
real :: time2start,time2end
real :: time3start,time3end

a=0.
call cpu_time(time1start)
a=a+1.
Expand Down Expand Up @@ -44,4 +45,4 @@ program workingarrays



end program workingarrays
end program workingarrays
4 changes: 2 additions & 2 deletions codingTests/fortran90/conftest.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
program main
program main


end
end
Binary file removed performance/flopCount
Binary file not shown.
File renamed without changes.

0 comments on commit 604d121

Please sign in to comment.