Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert cl2hpp dependency version. Newer versions have a changed inter…
…face which will require changes to ArrayFire.
  • Loading branch information
christophe-murphy committed Mar 7, 2026
commit e1cbdf20afbe7e02d1d1bf24b1b11ef84f6ae37b
4 changes: 3 additions & 1 deletion CMakeModules/build_cl2hpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ if(NOT TARGET OpenCL::cl2hpp)
set_target_properties(cl2hpp OpenCL::cl2hpp PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES ${cl2hpp_header_file_path})
elseif (NOT TARGET OpenCL::cl2hpp OR NOT TARGET cl2hpp)
# This version is known to work, newer versions currently
# do not and will require fixes to address changed interfaces
af_dep_check_and_populate(${cl2hpp_prefix}
URI https://github.com/KhronosGroup/OpenCL-CLHPP.git
REF v2024.10.24)
REF v2022.09.30)

find_path(cl2hpp_var
NAMES CL/cl2.hpp
Expand Down
Loading