(A: T.Tensor((M, N), T.float32), B: T.Tensor((M, N), T.float32))
| 243 | # Kernel 2: A + 2.0 (different implementation) |
| 244 | @T.prim_func |
| 245 | def func2(A: T.Tensor((M, N), T.float32), B: T.Tensor((M, N), T.float32)): |
| 246 | with T.Kernel(M, threads=128) as bx: |
| 247 | for i in T.serial(N): |
| 248 | B[bx, i] = A[bx, i] + 2.0 # Different! |
| 249 | |
| 250 | unique_id_2 = uuid.uuid4().hex[:8] |
| 251 | kernel_func2 = func2.with_attr("global_symbol", f"func2_{backend}_{unique_id_2}") |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…