SWDEV-531711 - Report correct error code based on device failure. (#286)

[ROCm/clr commit: f5b8db33f1]
Tento commit je obsažen v:
Jayaprakash, Karthik
2025-05-17 06:33:13 -04:00
odevzdal GitHub
rodič dc39d67017
revize 4ea2d9a5ee
8 změnil soubory, kde provedl 112 přidání a 20 odebrání
+1 -1
Zobrazit soubor
@@ -336,7 +336,7 @@ Context* Device::glb_ctx_ = nullptr;
Monitor Device::p2p_stage_ops_(true);
Memory* Device::p2p_stage_ = nullptr;
bool Device::device_not_usable_ = false;
cl_int Device::gpu_error_ = CL_SUCCESS;
std::shared_mutex MemObjMap::AllocatedLock_ ROCCLR_INIT_PRIORITY(101);
std::map<uintptr_t, amd::Memory*> MemObjMap::MemObjMap_ ROCCLR_INIT_PRIORITY(101);