ashwin / coursera-heterogeneous

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

Fixes in GenData programs #9

Closed suhbataar closed 11 years ago

suhbataar commented 11 years ago

When trying to compile the programs for generating data for MP1 and MP2, I noticed the following:

  1. Both programs are missing includes, namely cmath and cstdlib .
  2. In MP2, the generation and multplication functions are addressing the arrays incorrectly.

I have fixed this in my code, so you might want to have look.

ashwin commented 11 years ago

@suhbataar Merged. Thanks for the fix! :+1: