Skip to content

Commit 0783e8e

Browse files
committed
Remove extra spaces that were left.
1 parent e56091d commit 0783e8e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/gpuarray_buffer_opencl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,18 @@ cl_ctx *cl_make_ctx(cl_context ctx, int flags) {
132132
id = get_dev(ctx, NULL);
133133
if (id == NULL) return NULL;
134134
err = clGetDeviceInfo(id, CL_DEVICE_QUEUE_PROPERTIES, sizeof(qprop),
135-
&qprop, NULL);
135+
&qprop, NULL);
136136
if (err != CL_SUCCESS) return NULL;
137137

138138
err = clGetDeviceInfo(id, CL_DEVICE_VENDOR, sizeof(vendor), vendor, NULL);
139139
if (err != CL_SUCCESS)
140140
return NULL;
141141
err = clGetDeviceInfo(id, CL_DEVICE_VENDOR_ID, sizeof(vendor_id), &vendor_id,
142-
NULL);
142+
NULL);
143143
if (err != CL_SUCCESS)
144144
return NULL;
145145
err = clGetDeviceInfo(id, CL_DRIVER_VERSION, sizeof(driver_version),
146-
driver_version, NULL);
146+
driver_version, NULL);
147147
if (err != CL_SUCCESS)
148148
return NULL;
149149

@@ -242,7 +242,7 @@ gpudata *cl_make_buf(gpucontext *c, cl_mem buf) {
242242

243243
ASSERT_CTX(ctx);
244244
ctx->err = clGetMemObjectInfo(buf, CL_MEM_CONTEXT, sizeof(buf_ctx),
245-
&buf_ctx, NULL);
245+
&buf_ctx, NULL);
246246
if (ctx->err != CL_SUCCESS) return NULL;
247247
if (buf_ctx != ctx->ctx) return NULL;
248248

0 commit comments

Comments
 (0)