summaryrefslogtreecommitdiff
path: root/test/routines/level2/xhpr2.h
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-04-27 11:37:55 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-04-27 11:37:55 +0200
commit3555cd043654ec24ff325bd6205281af790e50d2 (patch)
treec36cfd23550a3eb3b435cca64c29f58f77328173 /test/routines/level2/xhpr2.h
parentc8e28a33c0b786aa3772b6f6d822245b5f2ad9ea (diff)
All CLBlast enum constants now have the same raw values as in the cblas standard
Diffstat (limited to 'test/routines/level2/xhpr2.h')
-rw-r--r--test/routines/level2/xhpr2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/routines/level2/xhpr2.h b/test/routines/level2/xhpr2.h
index 43889cb9..e1e5b4c5 100644
--- a/test/routines/level2/xhpr2.h
+++ b/test/routines/level2/xhpr2.h
@@ -93,8 +93,8 @@ class TestXhpr2 {
static StatusCode RunReference1(const Arguments<T> &args, Buffers<T> &buffers, Queue &queue) {
auto queue_plain = queue();
auto event = cl_event{};
- auto status = clblasXhpr2(static_cast<clblasOrder>(args.layout),
- static_cast<clblasUplo>(args.triangle),
+ auto status = clblasXhpr2(convertToCLBLAS(args.layout),
+ convertToCLBLAS(args.triangle),
args.n, args.alpha,
buffers.x_vec(), args.x_offset, args.x_inc,
buffers.y_vec(), args.y_offset, args.y_inc,