()
| 239 | |
| 240 | |
| 241 | def test_buffer_store(): |
| 242 | a = tirx.decl_buffer((128, 128), "float16", name="A") |
| 243 | with IRBuilder() as ib: |
| 244 | T.buffer_store(a, a[128, 128] + 1, [128, 128]) |
| 245 | obj = ib.get() |
| 246 | _assert_print( |
| 247 | obj, |
| 248 | """ |
| 249 | A = T.Buffer((128, 128), "float16") |
| 250 | A[128, 128] = A[128, 128] + T.float16(1.0) |
| 251 | """, |
| 252 | ) |
| 253 | |
| 254 | |
| 255 | def test_for(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…