ROCm / rpp

AMD ROCm Performance Primitives (RPP) library is a comprehensive high-performance computer vision library for AMD processors with HIP/OpenCL/CPU back-ends.
https://rocm.docs.amd.com/projects/rpp/en/latest/
MIT License
55 stars 40 forks source link

RPP Crop and Patch on HOST and HIP #314

Closed r-abishek closed 7 months ago

r-abishek commented 8 months ago
LakshmiKumar23 commented 7 months ago

@r-abishek Tried to run the python runTests.py with case 33. I do not see any output. Same issue with HIP and HOST


svcbuild@Legolas:~/work/rpp/utilities/test_suite/HIP$ python3 runTests.py --case_list 33
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is Clang 14.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Failed
-- Using Turbo JPEG --
        Libraries:/lib/libturbojpeg.so
        Includes:/usr/include
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp=libomp (found version "5.0")
-- Found OpenMP: TRUE (found version "4.5")
-- test_suite/HIP set to build with rpp and TurboJpeg
-- test_suite/HIP set to build with rpp, hip and OpenCV
-- Warning: libniftiio must be installed to install test_suite/HIP/Tensor_voxel_hip successfully!
-- Configuring done
-- Generating done
-- Build files have been written to: /home/svcbuild/work/rpp/utilities/test_suite/HIP/build
[ 50%] Building CXX object CMakeFiles/Tensor_hip.dir/Tensor_hip.cpp.o
[100%] Linking CXX executable Tensor_hip
[100%] Built target Tensor_hip

##########################################################################################
Running all layout Inputs...
##########################################################################################
r-abishek commented 7 months ago

@r-abishek Tried to run the python runTests.py with case 33. I do not see any output. Same issue with HIP and HOST


svcbuild@Legolas:~/work/rpp/utilities/test_suite/HIP$ python3 runTests.py --case_list 33
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is Clang 14.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Failed
-- Using Turbo JPEG --
        Libraries:/lib/libturbojpeg.so
        Includes:/usr/include
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp=libomp (found version "5.0")
-- Found OpenMP: TRUE (found version "4.5")
-- test_suite/HIP set to build with rpp and TurboJpeg
-- test_suite/HIP set to build with rpp, hip and OpenCV
-- Warning: libniftiio must be installed to install test_suite/HIP/Tensor_voxel_hip successfully!
-- Configuring done
-- Generating done
-- Build files have been written to: /home/svcbuild/work/rpp/utilities/test_suite/HIP/build
[ 50%] Building CXX object CMakeFiles/Tensor_hip.dir/Tensor_hip.cpp.o
[100%] Linking CXX executable Tensor_hip
[100%] Built target Tensor_hip

##########################################################################################
Running all layout Inputs...
##########################################################################################

@LakshmiKumar23 This very much seems like a hang / machine dependent issue since we are able to run it. Is it replicable?

This command should work: python3 runTests.py --case_list 33 --batch_size 3

rrawther commented 7 months ago

@LakshmiKumar23 Can you please review this PR?

rrawther commented 7 months ago

@r-abishek Can you please resolve conflicts in this PR