(m, i, v, dtype: DType)
| 22 | return [_load(m, x+j if x is not None else None, dtype) for m,x in inp[0]] |
| 23 | |
| 24 | def _store(m, i, v, dtype: DType): |
| 25 | if i < 0 or i >= len(m): raise IndexError(f"store out of bounds, size is {len(m)}, access is {i}, value is {v}") |
| 26 | m[i] = to_storage_scalar(v, dtype) |
| 27 | |
| 28 | # here are the models for the WMMA instruction on the different hardware |
| 29 | def generic_wmma_helper(inp, warp_size, WARP_THREADS, K, NUM_A, NUM_B, NUM_C, a_elem, b_elem, c_map): |
no test coverage detected
searching dependent graphs…