| 2862 | } |
| 2863 | |
| 2864 | void validate_superOpIsSynced(SuperOp op, const char* caller) { |
| 2865 | |
| 2866 | // we don't need to perform any sync check in CPU-only mode |
| 2867 | if (!mem_isAllocated(util_getGpuMemPtr(op))) |
| 2868 | return; |
| 2869 | |
| 2870 | // check if GPU amps have EVER been overwritten; we sadly cannot check the LATEST changes were pushed though |
| 2871 | assertThat(*(op.wasGpuSynced), report::SUPER_OP_NOT_SYNCED_TO_GPU, caller); |
| 2872 | } |
| 2873 | |
| 2874 | void validate_superOpDimMatchesTargs(SuperOp op, int numTargets, const char* caller) { |
| 2875 |
no test coverage detected