diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-25 19:45:57 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-25 19:45:57 +0200 |
commit | 926aca53a0de9250a9f7d42026fb54995668dc5b (patch) | |
tree | 4574c1675a0fdc0d1439fd3637437f6e6d3432cf /scripts/generator/generator/cpp.py | |
parent | 59183b7d79b70d918562d5048e521633d425ca1c (diff) |
Made the Netlib CBLAS API use the same enums with prefixes as the regular C API of CLBlast
Diffstat (limited to 'scripts/generator/generator/cpp.py')
-rw-r--r-- | scripts/generator/generator/cpp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/generator/generator/cpp.py b/scripts/generator/generator/cpp.py index 23a2207c..eafbea30 100644 --- a/scripts/generator/generator/cpp.py +++ b/scripts/generator/generator/cpp.py @@ -126,6 +126,7 @@ def clblast_blas_cc(routine): # Copy data structures to the device for i, name in enumerate(routine.inputs + routine.outputs): result += " " + routine.set_size(name, routine.buffer_sizes[i]) + NL + for i, name in enumerate(routine.inputs + routine.outputs): result += " " + routine.create_buffer(name, flavour.buffer_type) + NL for name in routine.inputs + routine.outputs: prefix = "" if name in routine.outputs else "const " |