tvm_tirx.testing#
TIRX test utilities and local capability probes.
Functions#
Callable wrapper around a TVM FFI function. |
|
Callable wrapper around a TVM FFI function. |
|
Callable wrapper around a TVM FFI function. |
|
|
Run a callable while holding the machine-local GPU lock. |
|
Version of np.testing.assert_allclose with atol and rtol fields set in reasonable defaults. |
|
Return whether the target's runtime and local device are available. |
|
Testing function to return identity after sleep |
Testing function to terminate the process. |
|
|
|
|
Convert a string dtype to a numpy dtype. |
|
Generate a random array by generating random bits and casting to the target dtype. |