SWDEV-384646 - Clean up clinfo includes
Change-Id: I7cc8a877fd7a61fea58331b5ca1792022df3194d
[ROCm/clr commit: a7f8964a20]
Этот коммит содержится в:
@@ -2,7 +2,7 @@ add_executable(clinfo clinfo.cpp)
|
|||||||
|
|
||||||
target_compile_definitions(clinfo PRIVATE CL_TARGET_OPENCL_VERSION=220 HAVE_CL2_HPP)
|
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)
|
target_link_libraries(clinfo OpenCL)
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
#define __MAX_DEFAULT_VECTOR_SIZE 50
|
#define __MAX_DEFAULT_VECTOR_SIZE 50
|
||||||
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
||||||
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
|
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
|
||||||
#include "cl.hpp"
|
#include "CL/cl.hpp"
|
||||||
#endif // !HAVE_CL2_HPP
|
#endif // !HAVE_CL2_HPP
|
||||||
|
|
||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user