| 1446 | } |
| 1447 | |
| 1448 | void validate_gpuIsCuQuantumCompatible(const char* caller) { |
| 1449 | |
| 1450 | int minCC = 70; |
| 1451 | int ourCC = gpu_getComputeCapability(); |
| 1452 | tokenSubs vars = { |
| 1453 | {"${MIN_CC}", minCC}, |
| 1454 | {"${OUR_CC}", ourCC} |
| 1455 | }; |
| 1456 | assertAllNodesAgreeThat(ourCC >= minCC, report::CUQUANTUM_DEPLOYED_ON_BELOW_CC_GPU, vars, caller); |
| 1457 | |
| 1458 | bool hasMemPools = gpu_doesGpuSupportMemPools(); |
| 1459 | assertAllNodesAgreeThat(hasMemPools, report::CUQUANTUM_DEPLOYED_ON_GPU_WITHOUT_MEM_POOLS, caller); |
| 1460 | } |
| 1461 | |
| 1462 | |
| 1463 |
no test coverage detected