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 73 forks source link

ROCm Path Fix - Absolute Path Removal #242

Closed kiritigowda closed 4 years ago

kiritigowda commented 4 years ago

List of Absolute Path

MIVisionX/amd_openvx/cmake/FindAMDRPP.cmake:    /opt/rocm/rpp/include
MIVisionX/amd_openvx/cmake/FindAMDRPP.cmake:    /opt/rocm/rpp/lib
MIVisionX/amd_openvx/cmake/FindAMDRPP.cmake:    /opt/rocm/rpp/lib
MIVisionX/amd_openvx/cmake/FindOpenCL.cmake:    /opt/rocm/opencl/include
MIVisionX/amd_openvx/cmake/FindOpenCL.cmake:        /opt/rocm/opencl/lib
MIVisionX/amd_openvx_extensions/amd_nn/CMakeLists.txt:find_package(miopengemm PATHS /opt/rocm REQUIRED)
MIVisionX/amd_openvx_extensions/amd_nn/CMakeLists.txt:find_package(miopen     PATHS /opt/rocm REQUIRED)
MIVisionX/amd_openvx_extensions/amd_rpp/source/blend.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/blend.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/blend.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/blur.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/blur.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/blur.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/brightness.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/brightness.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/brightness.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/color_temperature.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/color_temperature.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/color_temperature.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/contrast.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/contrast.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/contrast.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/copy.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/copy.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/copy.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/exposure_modification.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/exposure_modification.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/exposure_modification.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/fisheye.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/fisheye.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/fisheye.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/flip.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/flip.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/flip.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/fog.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/fog.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/fog.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/gamma_corrections.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/gamma_corrections.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/gamma_corrections.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/jitter.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/jitter.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/jitter.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/lens_correction.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/lens_correction.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/lens_correction.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/noise.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/noise.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/noise.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/nop.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/nop.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/nop.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/pixelate.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/pixelate.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/pixelate.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/rain.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/rain.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/rain.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/resize.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/resize.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/resize.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/resize_crop.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/resize_crop.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/resize_crop.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/rotate.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/rotate.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/rotate.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/snow.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/snow.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/snow.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/snp_noise.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/snp_noise.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/snp_noise.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/subtract.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/subtract.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/subtract.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/vignette.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/vignette.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/vignette.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/warp_affine.cpp:#include </opt/rocm/rpp/include/rpp.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/warp_affine.cpp:#include </opt/rocm/rpp/include/rppdefs.h>
MIVisionX/amd_openvx_extensions/amd_rpp/source/warp_affine.cpp:#include </opt/rocm/rpp/include/rppi.h>
MIVisionX/amd_openvx_extensions/CMakeLists.txt:find_package(miopengemm PATHS /opt/rocm QUIET)
MIVisionX/amd_openvx_extensions/CMakeLists.txt:find_package(miopen     PATHS /opt/rocm QUIET)
MIVisionX/apps/bubble_pop/CMakeLists.txt:    include_directories (/opt/rocm/mivisionx/include)
MIVisionX/apps/bubble_pop/CMakeLists.txt:    set(OPENVX_LIBRARIES /opt/rocm/mivisionx/lib/libopenvx.so)
MIVisionX/apps/cloud_inference/README.md:The [server application](server_app#mivisionx-inference-server) is built along with MIVisionX and placed in `/opt/rocm/mivisionx/bin` when MIVisionX is installed. The server application has a command line interface.
MIVisionX/apps/cloud_inference/README.md:                        [-n     <model compiler path>            default:/opt/rocm/mivisionx/model_compiler/python]
MIVisionX/apps/cloud_inference/README.md:export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/apps/cloud_inference/README.md:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/apps/cloud_inference/server_app/arguments.cpp:          modelCompilerPath{ "/opt/rocm/mivisionx/model_compiler/python" },
MIVisionX/apps/cloud_inference/server_app/arguments.cpp:    printf("\t\t\t\t[-n \t<model compiler path>\t\t default:/opt/rocm/mivisionx/model_compiler/python]\n");
MIVisionX/apps/cloud_inference/server_app/README.md:                        [-n     <model compiler path>            default:/opt/rocm/mivisionx/model_compiler/python]
MIVisionX/apps/cloud_inference/server_app/README.md:% export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/apps/cloud_inference/server_app/README.md:% export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/apps/CMakeLists.txt:find_package(miopengemm PATHS /opt/rocm QUIET)
MIVisionX/apps/CMakeLists.txt:find_package(miopen     PATHS /opt/rocm QUIET)
MIVisionX/apps/dg_test/cmake/FindOpenCL.cmake:    /opt/rocm/opencl/include
MIVisionX/apps/dg_test/cmake/FindOpenCL.cmake:        /opt/rocm/opencl/lib
MIVisionX/apps/dg_test/CMakeLists.txt:include_directories(/opt/rocm/mivisionx/include)
MIVisionX/apps/dg_test/CMakeLists.txt:link_directories(/opt/rocm/mivisionx/lib)
MIVisionX/apps/image_augmentation/CMakeLists.txt:include_directories ( ${OpenCV_INCLUDE_DIRS}  /opt/rocm/mivisionx/include/)
MIVisionX/apps/image_augmentation/CMakeLists.txt:link_directories    (/opt/rocm/mivisionx/lib/)
MIVisionX/apps/image_augmentation/README.md:  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/apps/image_augmentation/README.md:  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/rpp/lib
MIVisionX/apps/mivisionx_inference_analyzer/mivisionx_inference_analyzer.py:    modelCompilerPath = '/opt/rocm/mivisionx/model_compiler/python'
MIVisionX/apps/mivisionx_inference_analyzer/mivisionx_inference_analyzer.py:    ADATPath= '/opt/rocm/mivisionx/toolkit/analysis_and_visualization/classification'
MIVisionX/apps/mivisionx_inference_analyzer/README.md:% export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/apps/mivisionx_inference_analyzer/README.md:% export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/apps/mivisionx_inference_analyzer/README.md:% runvx /opt/rocm/mivisionx/samples/gdf/canny.gdf
MIVisionX/apps/mivisionx_inference_analyzer/README.md:  * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/apps/mivisionx_inference_analyzer/README.md:  * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/apps/mivisionx_inference_analyzer/README.md:  * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/apps/mivisionx_openvx_classifier/cmake/FindOpenCL.cmake:    /opt/rocm/opencl/include
MIVisionX/apps/mivisionx_openvx_classifier/cmake/FindOpenCL.cmake:        /opt/rocm/opencl/lib
MIVisionX/apps/mivisionx_openvx_classifier/CMakeLists.txt:include_directories(/opt/rocm/mivisionx/include)
MIVisionX/apps/mivisionx_openvx_classifier/CMakeLists.txt:link_directories(/opt/rocm/mivisionx/lib)
MIVisionX/apps/mivisionx_openvx_classifier/README.md:**Note:** MIVisionX installs all the model compiler scripts in `/opt/rocm/mivisionx/model_compiler/python/` folder
MIVisionX/apps/mivisionx_openvx_classifier/README.md:   % python /opt/rocm/mivisionx/model_compiler/python/caffe_to_nnir.py <net.caffeModel> <nnirOutputFolder> --input-dims <n,c,h,w> [--verbose <0|1>]
MIVisionX/apps/mivisionx_openvx_classifier/README.md:           % python /opt/rocm/mivisionx/model_compiler/python/caffe_to_nnir.py VGG_ILSVRC_16_layers.caffemodel VGG16_NNIR --input-dims 1,3,224,224
MIVisionX/apps/mivisionx_openvx_classifier/README.md:   % python /opt/rocm/mivisionx/model_compiler/python/nnir_to_openvx.py <nnirModelFolder> <nnirModelOutputFolder>
MIVisionX/apps/mivisionx_openvx_classifier/README.md:           % python /opt/rocm/mivisionx/model_compiler/python/nnir_to_openvx.py VGG16_NNIR VGG16_OpenVX
MIVisionX/apps/mivisionx_openvx_classifier/README.md:   **Note:** MIVisionX installs all the model compiler scripts in `/opt/rocm/mivisionx/model_compiler/python/` folder
MIVisionX/apps/mivisionx_openvx_classifier/README.md:   % python /opt/rocm/mivisionx/model_compiler/python/caffe_to_nnir.py VGG_ILSVRC_16_layers.caffemodel VGG16_NNIR --input-dims 1,3,224,224
MIVisionX/apps/mivisionx_openvx_classifier/README.md:   % python /opt/rocm/mivisionx/model_compiler/python/nnir_to_openvx.py VGG16_NNIR VGG16_OpenVX
MIVisionX/apps/mivisionx_validation_tool/inference_setup.py:            self.modelCompilerPath = '/opt/rocm/mivisionx/model_compiler/python'
MIVisionX/apps/mivisionx_validation_tool/inference_setup.py:            self.ADATPath= '/opt/rocm/mivisionx/toolkit/analysis_and_visualization/classification'
MIVisionX/apps/mivisionx_validation_tool/rali_setup.py:sys.path.append('/opt/rocm/mivisionx/rali/python/')
MIVisionX/apps/mivisionx_validation_tool/README.md:     export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/apps/mivisionx_validation_tool/README.md:     export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib:/opt/rocm/rpp/lib
MIVisionX/apps/mivisionx_validation_tool/README.md:export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/apps/mivisionx_validation_tool/README.md:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib:/opt/rocm/rpp/lib
MIVisionX/apps/mivisionx_validation_tool/README.md:runvx /opt/rocm/mivisionx/samples/gdf/canny.gdf
MIVisionX/apps/mivisionx_validation_tool/README.md:     * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/apps/mivisionx_validation_tool/README.md:     export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/apps/mivisionx_validation_tool/README.md:     export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib:/opt/rocm/rpp/lib
MIVisionX/apps/mivisionx_validation_tool/README.md:     * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/apps/mivisionx_validation_tool/README.md:     export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/apps/mivisionx_validation_tool/README.md:     export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib:/opt/rocm/rpp/lib
MIVisionX/apps/mivisionx_validation_tool/README.md:     * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/apps/mivisionx_validation_tool/README.md:     export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/apps/mivisionx_validation_tool/README.md:     export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib:/opt/rocm/rpp/lib
MIVisionX/CMakeLists.txt:set(CMAKE_INSTALL_PREFIX /opt/rocm/mivisionx)
MIVisionX/model_compiler/python/nnir_to_clib.py:set(CMAKE_INSTALL_PREFIX /opt/rocm/mivisionx)
MIVisionX/model_compiler/python/nnir_to_clib.py:include_directories (/opt/rocm/mivisionx/include)
MIVisionX/model_compiler/python/nnir_to_clib.py:link_directories    (/opt/rocm/mivisionx/lib)
MIVisionX/model_compiler/python/nnir_to_clib.py:    /opt/rocm/opencl/include
MIVisionX/model_compiler/python/nnir_to_clib.py:        /opt/rocm/opencl/lib
MIVisionX/model_compiler/python/nnir_to_clib.py:include_directories (/opt/rocm/mivisionx/include ../)
MIVisionX/model_compiler/python/nnir_to_clib.py:link_directories    (/opt/rocm/mivisionx/lib)
MIVisionX/model_compiler/python/nnir_to_openvx.py:include_directories (/opt/rocm/mivisionx/include)
MIVisionX/model_compiler/python/nnir_to_openvx.py:link_directories    (/opt/rocm/mivisionx/lib)
MIVisionX/model_compiler/python/nnir_to_openvx.py:    /opt/rocm/opencl/include
MIVisionX/model_compiler/python/nnir_to_openvx.py:        /opt/rocm/opencl/lib
MIVisionX/model_compiler/README.md:**Note:** MIVisionX installs model compiler scripts at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/README.md:  * executables placed in `/opt/rocm/mivisionx/bin` and libraries in `/opt/rocm/mivisionx/lib`
MIVisionX/README.md:  * OpenVX and module header files into `/opt/rocm/mivisionx/include`
MIVisionX/README.md:  * model compiler, toolkit, & samples placed in `/opt/rocm/mivisionx`
MIVisionX/README.md:   * the installer will copy all executables into `/opt/rocm/mivisionx/bin` and libraries into `/opt/rocm/mivisionx/lib`
MIVisionX/README.md:   * the installer also copies all the OpenVX and module header files into `/opt/rocm/mivisionx/include` folder
MIVisionX/README.md:  * the installer will copy all executables into `/opt/rocm/mivisionx/bin` and libraries into `/opt/rocm/mivisionx/lib`
MIVisionX/README.md:  * the installer also copies all the OpenVX and OpenVX module header files into `/opt/rocm/mivisionx/include` folder
MIVisionX/README.md:* add the installed library path to LD_LIBRARY_PATH environment variable (default `/opt/rocm/mivisionx/lib`)
MIVisionX/README.md:* add the installed executable path to PATH environment variable (default `/opt/rocm/mivisionx/bin`)
MIVisionX/README.md:* The installer will copy all executables into `/opt/rocm/mivisionx/bin` and libraries into `/opt/rocm/mivisionx/lib`
MIVisionX/README.md:* The installer also copies all the OpenVX and OpenVX module header files into `/opt/rocm/mivisionx/include` folder
MIVisionX/README.md:* Apps, Samples, Documents, Model Compiler and Toolkit are placed into `/opt/rocm/mivisionx`
MIVisionX/README.md:  export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/README.md:  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/README.md:  runvx /opt/rocm/mivisionx/samples/gdf/canny.gdf
MIVisionX/README.md:export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/README.md:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/README.md:runvx /opt/rocm/mivisionx/samples/gdf/canny.gdf
MIVisionX/samples/c_samples/canny/CMakeLists.txt:include_directories (/opt/rocm/mivisionx/include)
MIVisionX/samples/c_samples/canny/CMakeLists.txt:link_directories    (/opt/rocm/mivisionx/lib)
MIVisionX/samples/c_samples/opencv_orb/CMakeLists.txt:include_directories (/opt/rocm/mivisionx/include)
MIVisionX/samples/c_samples/opencv_orb/CMakeLists.txt:link_directories    (/opt/rocm/mivisionx/lib)
MIVisionX/samples/inference/mv_objdetect/CMakeLists.txt:include_directories (/opt/rocm/mivisionx/include ${PROJECT_SOURCE_DIR} )
MIVisionX/samples/inference/mv_objdetect/CMakeLists.txt:link_directories    (/opt/rocm/mivisionx/lib ${PROJECT_SOURCE_DIR}/lib)
MIVisionX/samples/model_compiler_samples/cmake/FindOpenCL.cmake:    /opt/rocm/opencl/include
MIVisionX/samples/model_compiler_samples/cmake/FindOpenCL.cmake:        /opt/rocm/opencl/lib
MIVisionX/samples/model_compiler_samples/CMakeLists.txt:include_directories(/opt/rocm/mivisionx/include)
MIVisionX/samples/model_compiler_samples/CMakeLists.txt:link_directories(/opt/rocm/mivisionx/lib)
MIVisionX/samples/model_compiler_samples/README.md:% export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/samples/model_compiler_samples/README.md:% export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/samples/model_compiler_samples/README.md:% runvx /opt/rocm/mivisionx/samples/gdf/canny.gdf
MIVisionX/samples/model_compiler_samples/README.md:     **Note:** MIVisionX installs all the model compiler scripts in `/opt/rocm/mivisionx/model_compiler/python/` folder
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/caffe_to_nnir.py <net.caffeModel> <nnirOutputFolder> --input-dims <n,c,h,w> [--verbose <0|1>]
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/onnx_to_nnir.py <onnxModel> <nnirOutputFolder> [--input_dims n,c,h,w (optional)]
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/nnef_to_nnir.py <nnefInputFolder> <outputFolder>
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/nnir_to_openvx.py <nnirModelFolder> <nnirModelOutputFolder>
MIVisionX/samples/model_compiler_samples/README.md:     * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/onnx_to_nnir.py squeezenet/model.onnx squeezenet-nnir
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/nnir_to_openvx.py squeezenet-nnir/ squeezenet-openvx
MIVisionX/samples/model_compiler_samples/README.md:     * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/caffe_to_nnir.py yoloV2Tiny20.caffemodel yoloV2-nnir --input-dims 1,3,416,416
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/nnir_to_openvx.py yoloV2-nnir yoloV2-openvx
MIVisionX/samples/model_compiler_samples/README.md:     * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/nnef_to_nnir.py vgg16/ vgg16-nnir
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/nnir_to_openvx.py vgg16-nnir/ vgg16-openvx
MIVisionX/samples/model_compiler_samples/README.md:     * MIVisionX Model Compiler & Optimizer scripts are at `/opt/rocm/mivisionx/model_compiler/python/`
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/caffe_to_nnir.py VGG_ILSVRC_16_layers.caffemodel vgg16-nnir --input-dims 1,3,224,224
MIVisionX/samples/model_compiler_samples/README.md:     % python /opt/rocm/mivisionx/model_compiler/python/nnir_to_openvx.py vgg16-nnir vgg16-openvx
MIVisionX/samples/README.md:export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/samples/README.md:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/samples/README.md:export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/samples/README.md:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/utilities/inference_generator/README.md:% export PATH=$PATH:/opt/rocm/mivisionx/bin
MIVisionX/utilities/inference_generator/README.md:% export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/mivisionx/lib
MIVisionX/utilities/inference_generator/src/caffe2openvx.cpp:    ofsCodeM << "include_directories (/opt/rocm/mivisionx/include)" << std::endl;
MIVisionX/utilities/inference_generator/src/caffe2openvx.cpp:    ofsCodeM << "link_directories    (/opt/rocm/mivisionx/lib)" << std::endl;
MIVisionX/utilities/inference_generator/src/caffe2openvx.cpp:    ofsCodeD << "/opt/rocm/opencl/include" << std::endl;
MIVisionX/utilities/inference_generator/src/caffe2openvx.cpp:    ofsCodeD << "       /opt/rocm/opencl/lib" << std::endl;
MIVisionX/utilities/inference_generator/src/nnef2openvx.cpp:             << "include_directories (/opt/rocm/mivisionx/include)" << std::endl
MIVisionX/utilities/inference_generator/src/nnef2openvx.cpp:             << "link_directories    (/opt/rocm/mivisionx/lib)" << std::endl
MIVisionX/utilities/mv_deploy/CMakeLists.txt:include_directories (/opt/rocm/mivisionx/include ${PROJECT_SOURCE_DIR} )
MIVisionX/utilities/mv_deploy/mv_compile.cpp:        std::string compiler_path = "/opt/rocm/mivisionx/model_compiler";       // default
MIVisionX/utilities/rali_performance_tests/CMakeLists.txt:include_directories ( ${OpenCV_INCLUDE_DIRS}  /opt/rocm/mivisionx/include/)
MIVisionX/utilities/rali_performance_tests/CMakeLists.txt:link_directories    (/opt/rocm/mivisionx/lib/)
MIVisionX/utilities/rali_performance_tests_with_depth/CMakeLists.txt:include_directories ( ${OpenCV_INCLUDE_DIRS}  /opt/rocm/mivisionx/include/)
MIVisionX/utilities/rali_performance_tests_with_depth/CMakeLists.txt:link_directories    (/opt/rocm/mivisionx/lib/)
MIVisionX/utilities/rali_unittests/CMakeLists.txt:include_directories ( ${OpenCV_INCLUDE_DIRS}  /opt/rocm/mivisionx/include/)
MIVisionX/utilities/rali_unittests/CMakeLists.txt:link_directories    (/opt/rocm/mivisionx/lib/)
kiritigowda commented 4 years ago

279 fixes most of the hardcoded issues. The only ones left shown below. Need another PR to fix them.

Use variable ROCM_PATH

./rali/pybind_python/CMakeLists.txt:link_directories(/opt/rocm/mivisionx/lib/
./rali/pybind_python/CMakeLists.txt:                /opt/rocm/rpp/lib)
./rali/pybind_python/CMakeLists.txt:                      /opt/rocm/mivisionx/include/)
./apps/mivisionx_openvx_classifier/CMakeLists.txt:include_directories(/opt/rocm/mivisionx/include)
./apps/mivisionx_openvx_classifier/CMakeLists.txt:link_directories(/opt/rocm/mivisionx/lib)
./apps/mivisionx_openvx_classifier/cmake/FindOpenCL.cmake:    /opt/rocm/opencl/include
./apps/mivisionx_openvx_classifier/cmake/FindOpenCL.cmake:        /opt/rocm/opencl/lib
./apps/bubble_pop/CMakeLists.txt:    include_directories (/opt/rocm/mivisionx/include)
./apps/bubble_pop/CMakeLists.txt:    set(OPENVX_LIBRARIES /opt/rocm/mivisionx/lib/libopenvx.so)
./apps/image_augmentation/CMakeLists.txt:include_directories ( ${OpenCV_INCLUDE_DIRS}  /opt/rocm/mivisionx/include/)
./apps/image_augmentation/CMakeLists.txt:link_directories    (/opt/rocm/mivisionx/lib/)
./amd_openvx/cmake/FindAMDRPP.cmake:    /opt/rocm/rpp/include
./amd_openvx/cmake/FindAMDRPP.cmake:    /opt/rocm/rpp/lib
./amd_openvx/cmake/FindAMDRPP.cmake:    /opt/rocm/rpp/lib
./amd_openvx/cmake/FindOpenCL.cmake:    /opt/rocm/opencl/include
./amd_openvx/cmake/FindOpenCL.cmake:        /opt/rocm/opencl/lib
./amd_openvx_extensions/amd_nn/CMakeLists.txt:find_package(miopengemm PATHS /opt/rocm REQUIRED)
./amd_openvx_extensions/amd_nn/CMakeLists.txt:find_package(miopen     PATHS /opt/rocm REQUIRED)
./amd_openvx_extensions/CMakeLists.txt:find_package(miopengemm PATHS /opt/rocm QUIET)
./amd_openvx_extensions/CMakeLists.txt:find_package(miopen     PATHS /opt/rocm QUIET)
kiritigowda commented 4 years ago

284 fixes all the critical hard coded paths.

kiritigowda commented 4 years ago

All critical ROCm path has been fixed. The ROCm path in readme can remain. @LakshmiKumar23 I am closing this bug, if you come across any hardcoded ROCm path let us review it.