Please find the log here:
2021-01-06 18:29:23 Agisoft Metashape Professional Version: 1.7.0 build 11736 (64 bit)
2021-01-06 18:29:23 Platform: Windows
2021-01-06 18:29:23 CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (desktop)
2021-01-06 18:29:23 CPU family: 6 model: 60 signature: 306C3h
2021-01-06 18:29:23 RAM: 31.9 GB
2021-01-06 18:29:23 OpenGL Vendor: ATI Technologies Inc.
2021-01-06 18:29:23 OpenGL Renderer: Radeon RX 580 Series
2021-01-06 18:29:23 OpenGL Version: 4.5.13521 Compatibility Profile Context 24.20.11021.1000
2021-01-06 18:29:23 Maximum Texture Size: 16384
2021-01-06 18:29:23 Quad Buffered Stereo: not enabled
2021-01-06 18:29:23 ARB_vertex_buffer_object: supported
2021-01-06 18:29:23 ARB_texture_non_power_of_two: supported
2021-01-06 18:29:23 Using simple console. Rich console can be enabled in Preferences dialog.
2021-01-06 18:29:29 LoadProject: path = D:/My Projects/Photogrammetry projects/Ten24 FACS project/Test/Test.psx
2021-01-06 18:29:29 Loading project...
2021-01-06 18:29:30 loaded project in 0.339 sec
2021-01-06 18:29:30 Finished processing in 0.342 sec (exit code 1)
2021-01-06 18:29:36 BuildDenseCloud: quality = Ultra high, depth filtering = Mild, PM version, point colors = 1
2021-01-06 18:29:36 Generating depth maps...
2021-01-06 18:29:36 Preparing 120 cameras info...
2021-01-06 18:29:37 cameras data loaded in 0.275 s
2021-01-06 18:29:37 cameras graph built in 0.05 s
2021-01-06 18:29:37 filtering neighbors with too low common points, threshold=50...
2021-01-06 18:29:37 Camera 41 has no neighbors
2021-01-06 18:29:37 avg neighbors before filtering: 61.9167 (73% filtered out)
2021-01-06 18:29:37 limiting neighbors to 40 best...
2021-01-06 18:29:37 avg neighbors before limiting: 16.4833 (0% limited out)
2021-01-06 18:29:37 neighbors number min/1%/10%/median/90%/99%/max: 0, 4, 7, median=14, 31, 40, 40
2021-01-06 18:29:37 cameras info prepared in 0.507 s
2021-01-06 18:29:37 saved cameras info in 0.012
2021-01-06 18:29:37 Partitioning 120 cameras...
2021-01-06 18:29:37 number of mini clusters: 10
2021-01-06 18:29:37 3 groups: avg_ref=40 avg_neighb=32 total_io=180%
2021-01-06 18:29:37 max_ref=48 max_neighb=41 max_total=89
2021-01-06 18:29:37 cameras partitioned in 0.001 s
2021-01-06 18:29:37 saved depth map partition in 0.004 sec
2021-01-06 18:29:37 loaded cameras info in 0.016
2021-01-06 18:29:37 loaded depth map partition in 0 sec
2021-01-06 18:29:37 already partitioned (48<=50 ref cameras, 26<=200 neighb cameras)
2021-01-06 18:29:37 group 1/1: preparing 74 cameras images...
2021-01-06 18:29:37 point cloud loaded in 0.005 s
2021-01-06 18:29:37 Found 2 GPUs in 0.203 sec (CUDA: 0 sec, OpenCL: 0.203 sec)
2021-01-06 18:29:37 Using device: Radeon RX 580 Series (Ellesmere), 36 compute units, free memory: 8141/8192 MB, OpenCL 2.0
2021-01-06 18:29:37 driver version: 2580.6, platform version: OpenCL 2.1 AMD-APP (2580.6)
2021-01-06 18:29:37 max work group size 256
2021-01-06 18:29:37 max work item sizes [1024, 1024, 1024]
2021-01-06 18:29:37 max mem alloc size 4048 MB
2021-01-06 18:29:37 wavefront width 64
2021-01-06 18:29:37 Using device: Radeon RX 580 Series (Ellesmere), 36 compute units, free memory: 8141/8192 MB, OpenCL 2.0
2021-01-06 18:29:37 driver version: 2580.6, platform version: OpenCL 2.1 AMD-APP (2580.6)
2021-01-06 18:29:37 max work group size 256
2021-01-06 18:29:37 max work item sizes [1024, 1024, 1024]
2021-01-06 18:29:37 max mem alloc size 4048 MB
2021-01-06 18:29:37 wavefront width 64
2021-01-06 18:29:37 Using device: CPU Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (using 2/8)
2021-01-06 18:29:38 Building kernels for Radeon RX 580 Series (Ellesmere)...
2021-01-06 18:29:39 Device 1
2021-01-06 18:29:39 Program build log:
2021-01-06 18:29:39 Error: Undeclared function index 1028
2021-01-06 18:29:39
2021-01-06 18:29:39
2021-01-06 18:29:39 Failed to compile binary dumped to C:/Users/*/AppData/Local/Agisoft/Metashape Pro/cache/kernel_cache/pm_undistort_templated4098Radeon RX 580 Series (Ellesmere)_FAILED
2021-01-06 18:29:39 Building kernels for Radeon RX 580 Series (Ellesmere)...
2021-01-06 18:29:41 Device 1
2021-01-06 18:29:41 Program build log:
2021-01-06 18:29:41 Error: Undeclared function index 1028
2021-01-06 18:29:41
2021-01-06 18:29:41
2021-01-06 18:29:41 Failed to compile binary dumped to C:/Users/*/AppData/Local/Agisoft/Metashape Pro/cache/kernel_cache/pm_undistort_templated4098Radeon RX 580 Series (Ellesmere)_FAILED
2021-01-06 18:29:41 Finished processing in 4.427 sec (exit code 0)
2021-01-06 18:29:41 Error: ciErrNum: CL_BUILD_PROGRAM_FAILURE (-11) at line 1087
>>>