(self, M, N)
| 400 | valid: bool |
| 401 | |
| 402 | def init(self, M, N): |
| 403 | self.linear_idx = ( |
| 404 | dev_coord.blockIdx.x + dev_coord.blockIdx.y * dev_coord.gridDim.x |
| 405 | ) |
| 406 | self.get_blocks_m_n(M, N) |
| 407 | |
| 408 | def get_current_work_info(self): |
| 409 | m_idx, n_idx = self.get_current_m_n_idx() |
no test coverage detected