I get this error during the alignment stage (1.3.3520)
2017-01-11 11:35:40 AlignPhotos: accuracy = High, preselection = generic, reference, keypoint limit = 60000, tiepoint limit = 6000, adaptive fitting = 1
2017-01-11 11:35:40 Detecting points...
2017-01-11 11:35:41 Using device: Pitcairn, 16 compute units, 1024 MB global memory, OpenCL 2.0
2017-01-11 11:35:41 max work group size 256
2017-01-11 11:35:41 max work item sizes [256, 256, 256]
2017-01-11 11:35:41 max mem alloc size 576 MB
2017-01-11 11:35:41 wavefront width 64
2017-01-11 11:35:42 photo 0: 59996 points
2017-01-11 11:35:43 Device 1
2017-01-11 11:35:43 Program build log:
2017-01-11 11:35:43 Error: Undeclared function index 1025
2017-01-11 11:35:43
2017-01-11 11:35:43
2017-01-11 11:35:43 photo 2: 59992 points
2017-01-11 11:35:43 Finished processing in 2.602 sec (exit code 0)
2017-01-11 11:35:43 Error: CL_BUILD_PROGRAM_FAILURE at line 520