Skip to content

Commit

Permalink
Remove OpenCL warper
Browse files Browse the repository at this point in the history
- Even when OpenCL was detected at build time, this has been disabled
  at runtime by default due to multiple issues
- Performance improvements weren't that big compared to multithreaded
  CPU
- Wasn't functionaly on par with CPU version
- Nobody cared enough about it to maintain it
- Big users of GDAL (remote sensing companies) don't care that much
  about GPU uage of GDAL.
  • Loading branch information
rouault committed Mar 6, 2025
1 parent fd803f4 commit 4f96a13
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 3,666 deletions.
6 changes: 0 additions & 6 deletions alg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ if (GDAL_USE_ARMADILLO)
gdal_target_link_libraries(alg PRIVATE ${ARMADILLO_LIBRARIES})
endif ()

if (GDAL_USE_OPENCL)
gdal_target_link_libraries(alg PRIVATE OpenCL::OpenCL)
target_compile_definitions(alg PRIVATE -DHAVE_OPENCL)
target_sources(alg PRIVATE gdalwarpkernel_opencl.h gdalwarpkernel_opencl.cpp)
endif ()

gdal_target_link_libraries(alg PRIVATE PROJ::proj)

if (GDAL_USE_QHULL_INTERNAL)
Expand Down
Loading

0 comments on commit 4f96a13

Please sign in to comment.