summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/op_math.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-05 22:03:46 +0200
committerTor Lillqvist <tml@collabora.com>2013-11-07 21:07:47 +0200
commit761959e7af3ea0b7b80f33f511feec212b9dc7d0 (patch)
treed7960741994cceb11f246a06c3e332243c7f2f4e /sc/source/core/opencl/op_math.cxx
parente58c7886fe3dc830a14433078b8a1bea52a85f11 (diff)
Cosmetics: Use more consistent style in the generated OpenCL code
Change-Id: I6c292c95cb3927954d71a5513665dcf2c54166b2
Diffstat (limited to 'sc/source/core/opencl/op_math.cxx')
-rw-r--r--sc/source/core/opencl/op_math.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/op_math.cxx b/sc/source/core/opencl/op_math.cxx
index d7286be96caa..9d10fce340a1 100644
--- a/sc/source/core/opencl/op_math.cxx
+++ b/sc/source/core/opencl/op_math.cxx
@@ -36,7 +36,7 @@ void OpCos::GenSlidingWindowFunction(std::stringstream &ss,
ss << ",";
vSubArguments[i]->GenSlidingWindowDecl(ss);
}
- ss << ")\n{\n\t";
+ ss << ") {\n\t";
ss <<"int gid0=get_global_id(0);\n\t";
ss << "double arg0 = " << vSubArguments[0]->GenSlidingWindowDeclRef();
ss << ";\n\t";