14
« on: December 08, 2016, 10:59:39 PM »
Troubles with open CL on macbook pro
Hy I have a Macbook pro mid 2014 with Intel iris pro as GPU.. This GPU is correctly recognized by photoscan, but when I start dense cloud I obtain this error :
BuildDenseCloud: quality = Medium, depth filtering = Aggressive
2016-12-08 19:23:34 Using device: Iris Pro, 40 compute units, 1536 MB global memory, OpenCL 1.2
2016-12-08 19:23:34 max work group size 512
2016-12-08 19:23:34 max work item sizes [512, 512, 512]
2016-12-08 19:23:34 max mem alloc size 384 MB
2016-12-08 19:23:34 work group size multiple 32, warp/wavefront size 32
2016-12-08 19:23:34 Initializing...
2016-12-08 19:23:34 Device 1
2016-12-08 19:23:34 <program source>:20035:23: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int'
2016-12-08 19:23:34 if (get_global_id(0) < width && get_global_id(1) > crow0 && get_global_id(1) - crow0 < nrows) {
2016-12-08 19:23:34 ~~~~~~~~~~~~~~~~ ^ ~~~~~
2016-12-08 19:23:34 <program source>:20035:51: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int'
....... [omiss] ......
~~~~~~~~~~~~~~~~ ^ ~~~~~
2016-12-08 19:23:34 <program source>:120193:52: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int'
2016-12-08 19:23:34 if (get_global_id(0) >= ncols || get_global_id(1) >= nrows || disp[(y - row0) * ncols + (x - col0)] == FLT_MAX) return;
2016-12-08 19:23:34 ~~~~~~~~~~~~~~~~ ^ ~~~~~
2016-12-08 19:23:34 <program source>:120202:7: warning: no previous prototype for function 'atomic_cmpxchg_f32'
2016-12-08 19:23:34 float atomic_cmpxchg_f32(volatile __global float *p, float cmp, float val) {
2016-12-08 19:23:34 ^
2016-12-08 19:23:34
2016-12-08 19:23:34
2016-12-08 19:23:34 stereo.cpp line 196: error CL_BUILD_PROGRAM_FAILURE
2016-12-08 19:23:34 Finished processing in 0.076811 sec (exit code 0)
2016-12-08 19:23:34 Error: Can't initialize OpenCL