Pārlūkot izejas kodu

socl/src/CL: make sure to include CL files from the current directory

Nathalie Furmento 12 gadi atpakaļ
vecāks
revīzija
9ab24e2bf9

+ 1 - 1
socl/src/CL/cl.h

@@ -27,7 +27,7 @@
 #ifdef __APPLE__
 #include <OpenCL/cl_platform.h>
 #else
-#include <CL/cl_platform.h>
+#include "cl_platform.h"
 #endif	
 
 #ifdef __cplusplus

+ 2 - 2
socl/src/CL/cl_d3d10.h

@@ -27,8 +27,8 @@
 #define __OPENCL_CL_D3D10_H
 
 #include <d3d10.h>
-#include <CL/cl.h>
-#include <CL/cl_platform.h>
+#include "cl.h"
+#include "cl_platform.h"
 
 #ifdef __cplusplus
 extern "C" {

+ 2 - 2
socl/src/CL/cl_d3d11.h

@@ -27,8 +27,8 @@
 #define __OPENCL_CL_D3D11_H
 
 #include <d3d11.h>
-#include <CL/cl.h>
-#include <CL/cl_platform.h>
+#include "cl.h"
+#include "cl_platform.h"
 
 #ifdef __cplusplus
 extern "C" {

+ 2 - 2
socl/src/CL/cl_dx9_media_sharing.h

@@ -26,8 +26,8 @@
 #ifndef __OPENCL_CL_DX9_MEDIA_SHARING_H
 #define __OPENCL_CL_DX9_MEDIA_SHARING_H
 
-#include <CL/cl.h>
-#include <CL/cl_platform.h>
+#include "cl.h"
+#include "cl_platform.h"
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
socl/src/CL/cl_ext.h

@@ -37,7 +37,7 @@ extern "C" {
 	#include <OpenCL/cl.h>
     #include <AvailabilityMacros.h>
 #else
-	#include <CL/cl.h>
+	#include "cl.h"
 #endif
 
 /* cl_khr_fp64 extension - no extension #define since it has no functions  */

+ 1 - 1
socl/src/CL/cl_gl.h

@@ -27,7 +27,7 @@
 #ifdef __APPLE__
 #include <OpenCL/cl.h>
 #else
-#include <CL/cl.h>
+#include "cl.h"
 #endif	
 
 #ifdef __cplusplus

+ 1 - 1
socl/src/CL/cl_gl_ext.h

@@ -36,7 +36,7 @@ extern "C" {
 #ifdef __APPLE__
     #include <OpenCL/cl_gl.h>
 #else
-    #include <CL/cl_gl.h>
+    #include "cl_gl.h"
 #endif
 
 /*

+ 4 - 4
socl/src/CL/opencl.h

@@ -39,10 +39,10 @@ extern "C" {
 
 #else
 
-#include <CL/cl.h>
-#include <CL/cl_gl.h>
-#include <CL/cl_gl_ext.h>
-#include <CL/cl_ext.h>
+#include "cl.h"
+#include "cl_gl.h"
+#include "cl_gl_ext.h"
+#include "cl_ext.h"
 
 #endif