summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-04-27 17:59:28 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-04-27 17:59:28 +0200
commit13eed1a0f973ff2090062a1ad4485896b22949b0 (patch)
tree55a7e36f15191c214604cbe1954c59ab785d0713 /samples
parent8075934ca7696f92e779b6751980ace526a37bbe (diff)
Added missing namespace to the SGEMM example
Diffstat (limited to 'samples')
-rw-r--r--samples/sgemm.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/samples/sgemm.cc b/samples/sgemm.cc
index 78f2dee8..2659d36c 100644
--- a/samples/sgemm.cc
+++ b/samples/sgemm.cc
@@ -84,15 +84,15 @@ int main() {
// Call the SGEMM routine. Note that the type of alpha and beta (float) determine the precision.
auto queue_plain = queue();
- auto status = Gemm(clblast::Layout::kRowMajor,
- clblast::Transpose::kNo, clblast::Transpose::kNo,
- m, n, k,
- alpha,
- device_a(), 0, a_ld,
- device_b(), 0, b_ld,
- beta,
- device_c(), 0, c_ld,
- &queue_plain, &event);
+ auto status = clblast::Gemm(clblast::Layout::kRowMajor,
+ clblast::Transpose::kNo, clblast::Transpose::kNo,
+ m, n, k,
+ alpha,
+ device_a(), 0, a_ld,
+ device_b(), 0, b_ld,
+ beta,
+ device_c(), 0, c_ld,
+ &queue_plain, &event);
// Record the execution time
clWaitForEvents(1, &event);