Skip to content

Commit 9e311de

Browse files
committed
Fix dummy kernel for driver that require at least one argument.
1 parent 0b935e8 commit 9e311de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gpuarray_buffer_opencl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ cl_ctx *cl_make_ctx(cl_context ctx, int flags) {
121121
int e = 0;
122122
size_t warp_size;
123123
int ret;
124-
const char dummy_kern[] = "__kernel void kdummy() {}\n";
124+
const char dummy_kern[] = "__kernel void kdummy(float f) {}\n";
125125
strb context_preamble = STRB_STATIC_INIT;
126126
const char *rlk[1];
127127
gpukernel *m;

0 commit comments

Comments
 (0)