Kaydet (Commit) 9ab89a75 authored tarafından I-Jui (Ray) Sung's avatar I-Jui (Ray) Sung

GPU Calc: an attempt to fix compilation error on Darwin

Change-Id: I282ef4732f72d76baf647bb039847e8d7b3fd562
üst be7c599a
......@@ -592,8 +592,9 @@ public:
throw OpenCLError(err);
// set kernel arg of reduction kernel
// TODO(Wei Wei): use unique name for kernel
cl_mem buf = Base::GetCLBuffer();
err = clSetKernelArg(redKernel, 0, sizeof(cl_mem),
(void *)&(Base::mpClmem));
(void *)&buf);
if (CL_SUCCESS != err)
throw OpenCLError(err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment