提交 f2d653a8 authored 作者: Frederic's avatar Frederic

typo in error msg.

上级 03d4ac96
...@@ -92,7 +92,7 @@ void * device_malloc(size_t size, int verbose) ...@@ -92,7 +92,7 @@ void * device_malloc(size_t size, int verbose)
if (err2 != cudaSuccess){ if (err2 != cudaSuccess){
cudaGetLastError(); cudaGetLastError();
fprintf(stderr, fprintf(stderr,
"Error when tring to find the memory information" "Error when trying to find the memory information"
" on the GPU: %s\n", cudaGetErrorString(err2)); " on the GPU: %s\n", cudaGetErrorString(err2));
} }
#if COMPUTE_GPU_MEM_USED #if COMPUTE_GPU_MEM_USED
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论