Mercurial > hg > Members > Moririn
comparison src/parallel_execution/helper_cuda.h @ 311:6fcbbe644b92
no compile errors
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 14 Feb 2017 22:20:17 +0900 |
parents | ec0a5b4fba05 |
children |
comparison
equal
deleted
inserted
replaced
310:782f4c560de4 | 311:6fcbbe644b92 |
---|---|
288 | 288 |
289 return "<unknown>"; | 289 return "<unknown>"; |
290 } | 290 } |
291 #else | 291 #else |
292 // CUDA Driver API errors | 292 // CUDA Driver API errors |
293 const char *_cudaGetErrorEnum(CUresult error) | 293 static const char *_cudaGetErrorEnum(CUresult error) |
294 { | 294 { |
295 switch (error) | 295 switch (error) |
296 { | 296 { |
297 case CUDA_SUCCESS: | 297 case CUDA_SUCCESS: |
298 return "CUDA_SUCCESS"; | 298 return "CUDA_SUCCESS"; |