summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-07-09 19:43:09 -0400
committerErik Schnetter <schnetter@gmail.com>2013-07-09 19:43:09 -0400
commit4736db05403becc2170397c6f2cae56827eb244f (patch)
tree8df0374aa4000a808082321170d5dab807923809
parent08f2f20f0753e4cdd4b2660f1f4c4c20ecf11d6c (diff)
downloadvecmathlib-4736db05403becc2170397c6f2cae56827eb244f.zip
vecmathlib-4736db05403becc2170397c6f2cae56827eb244f.tar.gz
Remove erroneous vecmathlib:: prefix when calling libm functions
-rwxr-xr-xpocl/generate-files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pocl/generate-files.py b/pocl/generate-files.py
index 5bf1d87..f55872d 100755
--- a/pocl/generate-files.py
+++ b/pocl/generate-files.py
@@ -380,7 +380,7 @@ def output_vmlfunc_libm(func, vectype):
# callretstr = othertype if ret==VF else otherinttype
callretstr = mkvmltype(vmlret, othertype)
name1 = name[:-1] if name.endswith("_") else name
- out(" %s r = vecmathlib::%s(%s);" % (callretstr, name1, callargstr))
+ out(" %s r = %s(%s);" % (callretstr, name1, callargstr))
# We may need to convert from the VML type to the OpenCL type
# before bitcasting. This may be a real conversion, e.g. bool to
# int. This may also involve a change in size (e.g. long to int),
OpenPOWER on IntegriCloud