MCPcopy Create free account
hub / github.com/tile-ai/tilelang / ref_program

Function ref_program

testing/python/language/test_tilelang_language_atomic.py:359–362  ·  view source on GitHub ↗
(A)

Source from the content-addressed store, hash-verified

357 import torch
358
359 def ref_program(A):
360 for i in range(M):
361 for j in range(N):
362 A[i, j] += 1
363
364 A = torch.zeros(M, N, dtype=torch.float32).cuda()
365 ref_A = A.clone()

Callers 7

run_tile_atomic_add_exprFunction · 0.70
run_atomic_maxFunction · 0.70
run_atomic_minFunction · 0.70
run_tile_atomic_maxFunction · 0.70
run_tile_atomic_minFunction · 0.70
run_tile_atomic_max_exprFunction · 0.70

Calls 2

maxFunction · 0.50
minFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…