summaryrefslogtreecommitdiff
path: root/test/performance/routines/level1/xswap.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-04-17 16:44:00 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-04-17 16:47:15 +0200
commit409a5a2ad09a5904a083059f9b1e00e53e1019d9 (patch)
tree5db2ee93fd9c828b89bdbbc9dab58fa9fe49f179 /test/performance/routines/level1/xswap.cpp
parent3e2faa5db8eabd6f5a5c6c835fda84f9b79b8b3b (diff)
Fixed a namespace clash with CUDA FP16 for the half-datatype
Diffstat (limited to 'test/performance/routines/level1/xswap.cpp')
-rw-r--r--test/performance/routines/level1/xswap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/routines/level1/xswap.cpp b/test/performance/routines/level1/xswap.cpp
index db40f6e4..475c1431 100644
--- a/test/performance/routines/level1/xswap.cpp
+++ b/test/performance/routines/level1/xswap.cpp
@@ -17,7 +17,7 @@ int main(int argc, char *argv[]) {
const auto command_line_args = clblast::RetrieveCommandLineArguments(argc, argv);
switch(clblast::GetPrecision(command_line_args, clblast::Precision::kSingle)) {
case clblast::Precision::kHalf:
- clblast::RunClient<clblast::TestXswap<half>, half, half>(argc, argv); break;
+ clblast::RunClient<clblast::TestXswap<clblast::half>, clblast::half, clblast::half>(argc, argv); break;
case clblast::Precision::kSingle:
clblast::RunClient<clblast::TestXswap<float>, float, float>(argc, argv); break;
case clblast::Precision::kDouble: