ashwin / coursera-heterogeneous

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

Fixing GPU deviceCount logic for MP0 #7

Closed daferna closed 11 years ago

daferna commented 11 years ago

When there are no devices, the for loop does not run, and no message is displayed to the user. The deviceCount logic can also be put outside of the for loop.

ashwin commented 11 years ago

@daferna2 Thanks for fixing the source file of assignment MP0 :smile: