summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-03-23 20:31:25 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2016-03-23 20:31:25 +0100
commit706c6987c6044d49770874e5752968a3384a5300 (patch)
tree0f6c788eabf62d5ef5ca65addc1a4ce17ea0e887 /samples
parentd9356954176eba875138e38b5cf0fb131e1ac925 (diff)
Fixed compilation of the two SGEMM samples
Diffstat (limited to 'samples')
-rw-r--r--samples/sgemm.c1
-rw-r--r--samples/sgemm.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/samples/sgemm.c b/samples/sgemm.c
index f43fb147..d528db0a 100644
--- a/samples/sgemm.c
+++ b/samples/sgemm.c
@@ -15,6 +15,7 @@
//
// =================================================================================================
+#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/samples/sgemm.cc b/samples/sgemm.cc
index f4015278..8f33b6ad 100644
--- a/samples/sgemm.cc
+++ b/samples/sgemm.cc
@@ -22,7 +22,7 @@
// Includes the C++ OpenCL API. If not yet available, it can be found here:
// https://www.khronos.org/registry/cl/api/1.1/cl.hpp
-#include <cl.hpp>
+#include <CL/cl.hpp>
// Includes the CLBlast library
#include <clblast.h>