Mercurial > hg > Game > Cerium
diff TaskManager/Cuda/CudaError.h @ 1925:cd5bbd8ec5d6 draft
fix CudaScheduler
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 31 Jan 2014 05:56:23 +0900 |
parents | bd5152f8fe3a |
children | 007131fd87e8 |
line wrap: on
line diff
--- a/TaskManager/Cuda/CudaError.h Thu Jan 30 16:22:51 2014 +0900 +++ b/TaskManager/Cuda/CudaError.h Fri Jan 31 05:56:23 2014 +0900 @@ -37,7 +37,7 @@ const char* message; for(int i=0; Error_Status[i].status_string != NULL; i++) { - if (Error_Status[i].status = status) { + if (Error_Status[i].status == status) { message = Error_Status[i].status_string; } }