ashwin / coursera-heterogeneous

Resources to work offline on the assignments of Heterogenous Parallel Programming course from Coursera.
71 stars 60 forks source link

Implemented timing function for OS X #11

Closed andre-orr closed 11 years ago

andre-orr commented 11 years ago

Implemented timing function for OS X using mach_absolute_time() which measures time in CPU ticks; this value is then scaled without the need to reference the CoreServices framework.

GenDataMP1 incorrectly calculated a vector multiplication rather than a vector addition as required for the MP1 assignment.

ashwin commented 11 years ago

@andre-orr Very nice! :+1: I have merged it in.