habanero-rice / hclib

A C/C++ task-based programming model for shared memory and distributed parallel computing.
http://habanero-rice.github.io/hclib/
BSD 3-Clause "New" or "Revised" License
71 stars 35 forks source link

Update Needleman-Wunsch ("Smith-Waterman") example #36

Closed DaoWen closed 7 years ago

DaoWen commented 7 years ago

Renamed to Needleman-Wunsch since that's the algorithm used here. (Smith-Waterman uses 0 for the deletion penalty at the start strings.) Also had to fix some errors to build it with the updated library. Switched from hclib::finish to more-efficient HCLIB_FINISH macro.