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

Function has_cublas

python/tvm/testing/env.py:245–247  ·  view source on GitHub ↗

True if cuBLAS was built in and a CUDA device is present.

()

Source from the content-addressed store, hash-verified

243
244
245def has_cublas() -> bool:
246 """True if cuBLAS was built in and a CUDA device is present."""
247 return has_cuda() and _build_flag_enabled("USE_CUBLAS")
248
249
250def has_nccl() -> bool:

Callers

nothing calls this directly

Calls 2

has_cudaFunction · 0.85
_build_flag_enabledFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…