MCPcopy Create free account
hub / github.com/apache/tvm / skip

Function skip

tests/python/codegen/test_target_codegen_cuda.py:594–601  ·  view source on GitHub ↗
(t0, t1)

Source from the content-addressed store, hash-verified

592 tvm.testing.assert_allclose(c_nd.numpy(), c_np, rtol=1e-3)
593
594 def skip(t0, t1):
595 if t0 == t1:
596 return True
597 # CUDA does support cast between {u}int8 and fp16.
598 skip_set = {"float16", "uint8", "int8"}
599 if t0 in skip_set and t1 in skip_set:
600 return True
601 return False
602
603 types_4 = [
604 "float16",

Callers 1

test_vectorized_castsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…