#649 (HIP, opt-in A/Bs for the gfx1030 verify timeouts; CUDA never reads them) STRATA_VERIFY_COHERENT=1 the handshake words and rows in explicitly coherent (fine-grained) host memory STRATA_DOORBELL_STORE=1 the GPU stores each step's ring instead of read-modify-writing it over PCIe
| 351 | // STRATA_VERIFY_COHERENT=1 the handshake words and rows in explicitly coherent (fine-grained) host memory |
| 352 | // STRATA_DOORBELL_STORE=1 the GPU stores each step's ring instead of read-modify-writing it over PCIe |
| 353 | bool env_on(const char* name) { |
| 354 | const char* e = std::getenv(name); |
| 355 | return e != nullptr && e[0] != 0 && e[0] != '0'; |
| 356 | } |
| 357 | #if defined(STRATA_USE_HIP) |
| 358 | const bool g_coherent = env_on("STRATA_VERIFY_COHERENT"); |
| 359 | const bool g_doorbell_store = env_on("STRATA_DOORBELL_STORE"); |
no outgoing calls
no test coverage detected