SWDEV-384646 - Clean up clinfo includes

Change-Id: I7cc8a877fd7a61fea58331b5ca1792022df3194d
This commit is contained in:
jatang
2023-03-02 16:03:52 -05:00
parent eb87d711ab
commit a7f8964a20
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ add_executable(clinfo clinfo.cpp)
target_compile_definitions(clinfo PRIVATE CL_TARGET_OPENCL_VERSION=220 HAVE_CL2_HPP)
target_include_directories(clinfo PRIVATE "../../khronos/headers/opencl2.2/CL" "../../khronos/headers/opencl2.2/CL/.." "../../khronos/headers/opencl2.2/CL/../.." "../../khronos/headers/opencl2.2/CL/../../.." "../../khronos/headers/opencl2.2/CL/../../../..")
target_include_directories(clinfo PRIVATE ${OPENCL_ICD_LOADER_HEADERS_DIR})
target_link_libraries(clinfo OpenCL)
+1 -1
View File
@@ -44,7 +44,7 @@
#define __MAX_DEFAULT_VECTOR_SIZE 50
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
#include "cl.hpp"
#include "CL/cl.hpp"
#endif // !HAVE_CL2_HPP
bool verbose = false;