Skip to content

[GSD-13097] Build error: 'struct RTDispatchGlobals' has no member named 'syncNumDSSRTStacks' #960

Description

@bl4ckb0ne

Pre-submission Checklist

  • I have searched existing issues and discussions for similar questions
  • I have checked the documentation and FAQ / programmers-guide

Question Category

Build / Compilation

Other Category

No response

Question

I am trying to build the latest release (26.27.39122.11) on Alpinelinux and I am experiencing this error during the compilation

ninja: job failed with status 1: /usr/bin/ccache /usr/lib/ccache/bin/c++ @shared/source/CMakeFiles/neo_shared.dir/release_helper/release_helper_cri.cpp.o.rsp -MD -MT shared/source/CMakeFiles/neo_shared.dir/release_helper/release_helper_cri.cpp.o -MF shared/source/CMakeFiles/neo_shared.dir/release_helper/release_helper_cri.cpp.o.d -o shared/source/CMakeFiles/neo_shared.dir/release_helper/release_helper_cri.cpp.o -c /home/simon/aports/community/intel-compute-runtime/src/compute-runtime-26.27.39122.11/shared/source/release_helper/release_helper_cri.cpp
In file included from /home/simon/aports/community/intel-compute-runtime/src/compute-runtime-26.27.39122.11/shared/source/release_helper/release_helper_cri.cpp:75:
/home/simon/aports/community/intel-compute-runtime/src/compute-runtime-26.27.39122.11/shared/source/release_helper/release_helper_common_xe3p.inl: In member function 'void NEO::ReleaseHelperHw<releaseType>::adjustRTDispatchGlobals(RTDispatchGlobals&, uint32_t) const [with NEO::ReleaseType releaseType = NEO::ReleaseType::release3511; uint32_t = unsigned int]':
/home/simon/aports/community/intel-compute-runtime/src/compute-runtime-26.27.39122.11/shared/source/release_helper/release_helper_common_xe3p.inl:19:23: error: 'struct RTDispatchGlobals' has no member named 'syncNumDSSRTStacks'; did you mean 'numDSSRTStacks'?
   19 |     rtDispatchGlobals.syncNumDSSRTStacks = std::min(rtStacksPerDss, maxSyncNumDSSRTStacks);
      |                       ^~~~~~~~~~~~~~~~~~
      |                       numDSSRTStacks
ninja: job failed with status 1: /usr/bin/ccache /usr/lib/ccache/bin/c++ @shared/source/CMakeFiles/neo_shared.dir/release_helper/release_helper_nvl_p.cpp.o.rsp -MD -MT shared/source/CMakeFiles/neo_shared.dir/release_helper/release_helper_nvl_p.cpp.o -MF shared/source/CMakeFiles/neo_shared.dir/release_helper/release_helper_nvl_p.cpp.o.d -o shared/source/CMakeFiles/neo_shared.dir/release_helper/release_helper_nvl_p.cpp.o -c /home/simon/aports/community/intel-compute-runtime/src/compute-runtime-26.27.39122.11/shared/source/release_helper/release_helper_nvl_p.cpp
In file included from /home/simon/aports/community/intel-compute-runtime/src/compute-runtime-26.27.39122.11/shared/source/release_helper/release_helper_nvl_p.cpp:15:
/home/simon/aports/community/intel-compute-runtime/src/compute-runtime-26.27.39122.11/shared/source/release_helper/release_helper_common_xe3p.inl: In member function 'void NEO::ReleaseHelperHw<releaseType>::adjustRTDispatchGlobals(RTDispatchGlobals&, uint32_t) const [with NEO::ReleaseType releaseType = NEO::ReleaseType::release3510; uint32_t = unsigned int]':
/home/simon/aports/community/intel-compute-runtime/src/compute-runtime-26.27.39122.11/shared/source/release_helper/release_helper_common_xe3p.inl:19:23: error: 'struct RTDispatchGlobals' has no member named 'syncNumDSSRTStacks'; did you mean 'numDSSRTStacks'?
   19 |     rtDispatchGlobals.syncNumDSSRTStacks = std::min(rtStacksPerDss, maxSyncNumDSSRTStacks);
      |                       ^~~~~~~~~~~~~~~~~~
      |                       numDSSRTStacks
ninja: subcommands failed

I tried to fix the issue but could not locate where struct RTDispatchGlobals was defined.

I am building with the following CMake options

        cmake -B build -G Ninja \
                -DCMAKE_BUILD_TYPE=Release \
                -DCMAKE_INSTALL_PREFIX=/usr \
                -DCMAKE_INSTALL_LIBDIR=lib \
                -DNEO_DISABLE_LD_GOLD=ON \
                -DNEO_SKIP_UNIT_TESTS=ON 
                .

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs FeedbackWaiting for additional information from reporterType: QuestionGeneral question about usage, functionality, or best practices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions