Commit Graph

8 Commits

Author SHA1 Message Date
Savya Sanchi Sharma
c97ebe2b55 core: add ROCm 10 support and HIP backend plugin for the non-CPU HAL (#30925)
Adds the AMD/ROCm half:

ROCm detection, separate from HIP. ROCm 10.0 ships HIP 7.15, and HIP's major
version is 7 on both ROCm 7 and ROCm 10, so hip_VERSION cannot identify the
platform. Detection probes rocm-core, then the legacy version file, then
ROCm 10's core-<major>.<minor> directory.
GPU architecture selection via amdgpu-arch / rocm_agent_enumerator,
falling back to family-wide generic targets.
A standalone HIP backend plugin (hal/accel/hip/), loaded on first use.
No OpenCV module compiles HIP, and the main build does not depend on ROCm.
Implemented kernels: flip, transpose, setTo, and convertTo.
2026-11-25 14:23:05 +05:30
abhishek-gola
f23446318f core: fix accel transpose between regions of one buffer, CUDA < 11.2 builds and OpenCL images of foreign UMats
Signed-off-by: abhishek-gola <abhishek@opencv.org>
2026-11-20 12:54:06 +05:30
Abhishek Gola
d4e911c97e core: fix the accel test's 32-bit constant truncation warning and its RVV-dependent flip reference
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-11-16 12:21:49 +05:30
Abhishek Gola
968b65053d core: address the non-CPU HAL review and fix the unused lambda capture warning
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-11-13 14:56:42 +05:30
Abhishek Gola
313767375f core: reduce the non-CPU HAL to explicit placement, per-thread streams and typed ops
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-11-13 13:38:00 +05:30
Abhishek Gola
182cc3e958 core: create the accel test memfds through the system call on Android below API 30
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-11-10 14:11:57 +05:30
Abhishek Gola
7ab6327ba6 core: add the CUDA backend of the non-CPU HAL with flip and transpose kernels
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-11-05 14:07:17 +05:30
Abhishek Gola
0dd487d875 core: add the non-CPU HAL runtime (cv::accel) with an emulated test backend
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-11-05 14:07:17 +05:30