| 11 | #define CU_STREAM_WAIT_VALUE_GEQ hipStreamWaitValueGte |
| 12 | |
| 13 | inline CUresult cuGetErrorString(CUresult e, const char** s) { |
| 14 | *s = hipGetErrorString(e); |
| 15 | return hipSuccess; |
| 16 | } |
| 17 | // a 32-bit write / wait on the stream (host memory the card maps). Two implementations, chosen once by FNX_HIP_MEMOP: |
| 18 | // kernel (default): a one-thread kernel writes the flag (after a system fence) or spins on it, in stream order: 20 us for a cross-card round trip on |
| 19 | // two R9700 (phaseA-tests/sfnx/RESULTS-HIP.md), repeatable in the engine. |