Mercurial > hg > Game > Cerium
comparison 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 |
comparison
equal
deleted
inserted
replaced
1924:14f9fc88872c | 1925:cd5bbd8ec5d6 |
---|---|
35 {0, NULL} | 35 {0, NULL} |
36 }; | 36 }; |
37 const char* message; | 37 const char* message; |
38 | 38 |
39 for(int i=0; Error_Status[i].status_string != NULL; i++) { | 39 for(int i=0; Error_Status[i].status_string != NULL; i++) { |
40 if (Error_Status[i].status = status) { | 40 if (Error_Status[i].status == status) { |
41 message = Error_Status[i].status_string; | 41 message = Error_Status[i].status_string; |
42 } | 42 } |
43 } | 43 } |
44 return message; | 44 return message; |
45 } | 45 } |