platform: AM5728
sdk 5.2
按照http://processors.wiki.ti.com/index.php/OpenCV 文档来测试opencv&opencl,
运行结果失败 export TI_OCL_LOAD_KERNELS_ONCHIP=Y
export TI_OCL_CACHE_KERNELS=Y export OPENCV_OPENCL_DEVICE='TI AM57:ACCELERATOR:TI Multicore C66 DSP' echo "OpenCL on, canny" ./canny_ex1
时提示sh: clocl: command not found
Segmentation fault(core dump)
yongqing wang:
g++ -I/usr/local/include/opencv -I/usr/local/include/opencv2 -L/usr/local/lib/ -g -o canny_ex1 canny_ex1.cpp -lrt -lopencv_core -lopencv_imgproc -lopencv_video -lopencv_features2d -lopencv_imgcodecs这一串命令有输全吗?
在/usr目录下看看能不能找到clocl
user5875077:
回复 yongqing wang:
谢谢,昨晚证实了是/usr/bin下没有这个文件导致的,现在把bin文件补全了可以运行了,但是运行 ./canny_ex1 log提示每个函数要几千毫秒,这个是什么原因
yongqing wang:
回复 user5875077:
感谢分享