aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-10-03 00:14:41 +1300
committerDavid Phillips <david@sighup.nz>2017-10-03 00:14:41 +1300
commit3957b694e3d469c94c68cb07ad0dc12d20963534 (patch)
tree855f969a2f1865a942ac4eddf518fc7bb6ed15d9
parent630135558c432a4cae1e74fdad09007ee17932ad (diff)
downloadsand-leek-3957b694e3d469c94c68cb07ad0dc12d20963534.tar.xz
Resize device result buffer
-rw-r--r--trampoline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trampoline.c b/trampoline.c
index bed457a..bfbc508 100644
--- a/trampoline.c
+++ b/trampoline.c
@@ -326,7 +326,7 @@ int tramp_set_kernel_args(unsigned int raw_len)
{
cl_int ret = 0;
- device_result = clCreateBuffer(context, CL_MEM_WRITE_ONLY, 1024, NULL, &ret);
+ device_result = clCreateBuffer(context, CL_MEM_WRITE_ONLY, 65536, NULL, &ret);
if (ret != CL_SUCCESS) {
fprintf(stderr, "Failed to create buffer for slave device: %s ", get_cl_error_string(ret));
return 1;