diff options
-rwxr-xr-x | pocl/generate-files.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pocl/generate-files.py b/pocl/generate-files.py index 7baff19..9506bf9 100755 --- a/pocl/generate-files.py +++ b/pocl/generate-files.py @@ -181,7 +181,7 @@ directfuncs = [ # This is always prepended to the generated function names. -func_prefix = "" +func_prefix = "_cl_" # Some of the functions need prefixes to avoid using the C standard # library ones. @@ -212,7 +212,7 @@ masked_functions = [ ] # This is prepended to masked function names. -mask_prefix = "_cl_" +mask_prefix = "" def prefixed(name): if name in masked_functions: name = mask_prefix + name |