Open SilentWalker opened 6 years ago
-11 means CL_BUILD_PROGRAM_FAILURE, may be I used some extensions in the kernel that didn't support on your platform, could you find which kernel program compile failed?
i added cout sourcefileName
in buildProgramFromFile
, and the output is
... warning: Linking two modules of different data layouts: '' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024' whereas '
' is 'e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-n8:16:32:64' warning: Linking two modules of different target triples: ' is 'spir' whereas '
' is 'vISA_32' warning: Linking two modules of different data layouts: '' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024' whereas '
' is 'e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-n8:16:32:64' warning: Linking two modules of different target triples: ' is 'spir' whereas '
' is 'vISA_32' start build blas_kernels_2.cl
opencl execution error, code -11 -11 terminate called after throwing an instance of 'std::runtime_error' what(): OpenCL error, code: -11 Aborted (core dumped)
i guess there is something wrong in blas_kernels_2.cl
Hi, i've installed intel opencl driver on ubuntu 16.04 following this link https://software.intel.com/en-us/articles/opencl-drivers#latest_linux_driver , the path of opencl lib is /opt/intel/opencl ,and when i ran
clinfo
, i got these outputs in first few lines :and device info :
but
cmake ../
found the wrong version and path of opencl :run
./darknet detect ~/tiny_yolo_optimized/tiny-yolo-op_final.cfg ~/tiny_yolo_optimized/tiny-yolo-op_final.weights data/dog.jpg
and the output is :