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 Warnings #1

Closed kiritigowda closed 4 years ago

kiritigowda commented 5 years ago
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OPENCL: /opt/rocm/opencl/lib/x86_64/libOpenCL.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kiriti/mivisionx-deps/rpp/build
Scanning dependencies of target imgaug-opencl
[ 10%] Building CXX object src/imgaug/cl/CMakeFiles/imgaug-opencl.dir/cl_image_augmentations.cpp.o
[ 20%] Building CXX object src/imgaug/cl/CMakeFiles/imgaug-opencl.dir/cl_geometry_transforms.cpp.o
[ 40%] Building CXX object src/imgaug/cl/CMakeFiles/imgaug-opencl.dir/cl_color_model_conversions.cpp.o
[ 40%] Building CXX object src/imgaug/cl/CMakeFiles/imgaug-opencl.dir/cl_utilities.cpp.o
clang-9: clang-9: clang-9: warning: warningwarning-lm: 'linker' input unused [-Wunused-command-line-argument]: : 
-lm: 'linker' input unused [-Wunused-command-line-argument]-lm: 'linker' input unused [-Wunused-command-line-argument]

clang-9: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21In file included from : /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1warning:
: In file included from In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:'clCreateSampler' is deprecated [-Wdeprecated-declarations]:10In file included from 1:
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp
:
:In file included from /opt/rocm/opencl/include/CL/cl.hpp1/home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp::
:4659In file included from 10:/home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:
21::10 :
/opt/rocm/opencl/include/CL/cl.hppwarning/opt/rocm/opencl/include/CL/cl.hpp:: :46594659:21:'clCreateSampler' is deprecated [-Wdeprecated-declarations]:21 :
 warning: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]'clCreateSampler' is deprecated [-Wdeprecated-declarations]

        object_ = ::clCreateSampler(        object_ = ::clCreateSampler(

                    ^                    ^

        object_ = ::clCreateSampler(        object_ = ::clCreateSampler(

                    ^
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
/opt/rocm/opencl/include/CL/cl.h:1375:56: note:             #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
/opt/rocm/opencl/include/CL/cl.h'clCreateSampler' has been explicitly marked deprecated here:1375
:56: /opt/rocm/opencl/include/CL/cl.hnote::                 cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;1375
:'clCreateSampler' has been explicitly marked deprecated here56                                                       ^:

 note: 'clCreateSampler' has been explicitly marked deprecated here/opt/rocm/opencl/include/CL/cl_platform.h:
115:74: note:                 cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'

                                                       ^                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;

                                                       ^
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))/opt/rocm/opencl/include/CL/cl_platform.h
:115                                                                         ^/opt/rocm/opencl/include/CL/cl_platform.h::
11574::74 : note: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp
:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning:         object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]

                    ^
/opt/rocm/opencl/include/CL/cl.h:        object_ = ::clCreateCommandQueue(1367
:72                    ^:
 note: 'clCreateCommandQueue' has been explicitly marked deprecated here/opt/rocm/opencl/include/CL/cl.h
:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;:
74:                                                                       ^ 
note: /opt/rocm/opencl/include/CL/cl_platform.hexpanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED':115
:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:127:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:201:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:250:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:292:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:416:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:483:9: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
        gDim3[2] = 1;
        ^     ~
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:480:9: note: array 'gDim3' declared here
        size_t gDim3[2];
        ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:45:5: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:256:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:262:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:276:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
5 warnings generated.
11 warnings generated.
9 warnings generated.
6 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: In file included from 'clCreateSampler' is deprecated [-Wdeprecated-declarations]/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:
1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;

                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;: 
expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'                                                       ^

/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note:             #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'                                                                         ^

            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp::11:
:
In file included from In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp/home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp::1010:
:
/opt/rocm/opencl/include/CL/cl.hpp/opt/rocm/opencl/include/CL/cl.hpp::55195519::2525::  warningwarning: : 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]

            object_ = ::clCreateCommandQueue(            object_ = ::clCreateCommandQueue(

                        ^                        ^

/opt/rocm/opencl/include/CL/cl.h/opt/rocm/opencl/include/CL/cl.h::13671367::7272::  notenote: : 'clCreateCommandQueue' has been explicitly marked deprecated here'clCreateCommandQueue' has been explicitly marked deprecated here

                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;

                                                                       ^                                                                       ^

/opt/rocm/opencl/include/CL/cl_platform.h/opt/rocm/opencl/include/CL/cl_platform.h::115115::7474::  notenote: : expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'

            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))

                                                                         ^                                                                         ^

In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cppIn file included from :/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp1::
1In file included from :
/home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hppIn file included from :/home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp10::
10:
/opt/rocm/opencl/include/CL/cl.hpp:/opt/rocm/opencl/include/CL/cl.hpp5550::555021::21 : warning: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]

        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);                    ^

                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:/opt/rocm/opencl/include/CL/cl.h72::1367 :72:note : 'clCreateCommandQueue' has been explicitly marked deprecated herenote: 
'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
/opt/rocm/opencl/include/CL/cl_platform.h                                                                       ^:
115:74:/opt/rocm/opencl/include/CL/cl_platform.h :115:note74: : expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hppIn file included from :/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp10::
1:
/opt/rocm/opencl/include/CL/cl.hppIn file included from :/home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp5567::1021:
: /opt/rocm/opencl/include/CL/cl.hpp:5567warning:: 21: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]        object_ = ::clCreateCommandQueue(

                    ^
        object_ = ::clCreateCommandQueue(
/opt/rocm/opencl/include/CL/cl.h:                    ^1367
:72: /opt/rocm/opencl/include/CL/cl.h:note1367: :72'clCreateCommandQueue' has been explicitly marked deprecated here: 
note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
/opt/rocm/opencl/include/CL/cl_platform.h:                                                                       ^115
:74: /opt/rocm/opencl/include/CL/cl_platform.hnote:: 115:expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'74:
 note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^In file included from 
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:/opt/rocm/opencl/include/CL/cl_platform.h10::
115:74/opt/rocm/opencl/include/CL/cl.hpp:: 6371:15note::  expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'warning
: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))

              ^                                                                         ^

/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:127:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:201:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:250:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:483:9: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
        gDim3[2] = 1;
        ^     ~
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:480:9: note: array 'gDim3' declared here
        size_t gDim3[2];
        ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:292:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:416:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:45:5: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:256:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:262:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:276:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
5 warnings generated.
11 warnings generated.
9 warnings generated.
6 warnings generated.
[ 50%] Linking CXX static library libimgaug-opencl.a
[ 50%] Built target imgaug-opencl
Scanning dependencies of target imgaug
[ 60%] Building CXX object src/imgaug/CMakeFiles/imgaug.dir/rppi_geometry_transforms.cpp.o
[ 70%] Building CXX object src/imgaug/CMakeFiles/imgaug.dir/rppi_image_augmentations.cpp.o
[ 80%] Building CXX object src/imgaug/CMakeFiles/imgaug.dir/rppi_color_model_conversions.cpp.o
clang-9: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
clang-9: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
clang-9: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cppwarning:: 9:
In file included from 'clCreateSampler' is deprecated [-Wdeprecated-declarations]/home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:
10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning:         object_ = ::clCreateSampler(
'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]                    ^

            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: /opt/rocm/opencl/include/CL/cl.h:note1375: :56expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED': 
note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))

                                                       ^                                                                         ^

/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:18:
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cpu/host_image_augmentations.hpp:654:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:390:3: note: in instantiation of function template specialization 'rain_host<unsigned char>' requested here
         rain_host<Rpp8u>(static_cast<Rpp8u*>(srcPtr),
         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:18:
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cpu/host_image_augmentations.hpp:414:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:443:3: note: in instantiation of function template specialization 'snow_host<unsigned char, unsigned char>' requested here
         snow_host<Rpp8u>(static_cast<Rpp8u*>(srcPtr),
         ^
5 warnings generated.
7 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:18:
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cpu/host_image_augmentations.hpp:654:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:390:3: note: in instantiation of function template specialization 'rain_host<unsigned char>' requested here
         rain_host<Rpp8u>(static_cast<Rpp8u*>(srcPtr),
         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:18:
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cpu/host_image_augmentations.hpp:414:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:443:3: note: in instantiation of function template specialization 'snow_host<unsigned char, unsigned char>' requested here
         snow_host<Rpp8u>(static_cast<Rpp8u*>(srcPtr),
         ^
5 warnings generated.
7 warnings generated.
[ 90%] Linking CXX static library libimgaug.a
[ 90%] Built target imgaug
Scanning dependencies of target amd_rpp
[100%] Linking CXX shared library libamd_rpp.so
[100%] Built target amd_rpp
[ 50%] Built target imgaug-opencl
[ 90%] Built target imgaug
[100%] Built target amd_rpp
kiritigowda commented 4 years ago

Here is the latest warnings

Scanning dependencies of target imgaug-opencl
[ 10%] Building CXX object src/imgaug/cl/CMakeFiles/imgaug-opencl.dir/cl_color_model_conversions.cpp.o
clang-10: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_color_model_conversions.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
[ 20%] Building CXX object src/imgaug/cl/CMakeFiles/imgaug-opencl.dir/cl_geometry_transforms.cpp.o
clang-10: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_geometry_transforms.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
[ 30%] Building CXX object src/imgaug/cl/CMakeFiles/imgaug-opencl.dir/cl_image_augmentations.cpp.o
clang-10: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:483:9: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
        gDim3[2] = 1;
        ^     ~
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:480:9: note: array 'gDim3' declared here
        size_t gDim3[2];
        ^
6 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:483:9: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
        gDim3[2] = 1;
        ^     ~
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_image_augmentations.cpp:480:9: note: array 'gDim3' declared here
        size_t gDim3[2];
        ^
6 warnings generated.
[ 40%] Building CXX object src/imgaug/cl/CMakeFiles/imgaug-opencl.dir/cl_utilities.cpp.o
clang-10: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:257:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:263:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:277:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
8 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:1:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:257:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:263:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
/home/kiriti/mivisionx-deps/rpp/src/imgaug/cl/cl_utilities.cpp:277:20: warning: implicit conversion of NULL constant to 'cl_int' (aka 'int') [-Wnull-conversion]
            return NULL;
            ~~~~~~ ^~~~
                   0
8 warnings generated.
[ 50%] Linking CXX static library libimgaug-opencl.a
[ 50%] Built target imgaug-opencl
Scanning dependencies of target imgaug
[ 60%] Building CXX object src/imgaug/CMakeFiles/imgaug.dir/rppi_color_model_conversions.cpp.o
clang-10: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_color_model_conversions.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
[ 70%] Building CXX object src/imgaug/CMakeFiles/imgaug.dir/rppi_geometry_transforms.cpp.o
clang-10: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_geometry_transforms.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
[ 80%] Building CXX object src/imgaug/CMakeFiles/imgaug.dir/rppi_image_augmentations.cpp.o
clang-10: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:4659:21: warning: 'clCreateSampler' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateSampler(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1375:56: note: 'clCreateSampler' has been explicitly marked deprecated here
                cl_int *            /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5519:25: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
            object_ = ::clCreateCommandQueue(
                        ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5550:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:5567:21: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations]
        object_ = ::clCreateCommandQueue(
                    ^
/opt/rocm/opencl/include/CL/cl.h:1367:72: note: 'clCreateCommandQueue' has been explicitly marked deprecated here
                     cl_int *                       /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                                                       ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
In file included from /home/kiriti/mivisionx-deps/rpp/src/imgaug/rppi_image_augmentations.cpp:9:
In file included from /home/kiriti/mivisionx-deps/rpp/src/include/cl/rpp_cl_common.hpp:10:
/opt/rocm/opencl/include/CL/cl.hpp:6371:15: warning: 'clEnqueueTask' is deprecated [-Wdeprecated-declarations]
            ::clEnqueueTask(
              ^
/opt/rocm/opencl/include/CL/cl.h:1382:46: note: 'clEnqueueTask' has been explicitly marked deprecated here
              cl_event *        /* event */) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED;
                                             ^
/opt/rocm/opencl/include/CL/cl_platform.h:115:74: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED'
            #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated))
                                                                         ^
5 warnings generated.
[ 90%] Linking CXX static library libimgaug.a
[ 90%] Built target imgaug
[100%] Linking CXX shared library libamd_rpp.so
[100%] Built target amd_rpp
Install the project...
-- Install configuration: ""
-- Installing: /opt/rocm/rpp/lib/libamd_rpp.so
-- Set runtime path of "/opt/rocm/rpp/lib/libamd_rpp.so" to ""
-- Installing: /opt/rocm/rpp//include
-- Installing: /opt/rocm/rpp//include/rppi_image_augmentations.h
-- Installing: /opt/rocm/rpp//include/rppcore.h
-- Installing: /opt/rocm/rpp//include/rppdefs.h
-- Installing: /opt/rocm/rpp//include/rppi.h
-- Installing: /opt/rocm/rpp//include/rppi_geometry_transforms.h
-- Installing: /opt/rocm/rpp//include/rppi_color_model_conversions.h
-- Installing: /opt/rocm/rpp//include/rppversion.h
-- Installing: /opt/rocm/rpp//include/rpp.h
kiritigowda commented 4 years ago

RPP Warnings Fixed

make -j8
Scanning dependencies of target addkernels
[  2%] Building CXX object addkernels/CMakeFiles/addkernels.dir/include_inliner.cpp.o
[  4%] Building CXX object addkernels/CMakeFiles/addkernels.dir/addkernels.cpp.o
[  6%] Linking CXX executable addkernels
[  6%] Built target addkernels
[  8%] Inlining Rpp kernels
[ 10%] Inlining Rpp HIP kernel includes
Scanning dependencies of target modules
[ 15%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_computer_vision.cpp.o
[ 17%] Building CXX object src/modules/CMakeFiles/modules.dir/logger.cpp.o
[ 17%] Building CXX object src/modules/CMakeFiles/modules.dir/md5.cpp.o
[ 19%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_filter_operations.cpp.o
[ 21%] Building CXX object src/modules/CMakeFiles/modules.dir/binary_cache.cpp.o
[ 23%] Building CXX object src/modules/CMakeFiles/modules.dir/kernel_cache.cpp.o
[ 26%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_arithmetic_operations.cpp.o
[ 28%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_color_model_conversions.cpp.o
[ 30%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_fused_functions.cpp.o
[ 32%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_geometry_transforms.cpp.o
[ 34%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_image_augmentations.cpp.o
[ 36%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_logical_operations.cpp.o
[ 39%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_morphological_operations.cpp.o
[ 41%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_statistical_operations.cpp.o
[ 43%] Building CXX object src/modules/CMakeFiles/modules.dir/rppi_utilities.cpp.o
[ 45%] Building CXX object src/modules/CMakeFiles/modules.dir/kernel.cpp.o
[ 47%] Building CXX object src/modules/CMakeFiles/modules.dir/kernel_includes.cpp.o
[ 50%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_arithmetic_operations.cpp.o
[ 52%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_color_model_conversions.cpp.o
[ 54%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_computer_vision.cpp.o
[ 56%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_filter_functions.cpp.o
[ 58%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_fused_functions.cpp.o
[ 60%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_geometry_transforms.cpp.o
[ 63%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_image_augmentations.cpp.o
[ 65%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_logical_operations.cpp.o
[ 67%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_morphological_transforms.cpp.o
[ 69%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_statistical_operations.cpp.o
[ 71%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_utilities.cpp.o
[ 73%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/cl_vision.cpp.o
[ 76%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/clhelper.cpp.o
[ 78%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/gcn_asm_utils.cpp.o
[ 80%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/handle_api.cpp.o
[ 82%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/handleocl.cpp.o
[ 84%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/hip_build_utils.cpp.o
[ 86%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/load_file.cpp.o
[ 89%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/ocl_kernel.cpp.o
[ 91%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/oclerrors.cpp.o
[ 93%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/temp_file.cpp.o
[ 95%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/tmp_dir.cpp.o
[ 97%] Building CXX object src/modules/CMakeFiles/modules.dir/cl/utilocl.cpp.o
[ 97%] Built target modules
Scanning dependencies of target amd_rpp
[100%] Linking CXX shared library libamd_rpp.so
[100%] Built target amd_rpp