ROCm / MIVisionX

MIVisionX toolkit is a set of comprehensive computer vision and machine intelligence libraries, utilities, and applications bundled into a single toolkit. AMD MIVisionX also delivers a highly optimized open-source implementation of the Khronos OpenVX™ and OpenVX™ Extensions.
https://rocm.docs.amd.com/projects/MIVisionX/en/latest/
MIT License
186 stars 74 forks source link

OpenVX HIP Backend - Warning with Level 2 #593

Closed kiritigowda closed 3 years ago

kiritigowda commented 3 years ago

@asalmanp getting missing Python3 messages - /usr/bin/env: 'python3': No such file or directory

make -j8
[  1%] Building HIPCC object amd_openvx/openvx/hipvx/CMakeFiles/openvx_hip.dir/openvx_hip_generated_color_kernels.cpp.o
[  3%] Building HIPCC object amd_openvx/openvx/hipvx/CMakeFiles/openvx_hip.dir/openvx_hip_generated_geometric_kernels.cpp.o
[  4%] Building HIPCC object amd_openvx/openvx/hipvx/CMakeFiles/openvx_hip.dir/openvx_hip_generated_logical_kernels.cpp.o
[  7%] Building HIPCC object amd_openvx/openvx/hipvx/CMakeFiles/openvx_hip.dir/openvx_hip_generated_vision_kernels.cpp.o
[  7%] Building HIPCC object amd_openvx/openvx/hipvx/CMakeFiles/openvx_hip.dir/openvx_hip_generated_arithmetic_kernels.cpp.o
[ 10%] Building HIPCC object amd_openvx/openvx/hipvx/CMakeFiles/openvx_hip.dir/openvx_hip_generated_filter_kernels.cpp.o
[ 10%] Building HIPCC object amd_openvx/openvx/hipvx/CMakeFiles/openvx_hip.dir/openvx_hip_generated_statistical_kernels.cpp.o
Scanning dependencies of target openvx
[ 12%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_drama.cpp.o
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
/usr/bin/env: 'python3': No such file or directory
[ 14%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_drama_alloc.cpp.o
[ 15%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_drama_analyze.cpp.o
[ 17%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_drama_divide.cpp.o
[ 18%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_drama_merge.cpp.o
[ 20%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_drama_remove.cpp.o
[ 21%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu.cpp.o
[ 23%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_arithmetic.cpp.o
[ 25%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_canny.cpp.o
[ 26%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_ch_extract_combine.cpp.o
Scanning dependencies of target openvx_hip
[ 28%] Linking CXX shared library ../../../lib/libopenvx_hip.so
[ 28%] Built target openvx_hip
[ 29%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_color_convert.cpp.o
[ 31%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_fast_corners.cpp.o
[ 32%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_filter.cpp.o
[ 34%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_geometric.cpp.o
[ 35%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_generic_functions.cpp.o
[ 37%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_harris.cpp.o
[ 39%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_histogram.cpp.o
[ 40%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_logical.cpp.o
[ 42%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_opticalflow.cpp.o
[ 43%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_cpu_pyramid.cpp.o
[ 45%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_gpu_common.cpp.o
[ 46%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_gpu_conversion.cpp.o
[ 48%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_gpu_corners.cpp.o
[ 50%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_gpu_linear_filter.cpp.o
[ 51%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_haf_gpu_special_filters.cpp.o
[ 53%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_interface.cpp.o
[ 54%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_kernel_api.cpp.o
[ 56%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_kernel_list.cpp.o
[ 57%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_platform.cpp.o
[ 59%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_util.cpp.o
[ 60%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_util_opencl.cpp.o
[ 62%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/ago/ago_util_hip.cpp.o
[ 64%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/api/vxu.cpp.o
[ 65%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/api/vx_api.cpp.o
[ 67%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/api/vx_nodes.cpp.o
[ 68%] Linking CXX shared library ../../lib/libopenvx.so
[ 68%] Built target openvx
Scanning dependencies of target vxu
Scanning dependencies of target runvx
[ 70%] Building CXX object amd_openvx/openvx/CMakeFiles/vxu.dir/api/vxu.cpp.o
[ 75%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/runvx.cpp.o
[ 75%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxConvolution.cpp.o
[ 75%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxArray.cpp.o
[ 76%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxEngineUtil.cpp.o
[ 78%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxImage.cpp.o
[ 81%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxEngine.cpp.o
[ 81%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxDistribution.cpp.o
[ 82%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxLUT.cpp.o
[ 84%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxMatrix.cpp.o
[ 85%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxParameter.cpp.o
[ 87%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxParamHelper.cpp.o
[ 89%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxPyramid.cpp.o
[ 90%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxRemap.cpp.o
[ 92%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxScalar.cpp.o
[ 93%] Linking CXX shared library ../../lib/libvxu.so
[ 93%] Built target vxu
[ 95%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxThreshold.cpp.o
[ 96%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxTensor.cpp.o
[ 98%] Building CXX object utilities/runvx/CMakeFiles/runvx.dir/vxUtils.cpp.o
[100%] Linking CXX executable ../../bin/runvx
[100%] Built target runvx
kiritigowda commented 3 years ago

Will adding python3 to level 2 HIP be good? @asalmanp - then I can close this issue.

AryanSalmanpour commented 3 years ago

@kiritigowda Yes, it will be good enough as python3 is indirectly needed for hipcc (i.e., hipcc calls "rocm_agent_enumerator" which uses python3).

kiritigowda commented 3 years ago

@kiritigowda Yes, it will be good enough as python3 is indirectly needed for hipcc (i.e., hipcc calls "rocm_agent_enumerator" which uses python3).

Cool, I will add this and close the issue.

kiritigowda commented 3 years ago

611 adds python3 to level-2