Skip to content

Commit 6572cae

Browse files
committed
Small fixup.
1 parent 037ff24 commit 6572cae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gpuarray_buffer_cuda.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ cuda_context *cuda_make_ctx(CUcontext ctx, int flags) {
260260
(vread_fn)kernel_read,
261261
res->err);
262262
if (res->disk_cache == NULL) {
263-
// TODO use better error messages when they are available.
264-
fprintf(stderr, "Error initializing disk cache, disabling\n");
263+
fprintf(stderr, "Error initializing disk cache, disabling: %s\n",
264+
global_err->msg);
265265
cache_destroy(mem_cache);
266266
goto fail_disk_cache;
267267
}

0 commit comments

Comments
 (0)