| 501 | } |
| 502 | |
| 503 | void cgpu_wait_queue_idle(CGPUQueueId queue) |
| 504 | { |
| 505 | SkrCZoneN(zz, "CGPUWaitQueueIdle", 1); |
| 506 | |
| 507 | cgpu_assert(queue != CGPU_NULLPTR && "fatal: call on NULL queue!"); |
| 508 | cgpu_assert(queue->device != CGPU_NULLPTR && "fatal: call on NULL device!"); |
| 509 | const CGPUProcWaitQueueIdle wait_queue_idle = queue->device->proc_table_cache->wait_queue_idle; |
| 510 | cgpu_assert(wait_queue_idle && "wait_queue_idle Proc Missing!"); |
| 511 | |
| 512 | wait_queue_idle(queue); |
| 513 | |
| 514 | SkrCZoneEnd(zz); |
| 515 | } |
| 516 | |
| 517 | float cgpu_queue_get_timestamp_period_ns(CGPUQueueId queue) |
| 518 | { |
no outgoing calls