Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

genx/la: histogram cm kernel compiled with warnings #1119

Open
dvrogozh opened this issue Jan 17, 2019 · 0 comments
Open

genx/la: histogram cm kernel compiled with warnings #1119

dvrogozh opened this issue Jan 17, 2019 · 0 comments
Assignees
Labels

Comments

@dvrogozh
Copy link
Contributor

There are warnings during histogram kernel compilation:

[ 33%] Generating genx_histogram_gen9.isa
/home/dvrogozh/git/github/MediaSDK/_studio/mfx_lib/genx/h264_encode/src/genx_histogram.cpp(65,9):  warning: 'cm_slm_write4<unsigned int, 16, 64>' is deprecated: please use 'cm_slm_write4' with 'uint' as the
      element offset type! [-Wdeprecated-declarations]
        cm_slm_write4(SLM, vOffsets, vUI64, SLM_ABGR_ENABLE);
        ^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_dataport.h(984,1):  note: 'cm_slm_write4<unsigned int, 16, 64>' has been explicitly marked deprecated here
CM_DEPRECATED(
^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_common.h(494,43):  note: expanded from macro 'CM_DEPRECATED'
#define CM_DEPRECATED(Msg) __attribute__((deprecated(Msg)))
                                          ^
/home/dvrogozh/git/github/MediaSDK/_studio/mfx_lib/genx/h264_encode/src/genx_histogram.cpp(121,9):  warning: 'cm_slm_read4<unsigned int, 16, 64>' is deprecated: please use 'cm_slm_read4' with 'uint' as the
      element offset type! [-Wdeprecated-declarations]
        cm_slm_read4(SLM, vOffsets, vUI64, SLM_ABGR_ENABLE);
        ^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_dataport.h(938,1):  note: 'cm_slm_read4<unsigned int, 16, 64>' has been explicitly marked deprecated here
CM_DEPRECATED(
^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_common.h(494,43):  note: expanded from macro 'CM_DEPRECATED'
#define CM_DEPRECATED(Msg) __attribute__((deprecated(Msg)))
                                          ^
/home/dvrogozh/git/github/MediaSDK/_studio/mfx_lib/genx/h264_encode/src/genx_histogram.cpp(132,13):  warning: 'write<unsigned int, 8>' is deprecated: use 'write_atomic' instead! [-Wdeprecated-declarations]
            write<uint, 8>(OUTBUF, ATOMIC_ADD, i + j, vOffsets8, vUI8, 0);
            ^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_atomic.h(157,5):  note: 'write<unsigned int, 8>' has been explicitly marked deprecated here
    CM_DEPRECATED("use 'write_atomic' instead!");
    ^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_common.h(494,43):  note: expanded from macro 'CM_DEPRECATED'
#define CM_DEPRECATED(Msg) __attribute__((deprecated(Msg)))
                                          ^
/home/dvrogozh/git/github/MediaSDK/_studio/mfx_lib/genx/h264_encode/src/genx_histogram.cpp(177,9):  warning: 'cm_slm_write4<unsigned int, 16, 64>' is deprecated: please use 'cm_slm_write4' with 'uint' as the
      element offset type! [-Wdeprecated-declarations]
        cm_slm_write4(SLM, vOffsets, vUI64, SLM_ABGR_ENABLE);
        ^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_dataport.h(984,1):  note: 'cm_slm_write4<unsigned int, 16, 64>' has been explicitly marked deprecated here
CM_DEPRECATED(
^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_common.h(494,43):  note: expanded from macro 'CM_DEPRECATED'
#define CM_DEPRECATED(Msg) __attribute__((deprecated(Msg)))
                                          ^
/home/dvrogozh/git/github/MediaSDK/_studio/mfx_lib/genx/h264_encode/src/genx_histogram.cpp(234,9):  warning: 'cm_slm_read4<unsigned int, 16, 64>' is deprecated: please use 'cm_slm_read4' with 'uint' as the
      element offset type! [-Wdeprecated-declarations]
        cm_slm_read4(SLM, vOffsets, vUI64, SLM_ABGR_ENABLE);
        ^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_dataport.h(938,1):  note: 'cm_slm_read4<unsigned int, 16, 64>' has been explicitly marked deprecated here
CM_DEPRECATED(
^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_common.h(494,43):  note: expanded from macro 'CM_DEPRECATED'
#define CM_DEPRECATED(Msg) __attribute__((deprecated(Msg)))
                                          ^
/home/dvrogozh/git/github/MediaSDK/_studio/mfx_lib/genx/h264_encode/src/genx_histogram.cpp(246,13):  warning: 'write<unsigned int, 8>' is deprecated: use 'write_atomic' instead! [-Wdeprecated-declarations]
            write<uint, 8>(OUTBUF, ATOMIC_ADD, i + j, vOffsets8, vUI8, 0);
            ^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_atomic.h(157,5):  note: 'write<unsigned int, 8>' has been explicitly marked deprecated here
    CM_DEPRECATED("use 'write_atomic' instead!");
    ^
/home/dvrogozh/git/github/cmc/bin/../include/cm/cm_common.h(494,43):  note: expanded from macro 'CM_DEPRECATED'
#define CM_DEPRECATED(Msg) __attribute__((deprecated(Msg)))
                                          ^
6 warnings generated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants