Skip to content

Commit b0a4740

Browse files
committed
Include cl_ext.h instead of deprecated cl_ext_intel.h
Note that opencl.h already includes cl_ext.h This resolves warnings introduced with the OpenCL headers update. #62 ../include/CL/cl_ext_intel.h:19:105: note: #pragma message: The Intel extensions have been moved into cl_ext.h. Please include cl_ext.h directly. #pragma message("The Intel extensions have been moved into cl_ext.h. Please include cl_ext.h directly.") Closes #66
1 parent b08e0af commit b0a4740

File tree

6 files changed

+1
-8
lines changed

6 files changed

+1
-8
lines changed

include/acl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <string>
1010
#include <vector>
1111

12-
#include <CL/cl_ext_intel.h>
12+
#include <CL/cl_ext.h>
1313

1414
#include "acl_visibility.h"
1515

include/acl_svm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#ifndef ACL_SVM_H
55
#define ACL_SVM_H
66

7-
#include <CL/cl_ext.h>
87
#include <CL/opencl.h>
98

109
#include "acl_types.h"

include/acl_usm.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#ifndef ACL_USM_H
55
#define ACL_USM_H
66

7-
#include <CL/cl_ext.h>
8-
#include <CL/cl_ext_intel.h>
97
#include <CL/opencl.h>
108

119
#include "acl_types.h"

src/acl_icd_dispatch.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <string.h>
66

77
// External library headers.
8-
#include <CL/cl_ext_intel.h>
98
#include <CL/cl_ext_intelfpga.h>
109
#include <CL/opencl.h>
1110

src/acl_kernel.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include <vector>
1212

1313
// External library headers.
14-
#include <CL/cl_ext.h>
15-
#include <CL/cl_ext_intel.h>
1614
#include <CL/opencl.h>
1715
#include <acl_hash/acl_hash.h>
1816
#include <acl_threadsupport/acl_threadsupport.h>

src/acl_usm.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include <unordered_set>
1212

1313
// External library headers.
14-
#include <CL/cl_ext_intel.h>
1514
#include <CL/opencl.h>
1615

1716
// Internal headers.

0 commit comments

Comments
 (0)