Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlashSampling/FlashSampling
/ is_cuda
Function
is_cuda
src/fused_mm_sampling/persistent_matmul.py:13–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
12
13
def
is_cuda():
14
return
triton.runtime.driver.active.get_current_target().backend ==
"cuda"
15
16
17
def
is_hip():
Callers
5
persistent_matmul.py
File · 0.85
device_blas_name
Function · 0.85
supports_tma
Function · 0.85
supports_ws
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected