Skip to content

Commit 17b751a

Browse files
committed
Have the right error message appear when there is no blas library
1 parent 69c2c44 commit 17b751a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gpuarray_buffer_blas.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
int gpublas_setup(gpucontext *ctx) {
66
if (ctx->blas_ops == NULL)
7-
return GA_UNSUPPORTED_ERROR;
7+
return error_set(ctx->err, GA_UNSUPPORTED_ERROR, "Missing Blas library");
88
return ctx->blas_ops->setup(ctx);
99
}
1010

0 commit comments

Comments
 (0)