SWDEV-384646 - Clean up clinfo includes
Change-Id: I7cc8a877fd7a61fea58331b5ca1792022df3194d
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user