Skip to content

Commit 69c2c44

Browse files
committed
Add back detection of binary case, so we recompile
For Theano versions before the fix, so that we do not try to make nvrtc compile binary.
1 parent 024e4e1 commit 69c2c44

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/gpuarray_buffer_cuda.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,11 @@ static gpukernel *cuda_newkernel(gpucontext *c, unsigned int count,
12921292
return NULL;
12931293
}
12941294

1295+
if (flags & GA_USE_BINARY) {
1296+
error_set(ctx->err, GA_UNSUPPORTED_ERROR, "Binary mode not supported any more");
1297+
return NULL;
1298+
}
1299+
12951300
cuda_enter(ctx);
12961301

12971302
err = cuCtxGetDevice(&dev);

0 commit comments

Comments
 (0)