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
185 stars 72 forks source link

MIGraphX EXT - CMakeList Warning #810

Closed kiritigowda closed 2 years ago

kiritigowda commented 2 years ago

On TOT Develop Branch -- Building with OpenCL Backend without MIGraphX installed.

-- WARNING: GPU support with HIP Not Found -- amd_migraphx module excluded
 [](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-523)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-524)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-525)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-526)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-527)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-528)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-529)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-530)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-531)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-532)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-533)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-534)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-535)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-536)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-537)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-538)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-539)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-540)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-541)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-542)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-543)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-544)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-545)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-546)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-547)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-548)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-549)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-550)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-551)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-552)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-553)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-554)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-555)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-556)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-557)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-558)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-559)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-560)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-561)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-562)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-563)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-564)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-565)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-566)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-567)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-568)[](http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/PR-808/4/pipeline/135#step-142-log-569)-- MIVisionX Version -- 2.1.0

-- MIVisionX Install Path -- /opt/rocm/mivisionx

-- MIVisionX Backend set to -- OPENCL

-- MIVisionX Build Type -- Release

-- MIVisionX Developer Options

--      -D NEURAL_NET=OFF [Turn OFF Neural Net Modules (default:ON)]

--      -D ROCAL=OFF [Turn OFF ROCAL Modules (default:ON)]

--      -D LOOM=OFF [Turn OFF LOOM Modules (default:ON)]

--      -D GPU_SUPPORT=OFF [Turn OFF GPU support (default:ON)]

--      -D BACKEND=OPENCL [select OPENCL for GPU backend [options:CPU/OPENCL/HIP](default:HIP)]

--      -D MIGRAPHX=OFF [Turn OFF MIGraphX Module (default:ON)]

-- OpenCL - Setting CL_TARGET_OPENCL_VERSION=220

-- AMD OpenVX -- OpenVX built with OpenCL Support

-- Using OpenCL Library -- /opt/rocm/opencl/lib/libOpenCL.so

-- AMD OpenVX -- OpenVX module added

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 

-- Checking for module 'libavcodec'

--   Found libavcodec, version 58.18.100

-- Checking for module 'libavformat'

--   Found libavformat, version 58.12.100

-- Checking for module 'libavutil'

--   Found libavutil, version 56.14.100

-- Using FFMPEG -- Libraries:/usr/local/lib/libavcodec.so;/usr/local/lib/libavformat.so;/usr/local/lib/libavutil.so;/usr/local/lib/libswscale.so Includes:/usr/local/include

-- Found OpenCL: /opt/rocm/opencl/lib/libOpenCL.so  

-- amd_media -- Building with OpenCL

-- AMD OpenVX Media Extension -- amd_media module added

-- AMD OpenVX Loom Stich Library Extension -- amd_loomsl module added

-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found version "3.12.0") 

-- Inference Generator -- utilities/inference_generator module added

-- amd_nn -- Building with OpenCL

-- AMD OpenVX Neural Network Extension -- amd_nn module added with OpenCL backend

-- Found AMDRPP: /opt/rocm/rpp/lib/libamd_rpp.so  

-- amd_rpp -- Building with OpenCL

-- AMD Radeon Performance Primitives -- amd_rpp module added with OpenCL backend support

-- OpenCV Found -- Version-4.5.X Supported

-- AMD OpenVX OpenCV Extension -- amd_opencv module added

-- WARNING: GPU support with HIP Not Found -- amd_migraphx module excluded

-- Utilities -- runvx module added with OPENCL support

-- Loom Shell -- loom shell script interpreter module added

-- Utilities -- runvx, runcl, loom_shell, & mv_deploy modules added

-- ROCm Augmentation Library -- rocAL module added

-- rocAL library is going to be built with OpenCL support 

-- rocAL built with ENABLE_SIMD

-- rocAL - CMAKE_CXX_FLAGS:-fprofile-arcs -ftest-coverage -O3 -s -O3 -fopenmp -msse4.2 -mavx2 -Wall  -fPIC -pg -pthread -std=gnu++14 -Wno-deprecated-declarations

-- rocAL library is going to be built with video decode functionality 

-- Configuring done

-- Generating done

-- Build files have been written to: /var/jenkins_home/workspace/g_Short-GPUOpen_MIVisionX_PR-808/aMQjLCTTi/mivisionx/build/release-opencl
AryanSalmanpour commented 2 years ago

@kiritigowda do you just want to change the warning message in the case of the OCL backend?

kiritigowda commented 2 years ago

@asalmanp yes, if the HIP warning with OCL would be confusing. Can we also add the MIGraphX install with deps? That's the only way the CI can test the build.