SWDEV-558845 - Support image in rocr on Windows (#1582)

Enable image build in Windows.
Remove some useless codes that fail building in Windows.
Some minor improvement.
Temporarily exclude mipmap test files.
Prevent negative tests affect some tests.
Move some catch info log codes into failed cases.
Esse commit está contido em:
MachineTom
2025-11-05 09:33:41 -05:00
commit de GitHub
commit 3b1c0c3464
44 arquivos alterados com 577 adições e 531 exclusões
@@ -289,7 +289,9 @@ void SurfaceGpuList(std::vector<int32_t>& gpu_list, bool xnack_mode, bool enable
core::g_use_interrupt_wait = false;
if (core::Runtime::runtime_singleton_->thunkLoader()->IsDXG()) {
core::Runtime::runtime_singleton_->flag().disable_image(true);
#if defined(_WIN32)
core::Runtime::runtime_singleton_->flag().disable_image(false);
if (node_prop.Capability2.ui32.AqlEmulationPm4_)
#endif
{
@@ -297,7 +299,6 @@ void SurfaceGpuList(std::vector<int32_t>& gpu_list, bool xnack_mode, bool enable
core::Runtime::runtime_singleton_->flag().disable_scratch();
}
core::Runtime::runtime_singleton_->flag().set_sdma(false, false);
core::Runtime::runtime_singleton_->flag().disable_image(true);
core::Runtime::runtime_singleton_->flag().disable_xnack();
core::Runtime::runtime_singleton_->flag().disable_fine_grain_pcie();
core::Runtime::runtime_singleton_->flag().set_ipc_mode_legacy(false);