garrettwrong / cuTWED

Linear memory CUDA Time Warp Edit Distance
GNU General Public License v3.0
28 stars 4 forks source link

Error Handling #21

Open garrettwrong opened 4 years ago

garrettwrong commented 4 years ago

Could use better error handling. Would like to have defined error codes that are in the CUDA library, and pass those back to python where they would be handled. We sort of do this now, but the numbers are not systematic, or assigned meaningful strings. This might involve an enum type and string array in the library or something.

Would also want python tests to actually check we are catching and printing the same.