Advisory Summary — openai/triton → ROCm Migration
With a readiness score of 78/100, Triton is substantially port-ready: roughly 2,556 of 2,604 findings fall into buckets A or B, meaning the majority of the codebase either works as-is or requires only mechanical translation (e.g., CUDA API swaps, header renames, built-in substitutions). The 48 bucket-C manual blockers are the critical path — these likely involve backend-specific JIT/MLIR-bridge logic, PTX→GCN codegen paths, or CUDA runtime assumptions that require architectural decisions rather than find-and-replace. Recommended first step: triage the 48 manual blockers by dependency depth, prioritizing any that sit in the code-generation or kernel-launch critical path, since those will gate all downstream mechanical fixes from being validated end-to-end. Until those blockers are resolved, the 1,026 mechanical changes can be queued but not confidently verified.
Detected but out of scope (not analyzed): C, C++, C/C++ header
Findings by file
2604 findings · 305 filesCInline PTX assemblysrc_func=lambda system, arch, version: f"cuda_nvcc-{system}-{arch}-{version}-archive/bin/ptxas{exe_extension}",:491
The lambda constructs a path to ptxas, the NVIDIA PTX assembler, which has no direct ROCm equivalent. On AMD Instinct GPUs, kernel compilation uses clang/lld targeting amdgcn rather than a separate PTX assembler stage, so this path lookup must be removed or replaced with the appropriate ROCm toolchain path (e.g., clang). Any code relying on ptxas for intermediate assembly will need to be reworked to use clang-based compilation.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/build_helpers.py+++ b/python/build_helpers.py@@ -488,7 +488,7 @@- src_func=lambda system, arch, version: f"cuda_nvcc-{system}-{arch}-{version}-archive/bin/ptxas{exe_extension}",+ # Advisory: ptxas has no ROCm equivalent; AMD uses clang/lld for amdgcn compilation.+ # src_func=lambda system, arch, version: f"cuda_nvcc-{system}-{arch}-{version}-archive/bin/ptxas{exe_extension}",CInline PTX assemblydst_path="bin/ptxas",:492
The ptxas binary is NVIDIA's PTX assembler and is not available in the ROCm toolchain. Any build logic that copies, installs, or invokes ptxas will fail on AMD Instinct systems and should be removed or guarded behind a CUDA-only condition. ROCm uses clang/lld with the AMDGPU backend instead of a separate PTX assembler.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/build_helpers.py+++ b/python/build_helpers.py@@ -492,1 +492,1 @@- dst_path="bin/ptxas",+ dst_path="bin/ptxas", # ADVISORY: ptxas is CUDA-only; remove or guard for ROCm buildsCInline PTX assemblyversion=nvidia_toolchain_version["ptxas"],:494
This line references the NVIDIA-specific ptxas assembler version, which has no ROCm equivalent since AMD Instinct GPUs do not use PTX. Any build logic that invokes ptxas or compiles inline PTX assembly must be removed, disabled, or replaced with a HIP/GCN code path for ROCm targets.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/build_helpers.py+++ b/python/build_helpers.py@@ -491,7 +491,11 @@ # Advisory: ptxas is NVIDIA-only; guard or skip on ROCm builds.- version=nvidia_toolchain_version["ptxas"],+ version=(+ nvidia_toolchain_version["ptxas"]+ if not use_rocm+ else None+ ),CInline PTX assembly# We download a separate ptxas for blackwell, since there are some bugs when using it for hopper:500
This comment references ptxas, the NVIDIA PTX assembler, which has no equivalent in the ROCm toolchain. On AMD Instinct GPUs, kernel compilation uses hipcc/clang and does not require downloading or pinning a separate PTX assembler, so this logic and any associated ptxas download/fallback code should be removed or guarded behind a CUDA-only build path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
diff --git a/python/build_helpers.py b/python/build_helpers.py@@ -498,7 +498,9 @@ # We download a separate ptxas for blackwell, since there are some bugs when using it for hopper+# NOTE: ptxas is NVIDIA-only; this path is irrelevant for ROCm/AMD Instinct builds.+# Consider guarding the following ptxas download logic with `if is_cuda_build:` so it+# is skipped entirely when targeting ROCm.CInline PTX assemblysrc_func=lambda system, arch, version: f"cuda_nvcc-{system}-{arch}-{version}-archive/bin/ptxas{exe_extension}",:503
The lambda resolves a path to NVIDIA's ptxas PTX assembler, a CUDA-specific tool with no direct ROCm equivalent. On ROCm, PTX assembly and intermediate compilation are handled by clang/lld targeting AMDGPU, so any build logic or downstream usage relying on ptxas must be redirected to ROCm compiler tooling. This is build-infrastructure path resolution rather than inline PTX in kernel code, but it will break if left unchanged.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/build_helpers.py+++ b/python/build_helpers.py@@ -503,1 +503,1 @@-src_func=lambda system, arch, version: f"cuda_nvcc-{system}-{arch}-{version}-archive/bin/ptxas{exe_extension}",+# Advisory: ptxas has no ROCm equivalent; redirect to clang/lld under ROCm toolchain or remove this entry if unused on AMD targets.+src_func=lambda system, arch, version: f"rocm-{system}-{arch}-{version}/llvm/bin/clang{exe_extension}",CInline PTX assemblydst_path="bin/ptxas-blackwell",:504
The path references NVIDIA's ptxas assembler binary, which is part of the CUDA toolchain and has no ROCm equivalent. ROCm uses hipcc/clang for compilation and does not require a separate PTX assembler step, so any build logic that copies or validates this binary should be removed or replaced with ROCm-aware toolchain checks.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/build_helpers.py+++ b/python/build_helpers.py@@ -504,1 +504,1 @@- dst_path="bin/ptxas-blackwell",+ # Advisory: ptxas is NVIDIA-only; remove or gate behind CUDA-only build path for ROCm+ # dst_path="bin/ptxas-blackwell",CInline PTX assemblyversion=nvidia_toolchain_version["ptxas-blackwell"],:506
PTX and ptxas are NVIDIA-specific; ROCm has no equivalent and uses LLVM/clang targeting the amdgcn ISA (e.g., gfx942 for MI300). This build-helper branch selecting a 'ptxas-blackwell' toolchain version will not function on AMD Instinct and must be replaced or guarded behind a CUDA-only path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/build_helpers.py+++ b/python/build_helpers.py@@ -503,7 +403,11 @@- version=nvidia_toolchain_version["ptxas-blackwell"],+ # Advisory: PTX/ptxas is NVIDIA-only. On ROCm, use the LLVM/clang+ # toolchain targeting amdgcn (e.g. gfx942 for MI300). Guard this+ # selection so it only applies under CUDA builds.+ version=(nvidia_toolchain_version["ptxas-blackwell"]+ if is_cuda_build else rocm_toolchain_version["amdgcn-mi300"]),CInline PTX assemblyparser.add_argument("--triton-ptxas-path", default="", help="Path override for TRITON_PTXAS_PATH"):592
The --triton-ptxas-path argument references NVIDIA's PTX assembler (ptxas), which does not exist on ROCm. On AMD Instinct GPUs, Triton uses LLVM-based code generation and does not invoke ptxas, so this argument and any downstream logic that consumes TRITONPTXASPATH should be guarded or skipped on ROCm builds to avoid misleading configuration or runtime failures.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/build_helpers.py+++ b/python/build_helpers.py@@ -589,7 +589,11 @@ # ... existing argument parsers ...- parser.add_argument("--triton-ptxas-path", default="", help="Path override for TRITON_PTXAS_PATH")+ # ptxas is NVIDIA-only; Triton on ROCm uses LLVM and does not require ptxas.+ # Advisory: guard this argument so it is only exposed/used on CUDA builds.+ if not os.environ.get("ROCM_PATH") and not os.environ.get("HIP_PLATFORM"):+ parser.add_argument("--triton-ptxas-path", default="", help="Path override for TRITON_PTXAS_PATH")CInline PTX assembly"--triton-ptxas-blackwell-path",:594
The flag --triton-ptxas-blackwell-path references NVIDIA's ptxas assembler and Blackwell architecture, neither of which exists on ROCm. On AMD Instinct, Triton targets AMDGPU via its LLVM backend and does not invoke ptxas, so this flag must be removed or guarded behind a CUDA-only condition to avoid build failures.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- python/build_helpers.py+++ python/build_helpers.py@@ -591,7 +591,9 @@ # ... existing context ...- "--triton-ptxas-blackwell-path",+ # Advisory: ptxas is NVIDIA-only; guard or remove for ROCm builds.+ # On ROCm, Triton uses the AMDGPU LLVM backend and has no ptxas equivalent.+ *("--triton-ptxas-blackwell-path",) if not is_rocm else (),BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import fence_async_shared:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell.float2 import Float2Tensor:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assembly# that processes one element of qk at a time. This improves ptxas's resulting SASS.:589
This is a comment referencing PTX and ptxas, NVIDIA-specific toolchain concepts. On ROCm, the equivalent intermediate representation is GCN ISA (amdgcn) and the assembler/toolchain is llvm-mc / roc-objdump, so the comment should be updated to reflect AMD terminology for accuracy.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/examples/gluon/01-attention-forward.py+++ b/python/examples/gluon/01-attention-forward.py@@ -586,7 +586,7 @@ # that processes one element of qk at a time. This improves ptxas's resulting SASS.+# that processes one element of qk at a time. This improves the AMD GPU compiler's resulting GCN ISA.CInline PTX assembly# FIXME: When using FADD2 reductions, ptxas misbehaves and spills far:660
Inline PTX assembly is NVIDIA-specific and has no direct equivalent on ROCm; any FADD2-based reduction logic must be reimplemented using HIP/ROCm intrinsics or portable device code. The ptxas reference is irrelevant on AMD toolchains (rocclr/llvm-amdgpu), so this code path will fail to compile or run on Instinct GPUs.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":947
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] == 10:951
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0:2] == (10, 3):955
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"NUM_SMS = max(1, torch.cuda.get_device_properties("cuda").multi_processor_count * p.OCCUPANCY // num_ctas):1126
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageNUM_SMS = max(1, torch.cuda.get_device_properties("cuda").multi_processor_count * p.OCCUPANCY // num_ctas):1126
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = "cuda":1171
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":1251
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.profiler # noqa: F401:1271
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import (:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.errors import InterpreterError:48
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"if device not in ['cuda']::117
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"if device in ['cuda']::125
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagecc = torch.cuda.get_device_capability():126
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"def _test_unary(dtype_x, expr, numpy_expr=None, device='cuda', num_ctas=1)::162
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"def _test_binary(dtype_x, dtype_y, expr, numpy_expr=None, mode_x='real', mode_y='real', device='cuda', num_ctas=1,:221
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagecc = torch.cuda.get_device_capability():1108
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagefence_sem = "acq_rel" if torch.cuda.get_device_capability()[0] < 9 else "acquire":1406
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagefence_sem = "acq_rel" if torch.cuda.get_device_capability()[0] < 9 else "acquire":1443
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif dst_type == 'bfloat16' and torch.cuda.get_device_capability()[0] < 9::1561
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9,:1848
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9,:1866
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9,:1918
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if dtype_z.startswith('float8') and device not in ['cuda']::2120
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif is_cuda() and 'V100' in torch.cuda.get_device_name(0)::2735
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = "cuda":3251
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif dtype_str == "float8e4b15" and (is_hip() or (is_cuda() and torch.cuda.get_device_capability() >= (9, 0)))::3340
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagecapability = torch.cuda.get_device_capability():3641
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagecc = torch.cuda.get_device_capability():3922
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagecapability = torch.cuda.get_device_capability():4329
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"@pytest.mark.parametrize("device", ['cuda', 'cpu', 'cpu_pinned']):4990
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.language.core import constexpr_type:5949
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assembly# maybe delete it later after ptxas has been fixed:6098
The comment references ptxas, NVIDIA's PTX assembler, which does not exist in the ROCm toolchain. Any nearby inline PTX assembly must be replaced with AMDGPU/GCN inline assembly or an equivalent HIP/ROCm intrinsic, and ptxas-specific workarounds should be removed as they are irrelevant on AMD Instinct GPUs.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
Atorch.cuda API usagecc = torch.cuda.get_device_capability():6202
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if device in ['cuda']::6507
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagecapability = torch.cuda.get_device_capability():6508
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if device != "cuda"::6749
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"X = torch.randint(0, 10, [BLOCK], device="cuda", dtype=torch.int32):6760
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"Z = torch.zeros((), device="cuda", dtype=torch.int32):6763
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"if device != "cuda"::6770
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"X = torch.randint(0, 10, [BLOCK_0, BLOCK_1], device="cuda", dtype=torch.int32):6785
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"Z = torch.zeros([NON_REDUCE_DIM], device="cuda", dtype=torch.int32):6786
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"if device != "cuda"::6807
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"X = torch.randint(0, 10, [BLOCK], device="cuda", dtype=torch.int32):6818
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagewith torch.cuda.device(x.device.index)::6975
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hopper_or_newer, is_interpreter:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._filecheck import run_filecheck:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"if backend == "cuda"::85
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
CInline PTX assembly# Recent ptxas versions can coalesce this minimal load-store:279
Inline PTX assembly is NVIDIA-specific and will not compile on ROCm targets, so any test relying on it for line-info verification must be backend-gated or given a GCN-equivalent path. Since this is a low-priority (bucket C) test-file finding, the advisory action is to skip or conditionally branch the PTX-dependent logic when running on AMD Instinct GPUs rather than attempting a direct ISA translation.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/test/unit/language/test_line_info.py+++ b/python/test/unit/language/test_line_info.py@@ -276,6 +276,10 @@ # Recent ptxas versions can coalesce this minimal load-store+# NOTE: inline PTX below is NVIDIA-only; skip or branch for ROCm backends.+if pytest.current_backend() == "cuda":+ # PTX-dependent line-info checks+ ...+else:+ pytest.skip("Inline PTX assembly not supported on ROCm", allow_module_level=True)BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip, is_hip_cdna2:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assemblyptx_files = list(tmp_path.rglob("*.ptx")):36
This test globs for .ptx files, which are NVIDIA-specific intermediate artifacts; ROCm compilation pipelines produce GCN ISA or HSACO/code objects instead. If the dialect plugin is migrated to emit ROCm artifacts, this test assertion must be updated to match the new file extension or the test will fail.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- python/test/unit/plugins/test_dialect_plugin.py+++ python/test/unit/plugins/test_dialect_plugin.py@@ -36,1 +36,1 @@-ptx_files = list(tmp_path.rglob("*.ptx"))+code_object_files = list(tmp_path.rglob("*.hsaco")) # Advisory: use the ROCm code-object extension your migrated plugin emitsBTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip_cdna2:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif use_cuda_graph and not torch.cuda.is_available()::20
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9,:311
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9,:360
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] != 9,:410
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
CInline PTX assemblytemp_file = pathlib.Path(f"/tmp/test_override_{str(uuid.uuid4())}.ptx"):488
PTX is NVIDIA-specific intermediate assembly and cannot be consumed by the ROCm/HIP toolchain on AMD Instinct GPUs. The test that writes a .ptx temp file and feeds it to the autotuner will fail or be meaningless on ROCm unless the PTX is replaced with AMD ISA (GCN/CDNA) or the test is guarded/skipped for non-CUDA backends.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/test/unit/runtime/test_autotuner.py+++ b/python/test/unit/runtime/test_autotuner.py@@ -485,6 +485,12 @@ @pytest.mark.parametrize("backend", ["cuda", "hip"]) def test_override_kernel(backend):+ # Advisory: PTX is NVIDIA-only. On ROCm/HIP this test must emit+ # AMD ISA (GCN/CDNA) instead, or be skipped when backend != "cuda".+ if backend == "hip":+ pytest.skip("PTX override not supported on ROCm; requires AMD ISA") temp_file = pathlib.Path(f"/tmp/test_override_{str(uuid.uuid4())}.ptx")Atorch.cuda API usageif not torch.cuda.is_available() or not torch.cuda.get_device_capability()[0] == 10::509
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif not torch.cuda.is_available()::548
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.cache import FileCacheManager:149
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.cache import FileCacheManager:202
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assemblydefault_ptxas = triton_root / "backends/nvidia/bin/ptxas":243
This line hardcodes a path to NVIDIA's ptxas assembler, which does not exist in the ROCm/HIP toolchain. On AMD Instinct GPUs, there is no direct equivalent to ptxas; Triton's ROCm backend uses different compilation steps, so this test path must be guarded or replaced with a backend-aware lookup.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/test/unit/test_knobs.py+++ b/python/test/unit/test_knobs.py@@ -240,7 +240,11 @@- default_ptxas = triton_root / "backends/nvidia/bin/ptxas"+ # Advisory: ptxas is NVIDIA-only; on ROCm there is no equivalent binary.+ # Guard this path so the test does not fail on AMD Instinct systems.+ if (triton_root / "backends/nvidia").exists():+ default_ptxas = triton_root / "backends/nvidia/bin/ptxas"+ else:+ default_ptxas = NoneCInline PTX assemblyassert Path(fresh_knobs.nvidia.ptxas.path).resolve() == default_ptxas.resolve():245
This test asserts the resolved path of NVIDIA's ptxas assembler, a CUDA-specific tool with no ROCm equivalent. On AMD Instinct, the compilation path uses clang/lld targeting amdgcn, so this assertion will fail or be meaningless. The test should be guarded by a platform/backend check or replaced with an ROCm-aware equivalent knob.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/test/unit/test_knobs.py+++ b/python/test/unit/test_knobs.py@@ -243,7 +243,11 @@ ... - assert Path(fresh_knobs.nvidia.ptxas.path).resolve() == default_ptxas.resolve()+ if torch.version.hip is None:+ assert Path(fresh_knobs.nvidia.ptxas.path).resolve() == default_ptxas.resolve()+ else:+ # ROCm has no ptxas; skip or test the equivalent clang/amdgcn path knob.+ pytest.skip("ptxas is NVIDIA-only; no ROCm equivalent knob under test")CInline PTX assemblytmp_ptxas = tmp_path / "ptxas-special":248
The string references 'ptxas', the NVIDIA PTX assembler, which has no ROCm equivalent; ROCm uses its own compiler stack (amdclang/comgr) and does not consume PTX. Any test logic that shells out to or locates ptxas will fail on AMD Instinct and should be guarded or replaced with a ROCm-aware path. This is advisory only — no automatic fix is applied.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/test/unit/test_knobs.py+++ b/python/test/unit/test_knobs.py@@ -245,7 +245,11 @@- tmp_ptxas = tmp_path / "ptxas-special"+ # Advisory: ptxas is NVIDIA-only and absent on ROCm.+ # Consider guarding this test behind a CUDA-only condition or+ # substituting a ROCm compiler path (e.g., amdclang) when porting.+ tmp_ptxas = tmp_path / "ptxas-special" # TODO: ROCm migration — no ptxas on AMDCInline PTX assemblyassert Path(fresh_knobs.nvidia.ptxas.path).resolve() == tmp_ptxas.resolve():252
This test references the NVIDIA-specific ptxas assembler path knob, which has no direct ROCm equivalent (ROCm uses clang/LLVM for shader/assembly compilation). On ROCm builds, this assertion will fail because the nvidia.ptxas knob will not exist or will not resolve to a valid path, so the test should be skipped or adapted to the ROCm assembler toolchain.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/test/unit/test_knobs.py+++ b/python/test/unit/test_knobs.py@@ -249,6 +249,9 @@ def test_ptxas_knob_resolves(fresh_knobs, tmp_ptxas):+ # Advisory: ptxas is NVIDIA-only; skip on ROCm builds+ if not hasattr(fresh_knobs, "nvidia") or not hasattr(fresh_knobs.nvidia, "ptxas"):+ pytest.skip("ptxas knob is NVIDIA-only; not available on ROCm") assert Path(fresh_knobs.nvidia.ptxas.path).resolve() == tmp_ptxas.resolve()CInline PTX assemblyfresh_knobs.nvidia.ptxas = str(default_ptxas):257
This test references the NVIDIA-specific ptxas assembler path via a configuration knob. On ROCm there is no PTX assembler; the equivalent compilation path uses the AMD GCN/CDNA ISA compiler (e.g., clang/lld via hipcc), so this knob and its associated test logic need to be remapped to a ROCm compiler path or removed if no longer applicable.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
--- a/python/test/unit/test_knobs.py+++ b/python/test/unit/test_knobs.py@@ -254,7 +254,8 @@- fresh_knobs.nvidia.ptxas = str(default_ptxas)+ # Advisory: ptxas is NVIDIA-only; map to ROCm compiler path if an equivalent knob exists+ # fresh_knobs.amd.compiler = str(default_amd_compiler)CInline PTX assemblyassert Path(fresh_knobs.nvidia.ptxas.path).resolve() == default_ptxas.resolve():260
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblydel fresh_knobs.nvidia.ptxas:263
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyassert Path(fresh_knobs.nvidia.ptxas.path).resolve() == tmp_ptxas.resolve():265
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyfresh_knobs.nvidia.ptxas = str(default_ptxas):270
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyassert Path(fresh_knobs.nvidia.ptxas.path).resolve() == default_ptxas.resolve():272
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyassert Path(fresh_knobs.nvidia.ptxas.path).resolve() == tmp_ptxas.resolve():275
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyassert Path(fresh_knobs.nvidia.ptxas.path).resolve() == default_ptxas.resolve():280
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
BTriton dependencyimport triton:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import TensorWrapper, reinterpret, type_canonicalisation_dict:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return False if target is None else target.backend == "cuda":43
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] >= 8:47
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] in [10, 11]:51
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0:2] == (10, 3):55
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] >= 9:59
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] == 9:63
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] == 12:67
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
CInline PTX assemblycuda_version = knobs.nvidia.ptxas.version:207
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
Atorch.cuda API usagereturn torch.cuda.get_device_capability()[0] >= 9 and cuda_version_tuple >= min_cuda_version:211
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn torch.cuda.get_device_capability()[0] >= 9:219
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return torch.empty(size, dtype=torch.int8, device="cuda"):233
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():261
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton import knobs:294
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assembly# TODO: n_regs, n_spills should be metadata generated when calling `ptxas`:476
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
BTriton dependencyfrom triton._C.libtriton import getenv, getenv_bool # type: ignore:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assembly# Convert ptxas-blackwell to PTXAS_BLACKWELL, not PTXAS-BLACKWELL:200
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyptxas: env_nvidia_tool = env_nvidia_tool("ptxas"):503
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyptxas_blackwell: env_nvidia_tool = env_nvidia_tool("ptxas-blackwell"):504
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
BTriton dependencyimport triton:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:28
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:29
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:31
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import tma, mbarrier, fence_async_shared:32
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:33
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif torch.cuda.is_available()::41
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton import nvidia:42
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"cublas_workspace = torch.empty(32 * 1024 * 1024, device="cuda", dtype=torch.uint8):43
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 9:56
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 9:56
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:61
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:61
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"a = torch.randn(xnumel, ynumel, device="cuda"):317
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn(xnumel, ynumel, device="cuda"):318
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty_like(a, device="cuda"):319
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(xnumel, ynumel, device="cuda"):328
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(xnumel, ynumel, device="cuda"):329
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty_like(A, device="cuda"):330
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
CInline PTX assembly# Arrive after the first SMEM store and rely on ptxas to interleave.:531
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
ADevice string "cuda"num_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:584
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:584
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):601
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):602
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):603
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):622
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):626
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):627
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.backends.compiler import BaseBackend, GPUTarget, Language:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir, passes, llvm, nvidia:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.errors import PTXASError:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assemblyreturn knobs.nvidia.ptxas_blackwell if arch >= 100 else knobs.nvidia.ptxas:39
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyreturn mock_ver # This is not really a version of ptxas, but it is good enough for testing:46
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
ADevice string "cuda"backend_name: str = 'cuda':132
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return target.backend == 'cuda':169
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.language.extra.cuda as cuda:226
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra.cuda import libdevice:236
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assembly# Work around ptxas rejecting PTX generated by the LLVM SLP vectorizer on sm_80.:449
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assembly# Remove the debug flag that prevents ptxas from optimizing the code:486
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyptxas = get_ptxas(self.target.arch).path:496
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblywith tempfile.NamedTemporaryFile(delete=False, mode='w', suffix='.ptx') as fsrc, \:497
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assembly# Disable ptxas optimizations if requested:517
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assembly# Accept more ptxas options if provided:520
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assembly# accesses; -O1 keeps compile time reasonable without that ptxas bug.:524
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assembly# Add --regAllocOptLevel=2 to work around ptxas 13.x bug:529
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyptxas, *debug_info, *fmad, '-v', *disable_opt, *reg_alloc, *ptx_extra_options, f'--gpu-name={arch}',:533
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyerror = '`ptxas` raised SIGSEGV':555
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyerror = f'`ptxas` failed with error code {e.returncode}':557
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
CInline PTX assemblyf"`ptxas` stderr:\n{log}\n":560
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip, is_hip_cdna2:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
CInline PTX assemblyptx_files = list(tmp_path.rglob("*.ptx")):35
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
BTriton dependencyimport triton:302
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:317
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:327
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependency"python/triton/knobs.py",:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependency"python/triton/runtime/build.py",:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependency"python/triton/runtime/driver.py",:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependency"python/triton/_utils.py",:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import mbarrier:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":14
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] == 10:18
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor, TensorDescriptorIm2Col:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import tma, mbarrier:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.get_device_capability(device),:703
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():978
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties(device).multi_processor_count:1070
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties(device).multi_processor_count:1140
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"grad_out_nchw = torch.randn((N, Co, out_h, out_w), device="cuda", dtype=TORCH_GEMM_DTYPE):1180
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_nchw = torch.randn((Co, Ci, R, S), device="cuda", dtype=TORCH_GEMM_DTYPE):1183
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"torch.randn((N, Ci, H, W), device="cuda", dtype=TORCH_GEMM_DTYPE),:1190
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_nchw = torch.randn((N, Ci, H, W), device="cuda", dtype=TORCH_GEMM_DTYPE):1246
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"grad_out_nchw = torch.randn((N, Co, out_h, out_w), device="cuda", dtype=TORCH_GEMM_DTYPE):1247
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_nchw = torch.randn((Co, Ci, R, S), device="cuda", dtype=TORCH_GEMM_DTYPE):1249
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor, TensorDescriptorIm2Col:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import tma, mbarrier:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties(input_tensor.device).multi_processor_count:593
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties(input_tensor.device).multi_processor_count:664
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x_nchw = torch.randn((N, Ci, H, W), device="cuda", dtype=TORCH_GEMM_DTYPE):712
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_nchw = torch.randn((Co, Ci, R, S), device="cuda", dtype=TORCH_GEMM_DTYPE):714
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_nchw = torch.randn((N, Ci, H, W), device="cuda", dtype=TORCH_GEMM_DTYPE):752
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_nchw = torch.randn((Co, Ci, R, S), device="cuda", dtype=TORCH_GEMM_DTYPE):754
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor, TensorDescriptorIm2Col:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import tma, mbarrier:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.get_device_capability(device),:607
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():733
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties(input_nhwc.device).multi_processor_count:906
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties(input_nhwc.device).multi_processor_count:973
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x_nchw = torch.randn((N, Ci, H, W), device="cuda", dtype=TORCH_GEMM_DTYPE):1010
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"grad_out_nchw = torch.randn((N, Co, out_h, out_w), device="cuda", dtype=TORCH_GEMM_DTYPE):1016
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_nchw = torch.randn((Co, Ci, R, S), device="cuda", dtype=TORCH_GEMM_DTYPE):1019
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_nchw = torch.randn((N, Ci, H, W), device="cuda", dtype=TORCH_GEMM_DTYPE):1061
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"grad_out_nchw = torch.randn((N, Co, out_h, out_w), device="cuda", dtype=TORCH_GEMM_DTYPE):1063
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_nchw = torch.randn((Co, Ci, R, S), device="cuda", dtype=TORCH_GEMM_DTYPE):1116
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import mbarrier, tma:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif not torch.cuda.is_available()::23
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:26
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:26
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"a = torch.rand((M, K), device=torch.device("cuda"), dtype=torch.float16):703
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.rand((K, N), device=torch.device("cuda"), dtype=torch.float16):704
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.profiler.viewer as proton_viewer:732
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageprops = torch.cuda.get_device_properties(0):743
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16):750
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16):751
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c_triton = torch.empty((M, N), device="cuda", dtype=torch.float16):752
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c_torch = torch.empty((M, N), device="cuda", dtype=torch.float16):753
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.profiler as proton:802
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon as gluon:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import nvidia:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.blackwell import TensorDescriptor:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif not torch.cuda.is_available()::77
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:80
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:80
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"base = MXFP4Tensor(size=(MN, K), device="cuda").random():99
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scale = MXScaleTensor(size=(MN, K // VEC_SIZE), device="cuda").random(low=1 / 128, high=2.0):100
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=out_dtype):774
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagesm_count = torch.cuda.get_device_properties(device).multi_processor_count:793
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"cublas_workspace = torch.empty(32 * 1024 * 1024, device="cuda", dtype=torch.uint8):921
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((M, N), dtype=torch.float16, device="cuda"):932
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon as gluon:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language.nvidia.blackwell as blackwell:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language.nvidia.blackwell.tma as tma:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import float2:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language.nvidia.hopper.mbarrier as mbarrier:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language.extra.libdevice as libdevice:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.testing import do_bench_cudagraph:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:844
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagesms = torch.cuda.get_device_properties(bias.device).multi_processor_count:1166
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return (triton.runtime.driver.active.get_current_target().backend == "cuda":1518
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageand torch.cuda.get_device_capability()[0] == 10):1519
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageprepared = prepare_case(c, batch_size, device=f"cuda:{torch.cuda.current_device()}"):1526
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice=f"cuda:{torch.cuda.current_device()}",:1579
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = f"cuda:{torch.cuda.current_device()}":1641
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.common.backend import (BaseBackend, compute_core_version_key, register_backend):15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.make_launcher import make_so_cache_key:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.cache import get_cache_manager:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.driver import DriverBase:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = torch.randn(size, device='cuda'):72
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randn(size, device='cuda'):73
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(size, device='cuda'):127
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"parser.addoption("--device", action="store", default="cuda"):12
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton import knobs:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import _fresh_knobs_impl:36
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import _fresh_knobs_impl:50
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:60
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime._allocation import NullAllocator:61
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import default_alloc_fn:62
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia import blackwell:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia import hopper:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia import ampere:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import allocate_tensor_memory, clc, mbarrier, tma:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, run_in_process:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):124
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):136
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):148
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):159
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):190
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):237
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):278
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell"):328
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell"):370
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell"):411
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell"):443
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):480
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):524
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):569
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):608
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):678
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):730
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):773
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):831
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):891
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires ampere or newer"):952
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires ampere or newer"):996
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):1039
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):1141
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] != 9, reason="Requires hopper"):1198
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] != 9, reason="Requires hopper"):1245
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):1294
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):1363
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):1487
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):1565
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):1639
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] != 9, reason="Requires hopper"):1692
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):1778
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):1832
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):1893
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):1947
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2011
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2072
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2162
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2228
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2322
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):2395
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):2462
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] != 9, reason="Requires hopper"):2518
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2583
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2615
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2649
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2704
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2761
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2785
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2819
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2852
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):2895
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):2928
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):2957
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper or newer"):2984
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):3011
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):3075
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):3130
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires hopper"):3192
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):3291
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn((BLOCK_M, BLOCK_K), device="cuda", dtype=torch.float16):3306
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 10, reason="Requires blackwell or newer"):3348
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn((BLOCK_M, K), device="cuda", dtype=torch.float16):3364
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import (:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler import max_shared_mem:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:26
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.ampere import async_copy, mma_v2:27
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import tma, mbarrier, fence_async_shared:28
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia import hopper:29
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import tma as blackwell_tma:30
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.cdna4 import async_copy as cdna4_async_copy:31
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.extra import libdevice:32
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:33
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:45
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import make_cga_layout:46
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"inp = torch.randn(XBLOCK * 4 - 7, device="cuda"):72
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.randn(XBLOCK * 4 - 7, device="cuda"):85
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(block_m * block_n, device="cuda", dtype=torch.float32).reshape(block_m, block_n):136
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((block_n, block_m), device="cuda", dtype=torch.float32):137
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((block, ), device="cuda", dtype=torch.int32):185
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"torch.testing.assert_close(out, torch.arange(block, device="cuda", dtype=torch.int32)):190
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((block, ), device="cuda", dtype=torch.float16):196
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"torch.testing.assert_close(out, torch.arange(block, device="cuda", dtype=torch.float16)):201
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.ones((16, 16), dtype=torch.float16, device="cuda"):216
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(pixels_per_column * channels_per_pixel, device="cuda", dtype=torch.float32):252
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros(pixels_per_column, channels_per_pixel, device="cuda", dtype=torch.float32):254
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.randn((16, 16), device="cuda", dtype=torch.float32):309
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.randn((BLOCK_M, BLOCK_N), dtype=torch.float16, device="cuda"):356
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(BLOCK_M * BLOCK_N, dtype=torch.float16, device="cuda").reshape(BLOCK_M, BLOCK_N):419
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"gather_idx = torch.arange(BLOCK_M - 1, -1, -1, dtype=torch.int32, device="cuda"):420
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scatter_idx = (torch.arange(0, BLOCK_M, dtype=torch.int32, device="cuda") + 1) % BLOCK_M:421
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((BLOCK_M, BLOCK_K), dtype=torch.float16, device="cuda"):554
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((BLOCK_K, BLOCK_N), dtype=torch.float16, device="cuda"):555
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((BLOCK_M, BLOCK_N), dtype=torch.float32, device="cuda"):556
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.empty((block_m, block_k), dtype=torch.float16, device="cuda"):603
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.empty((block_k, block_n), dtype=torch.float16, device="cuda"):604
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randint(20, 40, (BLOCK_M, NUM_K_TILES * BLOCK_K), device="cuda",:692
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randint(20, 40, (NUM_K_TILES * BLOCK_K, BLOCK_N), device="cuda",:694
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((BLOCK_M, BLOCK_N), device="cuda", dtype=torch.float32):696
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"tensor_opts = dict(dtype=torch.float, device="cuda"):731
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.zeros((XBLOCK, XBLOCK), device="cuda", dtype=torch.float16):768
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):779
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.ones((XBLOCK, XBLOCK), dtype=torch.float16, device="cuda"):807
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):817
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16):880
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16):881
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros((M, N), device="cuda", dtype=torch.float16):882
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((128, 16), dtype=torch.float16, device='cuda'):1428
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device='cuda', dtype=elem_type):1486
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device='cuda', dtype=elem_type):1487
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device='cuda', dtype=elem_type) - 0.5:1547
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device='cuda', dtype=elem_type) - 0.5:1548
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"def test_amd_mfma_scaled(M, N, K, a_type, b_type, has_scale, device='cuda')::1578
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(THREADS_PER_WARP * num_warps, device="cuda", dtype=torch.float32):1691
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(THREADS_PER_WARP * num_warps, device="cuda", dtype=torch.float32):1712
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":1722
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"s = torch.randn((64, 128), dtype=torch.float32, device="cuda"):1817
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((64, 128), dtype=torch.float16, device="cuda"):1927
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((128, 128), dtype=torch.float16, device="cuda"):1928
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.randn((64, 128), dtype=torch.float32, device="cuda"):1929
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randint(0, 100, (XBLOCK, YBLOCK), dtype=torch.int32, device="cuda"):1972
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.rand((XBLOCK, YBLOCK), dtype=torch.float32, device="cuda"):2001
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.arange(M * N, device="cuda").reshape(M, N).to(torch.int32):2049
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty(1, dtype=torch.int32, device="cuda"):2079
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.arange(64, device="cuda").to(torch.int32):2100
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.arange(m * n, device="cuda").reshape(m, n).to(torch.int32):2153
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.zeros((slice_m, slice_n), dtype=torch.int32, device="cuda"):2154
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.rand(shape, dtype=torch.float32, device="cuda"):2201
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.rand(shape, dtype=torch.float32, device="cuda"):2202
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.rand(shape, dtype=torch.float32, device="cuda"):2203
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty(shape, dtype=torch.float32, device="cuda"):2204
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((BLOCK), dtype=elem_type, device="cuda"):2231
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"torch_ref = origin_a + torch.ones((BLOCK, ), device='cuda', dtype=torch.bfloat16):2235
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((B, B), dtype=dtype, device="cuda"):2272
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((B, B), dtype=dtype, device="cuda"):2273
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.randn((B, B), dtype=dtype, device="cuda"):2274
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((B, B), dtype=dtype, device="cuda"):2275
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.rand((B, B), dtype=torch.float32, device="cuda"):2300
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.rand((B, B), dtype=torch.float32, device="cuda"):2301
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.rand((B, B), dtype=torch.float32, device="cuda"):2302
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((B, B), dtype=torch.float32, device="cuda"):2303
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.rand((BATCH, B, B), dtype=torch.float32, device="cuda"):2331
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.rand((BATCH, B, B), dtype=torch.float32, device="cuda"):2332
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.rand((BATCH, B, B), dtype=torch.float32, device="cuda"):2333
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((BATCH, B, B), dtype=torch.float32, device="cuda"):2334
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randint(-100, 100, (2 * XBLOCK, ), device="cuda", dtype=torch.int32):2379
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty(XBLOCK, device="cuda", dtype=torch.int32):2380
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((M, N), dtype=torch.float32, device="cuda"):2459
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randint(20, 40, (M, K), dtype=torch.uint8, device="cuda").view(torch.float8_e5m2):2460
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randint(20, 40, (K, N), dtype=torch.uint8, device="cuda").view(torch.float8_e5m2):2461
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_scale = torch.randint(64, 130, (M, K // 32), dtype=torch.uint8, device="cuda"):2462
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_scale = torch.randint(64, 130, (N, K // 32), dtype=torch.uint8, device="cuda"):2463
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((M, N), dtype=torch.float32, device="cuda"):2579
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_scale = torch.ones((M, K // scale_vec_size), dtype=torch.float32, device="cuda").to(torch.float8_e4m3fn):2581
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_scale = torch.ones((N, K // scale_vec_size), dtype=torch.float32, device="cuda").to(torch.float8_e4m3fn):2582
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_scale = torch.full((M, K // scale_vec_size), 127, dtype=torch.uint8, device="cuda"):2592
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_mx = MXFP4Tensor(size=(M, K), device="cuda").random():2594
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_scale = torch.randint(64, 130, (M, K // scale_vec_size), dtype=torch.uint8, device="cuda"):2598
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randint(20, 40, (M, K), dtype=torch.uint8, device="cuda").view(a_torch_dtype):2600
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_scale = torch.full((N, K // scale_vec_size), 127, dtype=torch.uint8, device="cuda"):2605
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_mx = MXFP4Tensor(size=(N, K), device="cuda").random():2607
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_scale = torch.randint(64, 130, (N, K // scale_vec_size), dtype=torch.uint8, device="cuda"):2613
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randint(20, 40, (K, N), dtype=torch.uint8, device="cuda").view(b_torch_dtype):2615
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((xnumel, ynumel), device="cuda"):2659
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"ref = torch.maximum(torch.sin(input), torch.tensor(0.0, device="cuda")):2661
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.ones((xnumel, ynumel), device="cuda"):2703
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input_buffer = (torch.randn((M, N), device="cuda") * 100).to(dtype):2759
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output_buffer = torch.zeros((M, N), device="cuda", dtype=dtype):2760
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():2782
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = torch.device("cuda"):2824
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(64, dtype=torch.int32, device="cuda").reshape(2, 32):2888
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty(cta_tile * num_ctas, dtype=torch.int32, device="cuda"):2976
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"offsets = torch.arange(out.numel(), dtype=torch.int32, device="cuda"):2991
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(4 * 32, dtype=torch.int32, device="cuda").reshape(4, 32):3050
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"values = torch.arange(2 * 32, dtype=torch.int32, device="cuda").reshape(2, 32) + 1000:3051
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"result = torch.empty((2, 32), dtype=torch.int32, device="cuda"):3054
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(4 * 32, dtype=torch.int32, device="cuda").reshape(4, 32):3136
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((2, 32), dtype=torch.int32, device="cuda"):3137
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):3202
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):3439
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):3529
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):3563
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):3656
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):3733
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):3817
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):3907
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):4016
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):4117
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):4207
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):4281
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):4374
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device("cuda"):4475
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input_tensor = torch.randn(M, N, dtype=torch.float32, device="cuda"):4605
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"red_output = torch.empty(M, dtype=torch.float32, device="cuda"):4615
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"dev_props = torch.cuda.get_device_properties("cuda"):4676
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagedev_props = torch.cuda.get_device_properties("cuda"):4676
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"was_launched = torch.zeros([grid], dtype=torch.bool, device="cuda"):4681
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"is_cancelled = torch.zeros([grid], dtype=torch.bool, device="cuda"):4682
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"program_ids = torch.zeros([grid], dtype=torch.int32, device="cuda"):4683
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=dtype):4715
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"base = MXFP4Tensor(size=(MN, K), device="cuda").random():4724
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scale = MXScaleTensor(size=(MN, K // VEC_SIZE), device="cuda").random(low=1 / 128, high=2.0):4725
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import language as tl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_blackwell, is_cuda, is_hip, is_hip_cdna3, is_hip_cdna4, is_hip_gfx1250, is_hopper, is_interpreter:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_blackwell_ultra:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.ampere import mma_v2:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia import hopper:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"if device != "cuda"::35
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif not torch.cuda.is_available()::43
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"storage = torch.tensor(bits, device="cuda", dtype=torch_storage_dtype):213
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda""cuda": [:462
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda""cuda": [:478
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda""cuda": [:491
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda""cuda": [:500
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return "cuda":512
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn((N, N), dtype=torch.float32, device="cuda"):636
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):661
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):663
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):664
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):687
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):689
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):690
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):726
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):728
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):729
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):730
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):753
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):755
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):756
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):757
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x[:len(nan_bits)] = torch.from_numpy(nan_bits.copy()).to(device="cuda"):761
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"lo = torch.from_numpy(lo_np).to(device="cuda"):772
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"hi = torch.from_numpy(hi_np).to(device="cuda"):773
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):774
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):808
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):810
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):811
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):814
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.tensor(x_bits, dtype=torch.int32, device="cuda"):966
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):967
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int64, device="cuda"):1004
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1026
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1028
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1029
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_add = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1030
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_mul = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1031
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_add = torch.empty((n_elements, ), dtype=torch.int64, device="cuda"):1059
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1093
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1095
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_exp = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1096
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_exp2 = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1097
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1120
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1122
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_neg = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1123
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_recip = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1124
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1148
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1150
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1151
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"lhs = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1152
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"rhs = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1153
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.tensor(x_bits, dtype=torch.int32, device="cuda"):1206
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1207
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1290
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1292
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1293
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1294
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1322
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1324
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1325
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"z = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1326
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1327
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1361
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1363
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1364
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1365
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1423
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1425
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1426
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"z = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1427
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1428
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1468
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**31), 2**31 - 1, (n_elements, ), dtype=torch.int32, device="cuda", generator=g):1470
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x[:3] = torch.tensor(special_f32_bits, dtype=torch.int32, device="cuda"):1472
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1473
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"g = torch.Generator(device="cuda"):1507
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(-(2**15), 2**15 - 1, (n_elements, ), dtype=torch.int16, device="cuda", generator=g):1509
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x[:3] = torch.tensor(special_f16_bits, dtype=torch.int16, device="cuda"):1512
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((n_elements, ), dtype=torch.int32, device="cuda"):1513
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability()[0] < 9 and "e4m3" in (type_a, type_b)::1843
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagecapability = torch.cuda.get_device_capability()[0]:1902
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] < 9 and "e4m3" in (type_a, type_b)::1951
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"a = torch.tensor(a_bits, device="cuda", dtype=torch.int32):2041
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.tensor(b_bits, device="cuda", dtype=torch.int32):2042
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.tensor(c_bits, device="cuda", dtype=torch.int32):2043
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((BATCH_SIZE, B, B), device="cuda", dtype=torch.int32):2044
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int32):2130
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.tensor(a_bits, device="cuda", dtype=torch.uint8):2171
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.tensor(b_bits, device="cuda", dtype=torch.uint8):2172
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_scale = torch.tensor(a_scale_bits, device="cuda", dtype=torch.uint8):2173
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_scale = torch.tensor(b_scale_bits, device="cuda", dtype=torch.uint8):2174
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.tensor(a_bits, device="cuda",:2178
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.tensor(b_bits, device="cuda",:2182
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((B, B), device="cuda", dtype=torch.int32):2189
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.tensor(a_bits, device="cuda", dtype=torch.int32):2399
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.tensor(b_bits, device="cuda", dtype=torch.int32):2400
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.tensor(c_bits, device="cuda", dtype=torch.int32):2401
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((M, N), device="cuda", dtype=torch.int32):2402
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.tensor(a_bits, device="cuda", dtype=torch.uint8):2514
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.tensor(a_bits, device="cuda", dtype=torch.uint8).view(_float_dtype_info(type_a)[4]):2516
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.tensor(b_bits, device="cuda", dtype=torch.uint8):2518
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.tensor(b_bits, device="cuda", dtype=torch.uint8).view(_float_dtype_info(type_b)[4]):2520
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_scale = torch.tensor(a_scale_bits, device="cuda", dtype=torch.uint8).view(torch.float8_e4m3fn):2522
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_scale = torch.tensor(b_scale_bits, device="cuda", dtype=torch.uint8).view(torch.float8_e4m3fn):2523
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_scale = torch.tensor(a_scale_bits, device="cuda", dtype=torch.int8):2526
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_scale = torch.tensor(b_scale_bits, device="cuda", dtype=torch.int8):2527
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.tensor(c_bits, device="cuda", dtype=torch.int32):2529
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((m, n), device="cuda", dtype=torch.int32):2530
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.tensor(a_bits, device="cuda", dtype=torch.uint8).view(torch.float8_e5m2):2642
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.tensor(b_bits, device="cuda", dtype=torch.uint8).view(torch.float8_e5m2):2643
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a_scale = torch.tensor(a_scale_bits, device="cuda", dtype=torch.int8):2644
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b_scale = torch.tensor(b_scale_bits, device="cuda", dtype=torch.int8):2645
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.tensor(c_bits, device="cuda", dtype=torch.int32):2646
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((M, N), device="cuda", dtype=torch.int32):2647
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.tensor(x_bits, device="cuda", dtype=torch.int32):2698
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((B, 32), device="cuda", dtype=torch.int32):2699
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((K, M, N), dtype=torch.float32, device="cuda"):2947
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c1 = torch.empty((K, ), dtype=torch.float32).to('cuda'):2948
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c2 = torch.empty((K, ), dtype=torch.float32).to('cuda'):2949
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"pattern = torch.tensor([1e20, 1.0, -1e20, 1.0], dtype=torch.float32, device="cuda"):2978
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"reduce_out = torch.empty((1, ), dtype=torch.float32, device="cuda"):2980
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"loop_out = torch.empty((1, ), dtype=torch.float32, device="cuda"):2981
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.tensor(input_bits, dtype=torch.int32, device="cuda"):3016
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((block, ), dtype=torch.int32, device="cuda"):3017
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia import blackwell:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia import hopper:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import cluster:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import mbarrier, tma, TensorMemoryLayout, TensorMemoryScalesLayout, async_copy:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd import _layouts as amd_layouts:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.cdna4 import async_copy as cdna4_async_copy:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import async_copy as gfx1250_async_copy:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import mbarrier as gfx1250_mbarrier:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import cluster as gfx1250_cluster:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import (:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.extra import libdevice:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._filecheck import filecheck_test, run_parser:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import MockTensor:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:26
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.errors import CompilationError, CompileTimeAssertionFailure:27
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"BLACKWELL_TARGET = GPUTarget("cuda", 100, 32):34
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"HOPPER_TARGET = GPUTarget("cuda", 90, 32):35
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"AMPERE_TARGET = GPUTarget("cuda", 80, 32):36
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = torch.randn(512, device="cuda"):214
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_blackwell, is_cuda, is_hip, is_hopper_or_newer, get_hip_lds_size:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import make_cga_layout:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import PartitionedSharedLayout:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import TensorMemoryLayout, allocate_tensor_memory:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = torch.randint(-128, 128, (rows, cols), dtype=torch.int16, device="cuda"):1450
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input_tensor = torch.randn((M, K), device="cuda", dtype=torch.float16):2260
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._internal_testing import is_cuda, run_in_process:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan import ShareableHandleType, configure, create_mem_pool, freeze_config:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._allocator import (:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._testing_utils import global_state, shadow_tensor_for:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._utils import uint8_cuda_tensor_from_ptr:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagedevice = torch.cuda.current_device():38
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = torch.cuda.current_device():62
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = torch.cuda.current_device():77
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = torch.cuda.current_device():134
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.device_count() < 2, reason="requires at least two CUDA devices"):172
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.device_count() < 2, reason="requires at least two CUDA devices"):179
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.device_count() < 2, reason="requires at least two CUDA devices"):204
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():252
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():263
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():283
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagewith torch.cuda.use_mem_pool(pool)::289
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"real = torch.empty(4096, dtype=torch.uint8, device="cuda"):290
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():315
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = torch.cuda.current_device():321
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = torch.cuda.current_device():344
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = torch.cuda.current_device():369
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_blackwell, is_cuda, run_in_process:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan import create_mem_pool:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._testing_utils import atomic_poll:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, dtype=torch.int8, device="cuda"):222
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagewith torch.cuda.use_mem_pool(pool)::231
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"target = torch.zeros(1, dtype=torch.int32, device="cuda"):239
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.zeros(1, dtype=torch.int32, device="cuda"):240
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):241
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target = torch.zeros(1, dtype=torch.int32, device="cuda"):247
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.zeros(1, dtype=torch.int32, device="cuda"):248
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):249
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target = torch.zeros(1, dtype=torch.int32, device="cuda"):255
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.zeros(1, dtype=torch.int32, device="cuda"):256
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):257
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):263
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"ready = torch.zeros(1, dtype=torch.int32, device="cuda"):264
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):277
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target_storage = torch.zeros((m_size, padded_n), dtype=torch.int32, device="cuda"):278
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.zeros(1, dtype=torch.int32, device="cuda"):280
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target_storage = torch.zeros((m_size, padded_n), dtype=torch.int32, device="cuda"):294
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):300
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target_storage = torch.zeros((padded_m, padded_n), dtype=torch.int32, device="cuda"):316
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_offsets = torch.tensor(x_offsets_values, dtype=torch.int32, device="cuda"):318
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.zeros((block_x, block_y), dtype=torch.int32, device="cuda"):320
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):321
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target_storage = torch.zeros((padded_m, padded_n), dtype=torch.int32, device="cuda"):338
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_offsets = torch.tensor(x_offsets_values, dtype=torch.int32, device="cuda"):340
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"src = torch.arange(1, block_x * block_y + 1, dtype=torch.int32, device="cuda").reshape(block_x, block_y):342
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.zeros(1, dtype=torch.int32, device="cuda"):343
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):344
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flag = torch.zeros((1, 16), dtype=torch.int32, device="cuda"):351
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"payload = torch.zeros(1, dtype=torch.int32, device="cuda"):353
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):354
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.full((1, ), -1, dtype=torch.int32, device="cuda"):355
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"payload = torch.zeros(1, dtype=torch.int32, device="cuda"):361
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flags = torch.zeros(1, dtype=torch.int32, device="cuda"):362
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):363
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.full((1, ), -1, dtype=torch.int32, device="cuda"):364
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"payload = torch.zeros(1, dtype=torch.int32, device="cuda"):379
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flag = torch.zeros(1, dtype=torch.int32, device="cuda"):380
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.full((1, ), -1, dtype=torch.int32, device="cuda"):381
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"payload = torch.zeros(1, dtype=torch.int32, device="cuda"):395
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flag0 = torch.zeros(1, dtype=torch.int32, device="cuda"):396
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flag1 = torch.zeros(1, dtype=torch.int32, device="cuda"):397
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):398
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.full((1, ), -1, dtype=torch.int32, device="cuda"):399
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif torch.cuda.device_count() < 1::423
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires Hopper or newer"):492
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.ampere import async_copy:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_blackwell, is_cuda, is_ampere_or_newer, is_hopper_or_newer:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan import create_mem_pool:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gsan_testing import AtomicScope, SHADOW_GRANULARITY_BYTES, ScalarClock:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._testing_utils import (atomic_poll, load_one_i32, shadow_cell_from_address, store_one_i32,:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.use_mem_pool(pool)::23
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"target = torch.zeros(1, dtype=torch.int32, device="cuda"):108
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.zeros(1, dtype=torch.int32, device="cuda"):109
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"expected = torch.arange(256, dtype=torch.int32, device="cuda"):157
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.full((256, ), -1, dtype=torch.int32, device="cuda"):159
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():161
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"out = torch.full((256, ), -1, dtype=torch.int32, device="cuda"):190
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():194
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"target = torch.zeros(1, dtype=torch.int32, device="cuda"):265
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target = torch.zeros(1, dtype=torch.int32, device="cuda"):277
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros(1, dtype=torch.int32, device="cuda"):278
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target = torch.ones(1, dtype=dtype, device="cuda"):293
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target = torch.zeros(1, dtype=torch.int32, device="cuda"):302
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.ones(1, dtype=torch.bool, device="cuda"):303
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"payload = torch.zeros(1, dtype=torch.int32, device="cuda"):316
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flag = torch.zeros(1, dtype=torch.int32, device="cuda"):317
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.full((1, ), -1, dtype=torch.int32, device="cuda"):318
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():321
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"target = torch.zeros(1, dtype=torch.int32, device="cuda"):332
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros(1, dtype=torch.int32, device="cuda"):333
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"payload = torch.zeros(1, dtype=torch.int32, device="cuda"):349
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flags = torch.zeros(1, dtype=torch.int32, device="cuda"):350
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.full((1, ), -1, dtype=torch.int32, device="cuda"):351
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():361
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"payload = torch.zeros(1, dtype=torch.int32, device="cuda"):375
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flag0 = torch.zeros(1, dtype=torch.int32, device="cuda"):376
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"flag1 = torch.zeros(1, dtype=torch.int32, device="cuda"):377
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.full((1, ), -1, dtype=torch.int32, device="cuda"):378
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():389
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"payload = torch.zeros(num_writers, dtype=torch.int32, device="cuda"):430
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):432
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.full((num_writers, ), -1, dtype=torch.int32, device="cuda"):433
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():442
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"expected = torch.arange(1000, 1000 + num_writers, dtype=torch.int32, device="cuda"):444
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"payload = torch.zeros(1, dtype=torch.int32, device="cuda"):479
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"counter = torch.zeros(1, dtype=torch.int32, device="cuda"):480
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"ready = torch.zeros(1, dtype=torch.int32, device="cuda"):481
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():483
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"target = torch.zeros(size, dtype=torch.int32, device="cuda"):523
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scratch = torch.zeros(size, dtype=torch.int32, device="cuda"):524
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():529
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"inp = torch.arange(padded, dtype=torch.float32, device="cuda"):672
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target_storage = torch.zeros((padded_m, padded_n), dtype=torch.int32, device="cuda"):701
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():707
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x_offsets = torch.tensor([1, 3, 5, 7, 9, 10, 11, 13], dtype=torch.int32, device="cuda"):729
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target_storage = torch.arange(padded_m * padded_n, dtype=torch.int32, device="cuda").reshape(padded_m, padded_n):730
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((block_x, block_y), dtype=torch.int32, device="cuda"):733
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():740
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x_offsets = torch.tensor([1, 3, 5, 7, 9, 10, 11, 13], dtype=torch.int32, device="cuda"):757
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target_storage = torch.zeros((padded_m, padded_n), dtype=torch.int32, device="cuda"):758
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"src = torch.arange(1, block_x * block_y + 1, dtype=torch.int32, device="cuda").reshape(block_x, block_y):761
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():768
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability()[0] < 9, reason="Requires Hopper or newer"):777
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"target = torch.zeros((block_x, block_y), dtype=torch.int32, device="cuda"):781
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"src = torch.arange(1, block_y + 1, dtype=torch.int32, device="cuda").reshape(block_x, block_y):782
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():787
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, run_in_process:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan import symmetric_memory:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._allocator import get_runtime_state_layout:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._testing_utils import atomic_poll, shadow_cell_from_address, shadow_tensor_for, SHADOW_GRANULARITY_BYTES:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._utils import uint8_cuda_tensor_from_ptr:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.set_device(dev):70
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():119
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():139
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(dev):150
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():192
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(dev):207
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():236
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():261
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(dev):268
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():293
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():305
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(dev):314
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():333
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(dev):385
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.device_count() < 2::406
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.device_count() < 3::421
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.device_count() < 2::436
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.device_count() < 2::451
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.device_count() < 2::466
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(dev):480
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():556
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(dev):567
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.device_count() < 2::578
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._internal_testing import is_cuda:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._utils import uint8_cuda_tensor_from_ptr:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"device = torch.device("cuda:1" if torch.cuda.device_count() > 1 else "cuda:0"):10
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagedevice = torch.device("cuda:1" if torch.cuda.device_count() > 1 else "cuda:0"):10
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.synchronize():45
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():49
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():58
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():62
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():74
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"targs = [TensorDescriptor.from_tensor(torch.zeros(1, 16, device="cuda"), block_shape=[1, 16]) for _ in range(5)]:84
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"targs = [torch.zeros(1, device="cuda") for _ in range(5)]:86
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip_cdna3, is_cuda, is_hip:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagecc = torch.cuda.get_device_capability(0):19
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra import libdevice:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif not torch.cuda.is_available()::44
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x = torch.randn((100,), dtype=getattr(torch, dtype_str), device="cuda"):50
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.randint(-(2**31), 2**31 - 1, (n_elements,), dtype=torch.int32, device="cuda", generator=generator):161
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif not is_cuda() or not torch.cuda.is_available()::168
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"generator = torch.Generator(device="cuda"):174
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif not is_cuda() or not torch.cuda.is_available()::193
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"generator = torch.Generator(device="cuda"):199
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif not is_cuda() or not torch.cuda.is_available()::217
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"generator = torch.Generator(device="cuda"):223
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif not is_cuda() or not torch.cuda.is_available()::242
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"generator = torch.Generator(device="cuda"):248
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"output = torch.empty(SIZE, device='cuda', dtype=dtype):40
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(SIZE, device='cuda', dtype=dtype):41
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randn(SIZE, device='cuda', dtype=dtype):42
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn((BLOCK_M, BLOCK_N), device='cuda', dtype=dtype):74
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.empty((BLOCK_M, ), device='cuda', dtype=dtype):75
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import requires_tma:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"device = "cuda":15
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.ragged_tma import create_ragged_descriptor, atomic_add_ragged, load_ragged, store_ragged:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif not torch.cuda.is_available() or not torch.cuda.get_device_capability()[0] >= 9::12
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = "cuda":16
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif not torch.cuda.is_available() or not torch.cuda.get_device_capability()[0] >= 9::30
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = "cuda":34
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif not torch.cuda.is_available() or not torch.cuda.get_device_capability()[0] >= 9::77
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"src1 = torch.randn((1024, 80), dtype=torch.float32, device="cuda").to(dtype):84
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"src2 = torch.randn((1024, 80), dtype=torch.float32, device="cuda").to(dtype):85
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"ref = torch.randn((1024, 80), dtype=torch.float32, device="cuda").to(dtype):86
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":134
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:26
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:27
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"a = torch.randn((K, M), device='cuda', dtype=torch.float16).T:68
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device='cuda', dtype=torch.float16):70
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((N, K), device='cuda', dtype=torch.float16).T:72
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device='cuda', dtype=torch.float16):74
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.errors import CompilationError, CompileTimeAssertionFailure:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip, is_hip_cdna4:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagecc = torch.cuda.get_device_capability(0):357
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler import ASTSource:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"target=GPUTarget("cuda", 100, 32)):17
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"k = triton.compile(str(temp_file), target=GPUTarget("cuda", 90, 32)):44
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"target = GPUTarget("cuda", 100, 32):67
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"constexprs={}), target=GPUTarget("cuda", 100, 32)):97
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda""i32"}, constexprs={}), target=GPUTarget("cuda", 100, 32)):157
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"}, constexprs={"BLOCK_M": 128, "BLOCK_N": 128, "BLOCK_K": 64}), target=GPUTarget("cuda", 100, 32)):209
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"triton.compile(src, target=GPUTarget("cuda", 90, 32)):279
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"triton.compile(src, target=GPUTarget("cuda", 80, 32)):280
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip, is_hip_cdna2, is_hip_cdna3, is_hip_cdna4, is_hip_rdna3, is_hip_rdna4, is_hip_gfx1250:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif ((src_dtype == 'float8e4nv' and torch.cuda.get_device_capability(0) < (8, 9)):282
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif src_dtype != 'float32' and torch.cuda.get_device_capability(0) < (9, 0)::341
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif dst_dtype in ('float8e5', 'float8e4nv') and rounding == 'rtne' and torch.cuda.get_device_capability(0) < (9, 0)::344
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif src_dtype != 'float32' and torch.cuda.get_device_capability(0) < (9, 0)::377
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif dst_dtype in ('float8e5', 'float8e4nv') and rounding == 'rtne' and torch.cuda.get_device_capability(0) < (9, 0)::380
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._filecheck import filecheck_test, run_filecheck_test, run_parser:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.errors import CompilationError:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra import libdevice:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra.libdevice import fast_dividef as my_fast_dividef:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip, is_hip_cdna3, is_hip_cdna4, is_hip_cdna, is_hip_gfx1250:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif NUM_CTAS > 1 and (not is_cuda() or torch.cuda.get_device_capability()[0] < 9)::126
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if dtype_src_str == "float8e5" and device == "cuda" and torch.cuda.get_device_capability()[0] < 9::136
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif dtype_src_str == "float8e5" and device == "cuda" and torch.cuda.get_device_capability()[0] < 9::136
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if (device == "cuda" and torch.cuda.get_device_capability()[0] == 10 and NUM_STAGES > 1 and BLOCK_M % 64 == 0:186
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif (device == "cuda" and torch.cuda.get_device_capability()[0] == 10 and NUM_STAGES > 1 and BLOCK_M % 64 == 0:186
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] < 8::201
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if (device == "cuda" and torch.cuda.get_device_capability()[0] == 10 and BLOCK_M % 64 == 0 and BLOCK_N % 8 == 0:327
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif (device == "cuda" and torch.cuda.get_device_capability()[0] == 10 and BLOCK_M % 64 == 0 and BLOCK_N % 8 == 0:327
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability()[0] < 10::396
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability()[0] == 12::443
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(is_cuda() and torch.cuda.get_device_capability()[0] in [10, 11],:661
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"v = MXFP4Tensor(size=(dim0, dim1), device="cuda").random():726
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usage@pytest.mark.skipif(is_hip() or torch.cuda.get_device_capability()[0] != 10, reason="Requires compute capability == 10"):790
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(is_hip() or torch.cuda.get_device_capability()[0] != 10, reason="Requires compute capability == 10"):864
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(is_hip() or torch.cuda.get_device_capability()[0] != 10, reason="Requires compute capability == 10"):929
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif scale_type == "float8_e4m3fn" and torch.cuda.get_device_capability()[0] < 9::1043
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif BLOCK_N == 256 and BLOCK_K == 256 and torch.cuda.get_device_capability()[0] < 9::1045
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability()[0] in (10, 12) and not nvfp4_fallback::1107
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] != 10::1201
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability()[0] < 10::1366
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability()[0] == 12::1436
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hopper_or_newer, is_hip_cdna, is_hip_cdna2, is_hip:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagecc = torch.cuda.get_device_capability():13
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:256
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] == 9::288
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageelif torch.cuda.get_device_capability()[0] == 10::292
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] == 10::302
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagecc = torch.cuda.get_device_capability():314
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(torch.cuda.get_device_capability()[0] != 10,:518
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):523
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"NUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:531
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageNUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:531
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_interpreter:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hopper, is_sm12x, is_interpreter, numpy_random, to_triton, unwrap_tensor, tma_dtypes, to_numpy:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip, is_hip_cdna3:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import CompilationError:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif num_ctas == 2 and (not is_cuda() or torch.cuda.get_device_capability(0)[0] not in (9, 10))::20
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif num_ctas == 2 and (not is_cuda() or torch.cuda.get_device_capability(0)[0] not in (9, 10))::64
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif num_ctas == 2 and (not is_cuda() or torch.cuda.get_device_capability(0)[0] not in (9, 10))::261
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif num_ctas == 2 and (not is_cuda() or torch.cuda.get_device_capability(0)[0] not in (9, 10))::326
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif num_ctas == 2 and (not is_cuda() or torch.cuda.get_device_capability(0)[0] not in (9, 10))::623
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability(0)[0] >= 9::665
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability(0)[0] in (9, 10)::746
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():854
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():957
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_cuda() and (capability := torch.cuda.get_device_capability(0)[0]) in (9, 10)::959
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif BLOCK_K < K and is_cuda() and torch.cuda.get_device_capability(0)[0] != 10::1322
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageis_native_gather = is_cuda() and torch.cuda.get_device_capability()[0] >= 10:1447
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageis_native = is_cuda() and torch.cuda.get_device_capability()[0] >= 9:1556
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif num_ctas == 2 and (not is_cuda() or torch.cuda.get_device_capability(0)[0] not in (9, 10))::1643
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif num_ctas == 2 and (not is_cuda() or torch.cuda.get_device_capability(0)[0] not in (9, 10))::1752
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip, is_hopper, is_blackwell:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif not is_hip() and torch.cuda.is_available() and torch.cuda.get_device_capability()[0] in [9, 10, 11]::10
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton import nvidia:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"cublas_workspace = torch.empty(32 * 1024 * 1024, device="cuda", dtype=torch.uint8):12
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.empty(2, dtype=torch.int32, device='cuda'):51
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.arange(128 * 64, dtype=torch.float32, device='cuda').reshape(128, 64):119
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.arange(1024, dtype=torch.int32, device='cuda'):180
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty(4, dtype=torch.int32, device='cuda'):181
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":285
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.empty(size, dtype=torch.int8, device="cuda"):292
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"NUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:403
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageNUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:403
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = "cuda":405
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.empty(size, dtype=torch.int8, device="cuda"):412
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"q = torch.randn((M, HEAD_DIM), device="cuda").to(dtype):520
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"k = torch.randn((N, HEAD_DIM), device="cuda").to(dtype):521
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"v = torch.randn((N, HEAD_DIM), device="cuda").to(dtype):522
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"acc_ref = torch.empty((M, HEAD_DIM), dtype=dtype, device="cuda"):524
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"l_i_ref = torch.empty((M, ), dtype=dtype, device="cuda"):525
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"m_i_ref = torch.empty((M, ), dtype=dtype, device="cuda"):526
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"acc = torch.empty((M, HEAD_DIM), dtype=dtype, device="cuda"):527
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"l_i = torch.empty((M, ), dtype=dtype, device="cuda"):528
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"m_i = torch.empty((M, ), dtype=dtype, device="cuda"):529
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"q = torch.randn((M, HEAD_DIM), device="cuda").to(dtype):620
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"k = torch.randn((N, HEAD_DIM), device="cuda").to(dtype):621
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"v = torch.randn((N, HEAD_DIM), device="cuda").to(dtype):622
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"acc_ref = torch.empty((M, HEAD_DIM), dtype=dtype, device="cuda"):624
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"l_i_ref = torch.empty((M, ), dtype=dtype, device="cuda"):625
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"m_i_ref = torch.empty((M, ), dtype=dtype, device="cuda"):626
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"acc = torch.empty((M, HEAD_DIM), dtype=dtype, device="cuda"):627
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"l_i = torch.empty((M, ), dtype=dtype, device="cuda"):628
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"m_i = torch.empty((M, ), dtype=dtype, device="cuda"):629
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty((M, N), device="cuda", dtype=A.dtype):733
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"d_a_ptrs = torch.tensor(A_addrs, device="cuda"):740
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"d_b_ptrs = torch.tensor(B_addrs, device="cuda"):741
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"d_c_ptrs = torch.tensor(C_addrs, device="cuda"):742
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"d_g_lds = torch.tensor(g_lds, dtype=torch.int32, device="cuda"):743
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):746
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.rand((M, K), device="cuda", dtype=torch.float16):769
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.rand((K, N), device="cuda", dtype=torch.float16):770
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import builtin:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.code_generator import flatten_values_to_ir:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir, passes:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:41
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:42
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import nvidia:43
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:44
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import JITFunction:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip, is_hip_cdna3, is_hip_cdna4:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] >= 10:8
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton import nvidia as vendor:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif dtype == torch.float8_e4m3fn and torch.cuda.get_device_capability()[0] < 9::20
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton import amd as vendor:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import nvidia:78
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import nvidia:149
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.build import compile_module_from_src:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.cache import FileCacheManager, RemoteCacheManager:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagereturn torch.cuda.get_device_capability():277
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.knobs import CompileTimes:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.compiler import ASTSource, IRSource:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.driver import GPUDriver, expand_signature, wrap_handle_tensordesc_impl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"driver = SimpleNamespace(get_active_torch_device=lambda: "cuda:0", get_device_interface=lambda: device_interface):62
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"assert device_interface.default_stream_arg == "cuda:0":67
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"assert zeros_calls == [(16, torch.int8, "cuda:0")]:69
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._C.libtriton import interpreter as _interpreter:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.interpreter import _implicit_cvt:236
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif not is_cuda() and torch.cuda.get_device_capability()[0] >= 9::12
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton import native_specialize_impl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import MockTensor, JITCallable:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._utils import canonicalize_dtype:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.nvidia.compiler import CUDABackend:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.amd.compiler import HIPBackend:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language import constexpr:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor as GluonTensorDescriptor:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import NVMMASharedLayout:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler import ASTSource:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import run_in_process:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._filecheck import run_filecheck_test:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra import libdevice:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import llvm:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = torch.ones((1, ), device="cuda"):36
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagecapability = torch.cuda.get_device_capability():24
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
A.cuda() tensor/module movei = torch.empty(64 * 64, dtype=torch.float32).cuda():178
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveo = torch.empty(64 * 64, dtype=torch.float32).cuda():179
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._utils import is_power_of_two, validate_block_shape:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda, is_hip:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.nvidia.driver import include_dirs, library_dirs:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return ["cuda"]:19
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.backends.amd.driver import include_dirs, _get_path_to_hip_runtime_dylib:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"target = GPUTarget("hip", "gfx942", 64) if is_hip() else GPUTarget("cuda", 80, 32):553
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.tools.disasm as disasm:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"if not triton.runtime.driver.active.get_current_target().backend == "cuda"::10
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.empty(1, dtype=torch.int32, device='cuda'):17
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler import IRSource, make_backend:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools import LinearLayout:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.slice_kernel import RewriteSpec, get_reference, slice_kernel:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.target import TranslatorTarget:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.slice_kernel import slice_kernel as new_slice_kernel:921
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.translator import translate_paths:922
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.translator import convert_triton_to_gluon:923
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.nvidia_helpers import convert_host_descriptor:924
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.ordered_set import ordered_set:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.stable_toposort import stable_toposort:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.translator import convert_triton_to_gluon:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.target import TranslatorTarget:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import (:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.target_info import current_target:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.amd_helpers import convert_host_descriptor:33
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.nvidia_helpers import convert_host_descriptor:35
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"target = TranslatorTarget(f"sm{t.arch}" if t.backend == "cuda" else t.arch):41
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(n, device="cuda", dtype=torch.float32):72
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randn(n, device="cuda", dtype=torch.float32):73
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16):105
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16):106
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty((M, N), device="cuda", dtype=torch.float32):109
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":242
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":314
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":377
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.zeros((M, N), device="cuda", dtype=torch.float16):447
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y_ref = torch.zeros((M, N), device="cuda", dtype=torch.float16):454
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.ones((M, N), device="cuda", dtype=torch.float16) * 3.0:471
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.zeros((M, N), device="cuda", dtype=torch.float16):472
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y_ref = torch.zeros((M, N), device="cuda", dtype=torch.float16):481
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn((M, N), device="cuda", dtype=torch.float16):510
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(n, device="cuda", dtype=torch.float32):544
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randn(n, device="cuda", dtype=torch.float32):545
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(2 * n, device="cuda", dtype=torch.float32):573
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.arange(0, block, device="cuda", dtype=torch.int32):598
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.arange(-block, 0, device="cuda", dtype=torch.int32):599
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((2 * block, ), device="cuda", dtype=torch.int32):600
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((1, ), device="cuda", dtype=torch.int32):622
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(block, device="cuda", dtype=torch.float32):643
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_max = torch.empty((block // 2, ), device="cuda", dtype=torch.float32):644
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_min = torch.empty((block // 2, ), device="cuda", dtype=torch.float32):645
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty(num_threads, dtype=torch.int32, device="cuda"):667
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"ref = torch.zeros((block, ), device="cuda"):685
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros((block, ), device="cuda"):688
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(BLOCK, device="cuda", dtype=torch.float32):709
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.randn(BLOCK, device="cuda", dtype=torch.float32):710
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty(2 * BLOCK, device="cuda", dtype=torch.float32):711
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.empty(size, dtype=torch.uint8, device="cuda"):734
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(X * Y, device="cuda", dtype=torch.float16).reshape(X, Y):739
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"idx = torch.tensor([0, 2, 4, 6, 1, 3, 5, 7], device="cuda", dtype=torch.int32):740
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros((X, Y), device="cuda", dtype=torch.float16):741
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.synchronize(device):176
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize(device):186
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(args.device):207
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = torch.device("cuda", args.device):208
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.profiler as proton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagedev = torch.cuda.current_device():104
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageassert dev == rank, f"{torch.cuda.get_current_device()=}, {rank=}":105
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():198
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():207
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(torch.distributed.get_rank()):222
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagehas_native_mx4 = torch.cuda.get_device_capability(0)[0] >= 10 or get_cdna_version() == 4:246
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"parser.addoption("--device", action="store", default="cuda"):7
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._internal_testing import _fresh_knobs_impl:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import _fresh_knobs_impl:37
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:48
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageos.environ["CUDA_VISIBLE_DEVICES"] = str(gpu_id % torch.cuda.device_count()):60
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.testing import cuda_graph_without_gc:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.set_device(dev):70
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif not torch.cuda.is_available()::81
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.device_count() < n_gpus::83
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagepytest.skip(f"requires up to {n_gpus} CUDA devices, found {torch.cuda.device_count()}"):84
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = "cuda":182
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagedev = torch.cuda.current_device():251
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():312
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():313
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagewith torch.cuda.stream(stream)::314
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"if device != "cuda" or not torch.cuda.is_available() or not is_cuda()::57
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif device != "cuda" or not torch.cuda.is_available() or not is_cuda()::57
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] != 9::59
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if device != "cuda" or not torch.cuda.is_available() or not is_cuda()::117
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif device != "cuda" or not torch.cuda.is_available() or not is_cuda()::117
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] != 9::119
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if device != "cuda" or not torch.cuda.is_available()::164
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif device != "cuda" or not torch.cuda.is_available()::164
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] < 10::166
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if device != "cuda" or not torch.cuda.is_available()::184
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif device != "cuda" or not torch.cuda.is_available()::184
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] < 10::186
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hopper:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagedevice_capability = torch.cuda.get_device_capability()[0]:336
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_hip() or torch.cuda.get_device_capability()[0] < 10::406
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif not is_cuda() or torch.cuda.get_device_capability()[0] < 10::634
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.manual_seed(0):61
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif "float8" in src_dtype and (is_cuda() and torch.cuda.get_device_capability()[0] < 9)::157
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif "float8" in src_dtype and (is_cuda() and torch.cuda.get_device_capability()[0] < 9)::174
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageor scale_dtype == torch.float8_e4m3fn) and (is_cuda() and torch.cuda.get_device_capability()[0] < 9)::254
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x = torch.randn(*shape, dtype=src_dtype, device="cuda"):295
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(*shape, dtype=torch.bfloat16, device="cuda").to(src_quant_dtype):311
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_scale = torch.randint(0, 256, scale_shape, device="cuda", dtype=torch.uint8):313
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.testing import do_bench:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability() < (9, 0)::69
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = "cuda":75
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":140
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif not torch.cuda.is_available() or not is_cuda()::157
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] < 9::159
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = "cuda":163
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":184
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_cuda:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = torch.randint(0, 256, shape, dtype=torch.uint8, device="cuda"):25
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(0, 256, shape, dtype=torch.uint8, device="cuda"):82
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.manual_seed(0):141
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x = torch.randn(shape, dtype=torch.bfloat16, device="cuda"):144
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"device = "cuda":165
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":180
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":205
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":239
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.profiler as proton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.testing import cuda_graph_without_gc:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"device = "cuda":17
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"logits = torch.full((n_rows, n_experts), -1, dtype=storage_dtype, device="cuda").view(dtype):45
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"expected_indices = torch.arange(k, dtype=torch.int16, device="cuda").expand(n_rows, k):49
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.set_device(rank):61
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():70
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():71
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagewith torch.cuda.stream(stream)::72
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():75
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():80
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.ragged_tma import load_ragged, store_ragged:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagen_cu = torch.cuda.get_device_properties(0).multi_processor_count:11
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagedevice_props = torch.cuda.get_device_properties(0):101
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice_props = torch.cuda.get_device_properties(0):160
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagen_cu = torch.cuda.get_device_properties(0).multi_processor_count:120
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageand torch.cuda.get_device_capability()[0] >= 10:229
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif block_m == 64 and precision_config.c_mx_scale is not None and rhs_dtype == FP4 and torch.cuda.get_device_capability()[0] >= 10::234
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagen_sms = torch.cuda.get_device_properties(0).multi_processor_count:250
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if backend == "cuda"::517
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"if triton.runtime.driver.active.get_current_target().backend != "cuda"::146
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif ragged_dimension == "K" and torch.cuda.get_device_capability()[0] < 9::450
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"out = torch.matmul(round_x(a[batch, idx, :], torch.arange(lo, hi, device="cuda")).to(compute_dtype),:896
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra import libdevice:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageand torch.cuda.get_device_capability()[0] >= 9:181
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import nvidia, amd:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler import viewer:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"buf = torch.empty(n_bytes, device="cuda", dtype=torch.uint8):89
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"def get_blas_tflops(dtype, workspace_size=32 * 1024 * 1024, device="cuda")::135
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.target_info import (:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagereturn torch.cuda.get_device_properties(0).multi_processor_count:74
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.ragged_tma import create_ragged_descriptor:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler import ASTSource, make_backend:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon._runtime import GluonASTSource:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import create_function_from_signature:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"stub_target = GPUTarget("cuda", 100, 32):19
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._utils import find_paths_if:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import make_tensordesc_args:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageself.get_device_capability = torch.cuda.get_device_capability:164
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageself.get_current_stream = lambda idx: torch.cuda.current_stream(idx).cuda_stream:169
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageself.get_current_device = torch.cuda.current_device:170
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageself.set_current_device = torch.cuda.set_device:171
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton.experimental.gluon.language._semantic import GluonSemantic:294
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.semantic import TritonSemantic:298
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import must_use_result, aggregate:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.compiler import ASTSource:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import Language:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import JITFunction, constexpr_function:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.compiler import make_backend:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.code_generator import ast_to_ttir:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"is_cuda = options.backend_name == "cuda":36
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._utils import validate_block_shape:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import PaddedSharedLayout, SwizzledSharedLayout:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import PartitionedSharedLayout:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import GluonOpBuilder:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language.core as tl_core:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import (:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import _unwrap_if_constexpr, _unwrap_shape, constexpr_type:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import constexpr_function:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import gluon_ir:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language.math as tl_math:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.semantic import TritonSemantic:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import GluonOpBuilder, compute_tmem_reg_layout:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.code_generator import flatten_values_to_ir, unflatten_ir_values:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:384
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import JITFunction:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language.standard as tl_standard:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import _unwrap_if_constexpr:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import DistributedLayout:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language import _core as ttgl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._semantic import _check:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language import _core as ttgl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import constexpr_function:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import (:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import constexpr_function:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import get_amd_wmma_scale_layout as _get_wmma_scale_layout:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import _unwrap_if_constexpr:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import constexpr_function:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import PaddedSharedLayout, SharedLayout:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd._layouts import AMDWMMALayout:138
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import DistributedLayout:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language._core as ttgl:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import SwizzledSharedLayout:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin, _unwrap_if_constexpr:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language._core as ttgl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import PaddedSharedLayout, SwizzledSharedLayout:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import PartitionedSharedLayout:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin, _unwrap_if_constexpr:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C import ir:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import shared_memory_descriptor:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language import _core as ttgl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._semantic import _check:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra import libdevice:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language import _core as ttgl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import DotOperandLayout, NVMMADistributedLayout:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon._runtime import constexpr_function, jit:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import SwizzledSharedLayout:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin, _unwrap_if_constexpr:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import constexpr_function:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language import _core as ttgl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin, base_type, base_value, _unwrap_if_constexpr:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._semantic import _check, _compute_tmem_reg_layout:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton._C.libtriton.gluon_ir as gluon_ir:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import GluonOpBuilder:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language._core as gl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin, tensor, shared_memory_descriptor, base_value, base_type:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import GluonOpBuilder:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import aggregate:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language import _core as ttgl, _standard as stdlib:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon._runtime import constexpr_function, jit:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language._core as ttgl:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper.tma import (:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.code_generator import unflatten_ir_values:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin, _unwrap_if_constexpr:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import base_type, base_value:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language._core as ttgl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import NVMMASharedLayout:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._core import builtin, _unwrap_if_constexpr:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C import ir:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._utils import validate_block_shape, canonicalize_dtype, get_primitive_bitwidth:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import NVMMASharedLayout:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime import driver as runtime_driver:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.build import compile_module_from_file:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"if runtime_driver.active.get_current_target().backend != "cuda"::23
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.backends.nvidia.driver import library_dirs, include_dirs:26
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gsan_testing import thread_state_address, SHADOW_GRANULARITY_BYTES, PER_DEVICE_STATE_STRIDE_BYTES, GLOBAL_STATE_SIZE_BYTES, shadow_cell_address, thread_state_stride_bytes, SHA:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagedevice_index = torch.cuda.current_device():27
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice_index = torch.cuda.current_device():38
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice_index = torch.cuda.current_device():49
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice_index = torch.cuda.current_device():63
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton import gsan_testing as _gsan_testing:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gsan_testing import (:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BCustom CUDA kernels (.cu/.cuh)CUDA kernel sourcefile
Hand-written .cu/.cuh kernels compile only with nvcc. AMD's HIPify tools translate the vast majority of CUDA C++ to HIP automatically.
RecommendRun hipify-perl over the .cu/.cuh sources and build with hipcc.
BCustom CUDA kernels (.cu/.cuh)CUDA kernel sourcefile
Hand-written .cu/.cuh kernels compile only with nvcc. AMD's HIPify tools translate the vast majority of CUDA C++ to HIP automatically.
RecommendRun hipify-perl over the .cu/.cuh sources and build with hipcc.
BTriton dependencyfrom triton.experimental.gluon.language._layouts import NVMMASharedLayout, PaddedSharedLayout, SwizzledSharedLayout:334
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper.tma import tensor_descriptor_type as nvidia_tensor_descriptor_type:335
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper.tma import tensor_descriptor_im2col_type as nvidia_tensor_descriptor_im2col_type:336
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250.tdm import tensor_descriptor_type as amd_tensor_descriptor_type:337
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.code_generator import _apply_to_tuple_values:1590
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime import driver:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return (target.backend == "cuda" and target.arch >= 90):1101
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.runtime import driver:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import constexpr_function:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target is not None and target.backend == "cuda":22
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"if target is None or target.backend != "cuda"::33
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._C.libtriton import get_cache_invalidating_env_vars:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.testing:118
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler.compiler import make_backend:181
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import __version__, knobs:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.semantic import TritonSemantic:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import KernelInterface:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends import BaseBackend:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import get_cache_invalidating_env_vars, native_specialize_impl, ir:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language.core as core:278
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import constexpr:531
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import constexpr_type:555
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:826
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import _unwrap_if_constexpr, constexpr:1154
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.graph(*args, **kwargs) as graph::75
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton.profiler as proton:84
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.stream(torch.cuda.Stream())::138
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestart_event = torch.cuda.Event(enable_timing=True):152
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageend_event = torch.cuda.Event(enable_timing=True):153
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():158
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():167
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():174
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestart_event = torch.cuda.Event(enable_timing=True):179
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageend_event = torch.cuda.Event(enable_timing=True):180
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():184
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if target.backend != "cuda"::213
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagewith torch.cuda.stream(torch.cuda.Stream())::219
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestart_event = torch.cuda.Event(enable_timing=True):227
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageend_event = torch.cuda.Event(enable_timing=True):228
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():233
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():243
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():253
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():258
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = torch.cuda.current_device():662
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagecapability = torch.cuda.get_device_capability(device):665
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice = torch.cuda.current_device():747
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagecapability = torch.cuda.get_device_capability():750
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton.linear_layout import LinearLayout:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.backends:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:79
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gsan._allocator import create_mem_pool:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.use_mem_pool(create_mem_pool()), \:57
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._utils import validate_block_shape, canonicalize_dtype:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.slice_kernel import (:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.translator import (:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import wmma as amd_wmma:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import tdm as amd_tdm:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.cdna3 import mfma as amd_mfma:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.target_info import current_target:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.common_helpers import * # noqa: F401,F403:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.common_helpers import (:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:347
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import fence_async_shared, mbarrier, tma:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import tma as tma_blackwell:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.common_helpers import * # noqa: F401,F403:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.common_helpers import (:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.nvidia_helpers import * # noqa: F401,F403:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.nvidia_helpers import (:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.target_info import current_target # noqa: F401:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import (:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.common_helpers import * # noqa: F401,F403:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.common_helpers import (:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.nvidia_helpers import * # noqa: F401,F403:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.nvidia_helpers import (:20
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.ampere import mma_v2:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import fence_async_shared, mbarrier, tma:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.common_helpers import * # noqa: F401,F403:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.common_helpers import (:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:169
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton # type: ignore[import-untyped]:20
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import language as tl # type: ignore[import-untyped]:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import JITCallable, JITFunction # type: ignore[import-untyped]:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.ragged_tma import create_ragged_descriptor # type: ignore[import-untyped]:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor # type: ignore[import-untyped]:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.inline_helpers import defs as inline_helper_defs:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.ordered_set import ordered_set:26
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.scoped_dict import scoped_dict:27
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.stable_toposort import stable_toposort:28
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.target import TranslatorTarget:29
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.translator import translate_kernels:772
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.ordered_set import ordered_set:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl # type: ignore[import-untyped]:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import JITCallable, JITFunction # type: ignore[import-untyped]:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.ordered_set import ordered_set:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.scoped_dict import scoped_dict:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.slice_kernel import (:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.target import TranslatorTarget:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.triton_to_gluon_translator.stable_toposort import stable_toposort:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl # type: ignore[import-untyped]:39
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"if (tl_cuda := getattr(tl.extra, "cuda", None)) is not None::85
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:102
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:103
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:115
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:116
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:26
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:27
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime import driver:28
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:154
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:155
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":161
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:38
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:39
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:34
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:35
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BNVIDIA Apex dependencyimport apex:40
Apex fused optimizers/AMP are CUDA-specific. ROCm PyTorch ships native AMP (torch.cuda.amp / torch.amp) covering most uses.
RecommendReplace Apex AMP with native torch.amp; use ROCm apex for fused ops.
BTriton dependencyimport triton:20
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":32
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] >= 9:36
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] == 10:40
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] == 9:44
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn not (is_cuda() and torch.cuda.get_device_capability()[0] == 9 and BLOCK_M * BLOCK_N < 128 * 128:152
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return torch.empty(size, dtype=torch.int8, device="cuda"):546
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BFlashAttention dependencyfrom flash_attn.flash_attn_interface import \:694
FlashAttention has an official ROCm/CK implementation. Swapping the wheel (or using PyTorch SDPA) is mechanical.
RecommendInstall the ROCm FlashAttention build or fall back to torch SDPA.
BTriton dependencyimport triton:20
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra import libdevice:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":72
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:32
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:33
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":39
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] >= 9:43
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return torch.cuda.get_device_properties("cuda").multi_processor_count:48
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn torch.cuda.get_device_properties("cuda").multi_processor_count:48
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):362
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:26
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:27
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:28
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:29
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":36
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._C.libtriton import nvidia:44
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"device_workspace = torch.empty(32 * 1024 * 1024, device="cuda", dtype=torch.uint8):45
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._C.libtriton import amd:48
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"device_workspace = torch.empty(32 * 1024 * 1024, device="cuda", dtype=torch.uint8):49
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] >= 9:60
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn torch.cuda.get_device_capability()[0] == 9:64
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] >= 9:68
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"NUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:350
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageNUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:350
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"NUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:459
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageNUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:459
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"NUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:583
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageNUM_SMS = torch.cuda.get_device_properties("cuda").multi_processor_count:583
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):587
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16).to(dtype):657
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16).to(dtype):658
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16).to(dtype):694
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16).to(dtype):695
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.profiler.viewer as proton_viewer:720
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:123
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:124
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:125
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:126
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:127
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":131
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn (is_cuda() and torch.cuda.get_device_capability()[0] in [10, 11]) or is_hip_cdna4():140
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif is_cuda() and torch.cuda.get_device_capability()[0] in [10, 11]::143
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton import nvidia:144
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"cublas_workspace = torch.empty(32 * 1024 * 1024, device="cuda", dtype=torch.uint8):145
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((M, N), dtype=dtype_dst, device="cuda"):238
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((M, N), dtype=torch.float16, device="cuda"):307
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((M, N), dtype=torch.float16, device="cuda"):315
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = "cuda":332
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton.profiler.viewer as proton_viewer:493
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = MXFP4Tensor(size=(M, K), device="cuda").random():614
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w = MXFP4Tensor(size=(N, K), device="cuda").random():615
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_scales = torch.randint(124, 128, (K // 32, M), dtype=torch.uint8, device="cuda"):617
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_scales = torch.randint(124, 128, (K // 32, N), dtype=torch.uint8, device="cuda"):618
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"triton_out = torch.empty((M, N), device="cuda"):684
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return triton.runtime.driver.active.get_current_target().backend == "cuda":19
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn is_cuda() and torch.cuda.get_device_capability()[0] >= 9:23
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x = torch.rand(n_elements, device="cuda", dtype=torch.float32):72
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(n_elements, device="cuda", dtype=torch.float32):73
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda", dtype=torch.float32):97
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda", dtype=torch.float32):98
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:41
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:42
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:43
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"input = torch.tensor([42.0], device="cuda"):72
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn(xnumel, device="cuda"):106
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn(xnumel, device="cuda"):148
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:142
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:144
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:145
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"input = torch.randn(xnumel, device="cuda"):224
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn(xnumel, device="cuda"):235
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((xnumel, ynumel), device="cuda"):500
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((xnumel, ynumel), device="cuda"):520
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((xnumel, ynumel), device="cuda"):596
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((32 * 1024, 32 * 1024), device="cuda"):642
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((input.shape[1], input.shape[0]), device="cuda").T:645
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((ynumel, xnumel), device="cuda").T:760
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((xnumel, ynumel), device="cuda"):762
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((ynumel, xnumel), device="cuda").T:764
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((xnumel, ynumel), device="cuda"):766
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.ampere import async_copy as cp:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 8:26
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 8:26
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"input = torch.randn(xnumel, device="cuda"):73
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn(xnumel, ynumel, device="cuda"):131
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn(xnumel, ynumel, device="cuda"):132
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty_like(a, device="cuda"):133
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn(xnumel, ynumel, device="cuda"):197
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn(xnumel, ynumel, device="cuda"):198
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty_like(a, device="cuda"):199
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(xnumel, ynumel, device="cuda"):215
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(xnumel, ynumel, device="cuda"):216
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty_like(A, device="cuda"):217
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn(xnumel, ynumel, device="cuda"):351
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn(xnumel, ynumel, device="cuda"):352
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty_like(a, device="cuda"):353
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:27
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:28
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:30
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import tma, mbarrier, fence_async_shared:31
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 9:39
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 9:39
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"message = torch.full((MESSAGE_SIZE, ), -1, dtype=torch.int32, device="cuda"):166
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"ready = torch.zeros(1, dtype=torch.int32, device="cuda"):167
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.full((MESSAGE_SIZE, ), -1, dtype=torch.int32, device="cuda"):168
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"expected = torch.arange(MESSAGE_SIZE, dtype=torch.int32, device="cuda") + 1000:181
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn(xnumel, device="cuda"):207
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn(xnumel, ynumel, device="cuda"):359
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn(xnumel, ynumel, device="cuda"):360
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty_like(a, device="cuda"):361
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(xnumel, ynumel, device="cuda"):374
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(xnumel, ynumel, device="cuda"):375
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty_like(A, device="cuda"):376
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import (:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 9:34
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 9:34
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):229
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):230
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.randn(M, N, device="cuda", dtype=torch.float32):231
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):245
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):246
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.randn(M, N, device="cuda", dtype=torch.float32):247
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):406
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn((N, K) if TRANSPOSE_B else (K, N), device="cuda", dtype=torch.float16):407
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):408
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):487
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):488
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):489
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):602
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):603
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):604
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:20
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:36
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:36
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"input = torch.randn(M, N, dtype=torch.float32, device="cuda"):135
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):278
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):279
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.randn(M, N, device="cuda", dtype=torch.float32):280
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):383
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn((N, K) if TRANSPOSE_B else (K, N), device="cuda", dtype=torch.float16):384
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):385
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):406
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):407
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):408
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):627
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):628
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):629
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:29
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:34
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:35
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:37
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import (:38
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:46
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif torch.cuda.is_available()::54
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton._C.libtriton import nvidia:55
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"cublas_workspace = torch.empty(32 * 1024 * 1024, device="cuda", dtype=torch.uint8):56
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 9:66
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 9:66
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.get_device_capability()[0] == 9::162
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageelif torch.cuda.get_device_capability()[0] == 10::164
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):271
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):272
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):273
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):285
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):286
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):287
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageis_hopper = torch.cuda.get_device_capability()[0] == 9:292
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"num_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:423
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:423
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):440
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):441
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):442
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"num_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:740
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:740
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):756
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):757
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):758
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):777
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):783
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):784
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:44
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon as gluon:46
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:47
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir, gluon_ir:48
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:50
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (tma, mbarrier, fence_async_shared):51
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:56
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:56
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"out = torch.empty((BLOCK_X, BLOCK_Y), dtype=input.dtype, device="cuda"):287
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((X_MAX, Y_MAX), dtype=dtype, device="cuda"):302
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_offsets = torch.linspace(-X_MAX, 2 * X_MAX, BLOCK_X, dtype=torch.int32, device="cuda"):304
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_offsets = x_offsets[torch.randperm(BLOCK_X, device="cuda")]:306
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"lo_zeros = torch.zeros(BLOCK_X, y_lo - y_offset, dtype=dtype, device="cuda"):317
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"hi_zeros = torch.zeros(BLOCK_X, y_offset + BLOCK_Y - y_hi, dtype=dtype, device="cuda"):318
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"input = torch.randn((X_MAX, Y_MAX), dtype=dtype, device="cuda"):419
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_offsets = torch.linspace(0, 2 * X_MAX, BLOCK_X, dtype=torch.int32, device="cuda"):423
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_offsets = x_offsets[torch.randperm(BLOCK_X, device="cuda")]:425
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"src = torch.randn((BLOCK_X, BLOCK_Y), dtype=dtype, device="cuda"):427
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((M, N), dtype=X.dtype, device="cuda"):596
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"num_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:610
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:610
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"X_gather_indx = torch.arange(0, M, dtype=torch.int32, device="cuda"):627
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"shfl = torch.randperm(M, device="cuda"):628
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out_scatter_indx = torch.arange(0, M, dtype=torch.int32, device="cuda"):632
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"shfl = torch.randperm(M, device="cuda"):633
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"X = torch.randn(M, K, dtype=torch.bfloat16, device="cuda"):636
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"W = torch.randn(K, N, dtype=torch.bfloat16, device="cuda"):637
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:81
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon as gluon:83
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:84
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:85
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:86
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:101
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:101
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"input = torch.randn(M, N, dtype=dtype, device="cuda"):153
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"D = torch.empty((M, N), dtype=C.dtype, device="cuda"):386
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"num_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:388
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:388
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, dtype=dtype, device="cuda"):402
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, dtype=dtype, device="cuda"):403
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.randn(M, N, dtype=torch.float32, device="cuda"):404
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:65
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon as gluon:67
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:68
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:70
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:71
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:72
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:88
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:88
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=dtype):259
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"base = MXFP4Tensor(size=(MN, K), device="cuda").random():310
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scale = MXScaleTensor(size=(MN, K // VEC_SIZE), device="cuda").random(low=1 / 128, high=2.0):311
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"scales = torch.empty(M, K, device="cuda", dtype=torch.uint8):883
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"num_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:1471
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagenum_sms = torch.cuda.get_device_properties("cuda").multi_processor_count:1471
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:28
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:32
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:33
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.blackwell import TensorDescriptor:34
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import tma, mbarrier, fence_async_shared, clc:35
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagereturn torch.cuda.is_available() and torch.cuda.get_device_capability()[0] >= 10:39
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedev_props = torch.cuda.get_device_properties(A.device):199
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, device='cuda', dtype=torch.float16):211
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device='cuda', dtype=torch.float16):212
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device='cuda', dtype=torch.float16):213
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageprops = torch.cuda.get_device_properties(0):231
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, device='cuda', dtype=torch.float16):237
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device='cuda', dtype=torch.float16):238
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device='cuda', dtype=torch.float16):239
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A_test = torch.randn(1024, 1024, device='cuda', dtype=torch.float16):259
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B_test = torch.randn(1024, 1024, device='cuda', dtype=torch.float16):260
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():264
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:65
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:66
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:67
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as ttgl:68
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor, TensorDescriptorIm2Col:70
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import fence_async_shared, mbarrier, tma:71
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"inp = torch.arange(1, 17, device="cuda", dtype=torch.float32).unsqueeze(1).repeat(1, 32).reshape(1, 4, 4, 32):276
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros(16, 32, device="cuda", dtype=torch.float32):277
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"expected = torch.tensor([0, 0, 0, 0, 0, 1, 2, 3, 0, 5, 6, 7, 0, 9, 10, 11], device="cuda", dtype=torch.float32):403
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(1, 33, device="cuda", dtype=torch.float32).unsqueeze(1).repeat(1, 32).reshape(2, 4, 4, 32):584
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros(16, 32, device="cuda", dtype=torch.float32):585
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"expected = torch.tensor([8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], device="cuda",:614
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.arange(1, 33, device="cuda", dtype=torch.float32).unsqueeze(1).repeat(1, 32).reshape(2, 4, 4, 32):714
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.zeros(16, 32, device="cuda", dtype=torch.float32):715
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"expected = torch.tensor([7, 0, 9, 10, 11, 0, 0, 0, 0, 0, 17, 18, 19, 0, 21, 22], device="cuda", dtype=torch.float32):745
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_nhwc = torch.randn(N, H, W, Ci, device="cuda", dtype=torch.float16):1164
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_co_r_s_ci = torch.randn(Co, R, S, Ci, device="cuda", dtype=torch.float16):1165
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x_nhwc = torch.randn(N, H, W, Ci, device="cuda", dtype=torch.float16):1221
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"w_co_r_s_ci = torch.randn(Co, R, S, Ci, device="cuda", dtype=torch.float16):1222
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:69
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:71
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:72
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import (:73
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import mbarrier, tma:82
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:83
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usageif not torch.cuda.is_available()::90
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 9:93
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] >= 9:93
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif not torch.cuda.is_available()::97
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:100
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 10:100
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x = torch.randn((M, N), device="cuda", dtype=torch.float32):187
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.empty((M, N), device="cuda", dtype=torch.float32).uniform_(-1, 1):212
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16):417
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16):418
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty((M, N), device="cuda", dtype=torch.float16):419
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.randn((M, N), device="cuda", dtype=torch.float16):531
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"out = torch.empty((M, N), device="cuda", dtype=torch.float16):613
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16):639
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16):640
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16):1144
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16):1145
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty((M, N), device="cuda", dtype=torch.float16):1167
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"A = torch.randn((M, K), device="cuda", dtype=torch.float16):1170
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn((K, N), device="cuda", dtype=torch.float16):1171
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._internal_testing import _fresh_knobs_impl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import _fresh_knobs_impl:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import BaseBackend, GPUTarget, Language:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir, passes, llvm, amd:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.extra.hip import libdevice:195
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.driver import GPUDriver, decompose_descriptor, expand_signature, wrap_handle_tensordesc_impl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime import _allocation:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.build import compile_module_from_src:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagereturn torch.cuda:383
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagereturn torch.cuda.is_available() and (torch.version.hip is not None):389
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return torch.device("cuda", self.get_current_device()):406
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.testing import do_bench:409
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(int(cache_size // 4), dtype=torch.int, device='cuda'):417
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.language import core:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language import core:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
A.cuda() tensor/module movemid_o = torch.zeros((BATCH, NUM_Q_HEADS, split_factor, BLOCK_M, HEAD_SZ), dtype=torch.float32).cuda():925
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemid_l = torch.zeros((BATCH, NUM_Q_HEADS, split_factor, BLOCK_M), dtype=torch.float32).cuda():926
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemid_m = torch.full((BATCH, NUM_Q_HEADS, split_factor, BLOCK_M), float("-inf"), dtype=torch.float32).cuda():927
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveq = q.cuda():992
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movek = k.cuda():993
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movev = v.cuda():994
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveo = o.cuda():995
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():1002
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton.experimental import gluon:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import make_cga_layout:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
A.cuda() tensor/module movea_device = a.cuda():455
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():456
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():457
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():608
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():609
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():610
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():954
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():955
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():956
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():1031
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():1032
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():1033
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
A.cuda() tensor/module movea_device = a.cuda():1167
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():1168
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():1169
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movep_device = p.cuda():1170
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
A.cuda() tensor/module movea_device = a.cuda():308
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():309
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():310
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():362
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():363
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():364
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import tdm:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import _aggregate as aggregate:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"device = 'cuda':1399
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"dev = 'cuda':1494
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.experimental import gluon:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.jit import JITFunction:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon._runtime import GluonJITFunction, jit:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon._runtime import GluonJITFunction:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import cdiv:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import PropagateNan:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language import expand_dims:20
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd import warp_pipeline_stage:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import wmma_scaled:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import tdm:24
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import buffer_load, buffer_store:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import get_wmma_scale_layout:26
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import cluster:27
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
A.cuda() tensor/module moveq = q.cuda():2862
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movek = k.cuda():2863
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movev = v.cuda():2864
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveq_scale = q_scale.cuda():2866
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movek_scale = k_scale.cuda():2867
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movev_scale = v_scale.cuda():2868
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveo = o.cuda():2869
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movel = l.cuda():2870
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movem = m.cuda():2871
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import tdm:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import async_copy as cp:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
A.cuda() tensor/module movec_d = torch.zeros(M, N, dtype=torch.float32).cuda():1615
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_d = a.data.contiguous().cuda():1616
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_d = b.data.T.contiguous().cuda():1618
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_d = b.data.contiguous().cuda():1620
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_scale_d = a_scale.cuda():1622
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_scale_d = b_scale.cuda():1625
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_d = torch.zeros(M, N, dtype=torch.float32).cuda():1777
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_d = a.data.contiguous().cuda():1778
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_d = b.data.T.contiguous().cuda():1780
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_d = b.data.contiguous().cuda():1782
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_scale_d = a_scale.cuda():1784
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_scale_d = b_scale.cuda():1787
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = torch.rand(size, device='cuda'):6
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device='cuda'):7
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton import knobs:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime._allocation import set_profile_allocator:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):21
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((XBLOCK, ), device="cuda", dtype=torch.float16):229
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((XBLOCK, ), device="cuda", dtype=torch.float16):276
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((XBLOCK, ), device="cuda", dtype=torch.float16):339
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((XBLOCK, ), device="cuda", dtype=torch.float16):387
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"output = torch.empty((XBLOCK, ), device="cuda", dtype=torch.float16):441
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinput = input.cuda():476
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = output.cuda():478
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():519
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():520
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, XBLOCK), dtype=torch.float16).cuda():521
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinput_t = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():563
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, XBLOCK), dtype=torch.float16).cuda():564
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinput_t = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():592
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, XBLOCK), dtype=torch.float16).cuda():620
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinput_t = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():651
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, XBLOCK), dtype=torch.float16).cuda():652
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinput_t = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():687
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, XBLOCK), dtype=torch.float16).cuda():688
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():724
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():725
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, XBLOCK), dtype=torch.float16).cuda():726
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, ), dtype=torch.float16).cuda():768
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, ), dtype=torch.float16).cuda():808
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinput_t = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():847
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinput_t = torch.randn((XBLOCK, XBLOCK), dtype=torch.float16).cuda():889
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, XBLOCK), dtype=torch.float16).cuda():890
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip_cdna4, is_hip_gfx1250, to_triton, numpy_random:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip_gfx1250:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
A.cuda() tensor/module movez = torch.empty(M, N, dtype=torch.float32).cuda():72
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(M, K, dtype=torch.float16).cuda():89
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movey = torch.randn(K, N, dtype=torch.float16).cuda():90
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._internal_testing import is_hip_gfx1250:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip_gfx1250, str_to_triton_dtype, numpy_random, to_triton, unwrap_tensor, float_dtypes, int_dtypes, uint_dtypes:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXFP4Tensor, MXScaleTensor:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd.gfx1250 import get_wmma_scale_layout, PartitionedSharedLayout, _valid_dtype_combinations:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton.gluon_ir import make_cga_layout:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"y = torch.empty((BLOCK_M, BLOCK_K), dtype=torch.bfloat16, device="cuda"):166
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movepgm = scaled_upcast_fp4_kernel[(1, )](x.cuda(), scale.cuda(), y, BLOCK_M, BLOCK_K, num_warps=4):168
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.empty((BLOCK_M, BLOCK_K), dtype=torch.bfloat16, device="cuda"):200
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movepgm = scaled_upcast_fp8_kernel[(1, )](x.cuda(), scale.cuda(), y, BLOCK_M, BLOCK_K, num_warps=4):202
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():239
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():240
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():241
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():372
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():373
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():374
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():680
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():681
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():682
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():850
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():851
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_device = c.cuda():852
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea, a_scale = a.cuda(), a_scale.cuda():1004
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb, b_scale = b.cuda(), b_scale.cuda():1005
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec = torch.zeros((M, N), dtype=torch.float32).cuda():1013
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea, a_scale = a.cuda(), a_scale.cuda():1114
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb, b_scale = b.cuda(), b_scale.cuda():1115
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec = torch.zeros((M, N), dtype=torch.float32).cuda():1116
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea, a_scale = a.cuda(), a_scale.cuda():1206
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb, b_scale = b.cuda(), b_scale.cuda():1207
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec = torch.zeros((B, M, N), dtype=torch.float32).cuda():1209
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randint(20, 40, (M, K // DIV_FACTOR_A), dtype=torch.uint8).cuda():1341
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movey = torch.randint(20, 40, (K // DIV_FACTOR_B, N), dtype=torch.uint8).cuda():1342
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movescale_x = torch.randint(min_scale, max_scale + 1, (M, K // scale_factor), dtype=torch.uint8).cuda():1347
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movescale_y = torch.randint(min_scale, max_scale + 1, (N, K // scale_factor), dtype=torch.uint8).cuda():1348
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movescale_x = torch.randint(20, 40, [M, K // scale_factor], dtype=torch.uint8).view(torch.float8_e4m3fn).cuda():1350
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movescale_y = torch.randint(20, 40, [N, K // scale_factor], dtype=torch.uint8).view(torch.float8_e4m3fn).cuda():1351
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movefinite = torch.arange(x.numel(), dtype=torch.uint8).cuda().reshape_as(x) % mask:1360
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movez = torch.zeros((M, N), dtype=torch.float32).cuda():1368
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movez_ref = torch.zeros((M, N), dtype=torch.float32).cuda():1380
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():1574
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():1575
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():1697
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():1698
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():1813
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_device = out.cuda():1814
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():1881
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp = inp.cuda():1932
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout = out.cuda():1933
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp = inp.cuda():2008
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout = out.cuda():2009
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp.base = inp.base.cuda():2116
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp = inp.cuda():2118
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_handle = inp.cuda():2201
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_handle = out.cuda():2212
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec_d = torch.zeros(M, N, dtype=torch.float32).cuda():2404
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_d = a.data.contiguous().cuda():2405
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_d = b.data.contiguous().cuda():2406
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_scale_d = a_scale.cuda():2407
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_scale_d = b_scale.cuda():2408
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_handle = out.cuda():2481
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movecluster_load_and_write_back_kernel[grid](a.cuda(), out_handle, M, N, BLOCK_M, BLOCK_N, blocked_layout,:2482
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_handle = out.cuda():2549
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moverun_kernel = lambda: async_load_and_write_back_kernel[grid](a.cuda(), out_handle, M, N, BLOCK_M, BLOCK_N,:2553
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moverun_kernel = lambda: async_copy_mbarrier_kernel[grid](a.cuda(), out_handle, M, N, BLOCK_M, BLOCK_N,:2556
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_handle = out.cuda():2602
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveasync_load_and_write_back_kernel[grid](a.cuda(), out_handle, M, N, BLOCK_M, BLOCK_N, blocked_layout, shared_layout,:2603
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea = a.data.contiguous().cuda():2755
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb = b.data.contiguous().cuda():2756
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movescale_a = scale_a.cuda():2764
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movescale_b = scale_b.cuda():2765
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movec = torch.zeros((M, N), dtype=torch.float32).cuda():2769
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():2923
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():2924
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():2965
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():2966
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = torch.randint(0x0, 0xFFFF, (16, 64), dtype=torch.uint16).cuda():2996
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetdm_load_negative_offset_kernel[(1, )](a.cuda(), b_device):2997
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.runtime._allocation import set_profile_allocator:3021
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):3024
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, ), dtype=torch.float16).cuda():3063
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.runtime._allocation import set_profile_allocator:3092
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):3095
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveoutput = torch.empty((XBLOCK, ), dtype=torch.float16).cuda():3151
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.runtime._allocation import set_profile_allocator:3181
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):3184
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():3235
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():3236
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.runtime._allocation import set_profile_allocator:3273
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):3276
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device = a.cuda():3331
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_device = b.cuda():3332
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_handle = out.cuda():3440
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movews_async_copy_mbarrier_kernel[grid](a.cuda(), out_handle, M, N, BLOCK_M, BLOCK_N, shared_layout,:3442
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_handle = out.cuda():3532
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moverun_kernel = lambda: async_store_and_write_back_kernel[grid](a.cuda(), out_handle, M, N, BLOCK_M, BLOCK_N,:3534
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_d = a.cuda():3566
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():3567
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():3614
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
A.cuda() tensor/module moveinp_d = inp.cuda():3747
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():3748
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = dst_row_indices.cuda():3749
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():3851
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():3852
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = dst_row_indices.cuda():3853
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():3919
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():3920
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = dst_row_indices.cuda():3921
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():3993
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():3994
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = dst_row_indices.cuda():3995
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():4202
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():4203
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = src_row_indices.cuda():4204
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():4257
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():4258
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = src_row_indices.cuda():4259
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():4363
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():4364
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = src_row_indices.cuda():4365
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():4519
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():4520
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = src_row_indices.cuda():4521
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():4590
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():4591
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = dst_row_indices.cuda():4592
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinp_d = inp.cuda():4624
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveout_d = out.cuda():4625
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveindices_d = src_row_indices.cuda():4626
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movesrc = torch.rand((N, ), dtype=torch.float16).cuda():4694
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedst = torch.empty((N, ), dtype=torch.float16).cuda():4695
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_device, b_device, c_device = a.cuda(), b.cuda(), c.cuda():4790
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import amd:20
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.mxfp import MXScaleTensor, MXFP4Tensor:21
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip_gfx1250:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"def init_data(dtype: str, d0: int, d1: int, device: str = 'cuda')::241
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_d = a.data.contiguous().cuda():309
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_d = b.data.contiguous().cuda():310
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movea_scale_d = a_scale_input.cuda():311
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb_scale_d = b_scale_input.cuda():312
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c_d = torch.zeros(M, N, dtype=torch.float32, device='cuda'):313
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():335
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:91
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:92
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip_gfx1250:93
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:94
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as ttgl:95
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
A.cuda() tensor/module movea = a_cpu.cuda():355
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveb = b_cpu.cuda():356
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty((M, N), dtype=torch.int32, device="cuda"):357
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movesrc = src_cpu.cuda():430
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"c = torch.empty((BLOCK_M, BLOCK_N), dtype=torch.int32, device="cuda"):431
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gluon.language as gl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.amd import warp_pipeline_stage:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import knobs:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime.build import compile_module_from_file:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime import _allocation:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.compiler import GPUTarget:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends.driver import GPUDriver, decompose_descriptor, expand_signature, wrap_handle_tensordesc_impl:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gsan._allocator as gsan_allocator:325
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.experimental.gsan._stream_sync as gsan_stream_sync:335
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return GPUTarget("cuda", capability, warp_size):372
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.device("cuda", self.get_current_device()):376
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn torch.cuda:380
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton.testing import do_bench:390
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(int(cache_size // 4), dtype=torch.int, device='cuda'):400
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.language import core:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language import core:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language import core:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton # type: ignore:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler import LazyDict:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.knobs as knobs:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import ir as triton_ir:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import proton as triton_proton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import amd as triton_amd:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import nvidia as triton_nvidia:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import passes as triton_passes:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.compiler import LazyDict:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.runtime._allocation import set_profile_allocator, NullAllocator:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.backends import backends:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"buffer = torch.zeros((aligned_size, ), dtype=torch.uint8, device="cuda"):42
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"if backend == "cuda"::122
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"if target["backend"] == "cuda"::285
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton.compiler import LazyDict:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language import core as tl:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.core import builtin:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import proton as triton_proton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.language.semantic import TritonSemantic:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language._semantic import GluonSemantic:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.runtime.driver as driver:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton import MockTensor:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import proton as triton_proton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton # type: ignore:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libtriton import getenv # type: ignore:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._C.libproton import proton as libproton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.state import COMPUTE_METADATA_SCOPE_NAME:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.metric import FLOPS_WIDTHS:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler import specs:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"parser.addoption("--device", action="store", default="cuda"):5
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyfrom triton._internal_testing import _fresh_knobs_impl:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"a = torch.zeros(1, device="cuda"):10
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((32, 32), device="cuda", dtype=torch.float16):20
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((32, 32), device="cuda", dtype=torch.float16):21
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:697
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:698
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:699
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.testing import cuda_graph_without_gc:700
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.set_device(args.device):702
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream(device=device):704
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):705
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():730
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.empty_cache():731
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.reset_peak_memory_stats(device):732
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():734
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():738
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"selected_cupti_dir = blackwell_dir if target.backend == "cuda" and target.arch >= 100 else generic_dir:749
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():814
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():860
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyimport triton.profiler as proton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.hooks.hook import HookManager:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.hooks.launch import LaunchHook:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.hooks.instrumentation import InstrumentationHook:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.metric import transform_tensor_metrics:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler.language as pl:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.blackwell import clc:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import mbarrier:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import (:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.tools.tensor_descriptor import TensorDescriptor:25
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = torch.tensor([2], device="cuda", dtype=torch.float32):72
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):125
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):126
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):237
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):238
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):294
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):295
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):362
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):363
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):408
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):409
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):491
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):492
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16).to(torch.float8_e4m3fn):598
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16).to(torch.float8_e4m3fn):599
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.ones((1024, ), device="cuda", dtype=torch.float32):637
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):684
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):685
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.zeros(BLOCK_SIZE, device="cuda", dtype=torch.float32):724
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):798
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):799
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):861
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):862
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.rand(size, device="cuda"):920
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand(size, device="cuda"):921
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usage@pytest.mark.skipif(not is_cuda() or torch.cuda.get_device_capability(0)[0] < 10, reason="Requires Blackwell"):957
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagenum_tiles = torch.cuda.get_device_properties(0).multi_processor_count * 8:996
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x = torch.rand((n_elements, ), device="cuda", dtype=torch.float32):999
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"y = torch.rand((n_elements, ), device="cuda", dtype=torch.float32):1000
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageif num_ctas == 2 and (not is_cuda() or torch.cuda.get_device_capability(0)[0] not in (9, 10))::1046
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"return torch.empty(size, dtype=torch.int8, device="cuda"):1073
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"inp = torch.randn((M, N), device="cuda", dtype=torch.float32):1080
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton._C.libproton.proton as libproton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.profile import _select_backend:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"selected_profiler = libproton.select_profiler_from_triton_backend("cuda"):101
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler.hooks.launch as proton_launch:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.state import COMPUTE_METADATA_SCOPE_NAME:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler.viewer as viewer:18
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton._internal_testing import is_hip, is_cuda, is_blackwell:19
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.testing import cuda_graph_without_gc:20
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagestream = torch.cuda.Stream():92
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):93
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():116
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():178
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):179
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():201
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageinactive_graph = torch.cuda.CUDAGraph():206
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageprofiled_graph = torch.cuda.CUDAGraph():210
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():218
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():223
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():247
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):248
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():262
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():303
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):304
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():328
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():372
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):373
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():389
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagecapture_stream = torch.cuda.Stream():439
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageside_stream = torch.cuda.Stream():440
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(capture_stream):441
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():518
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():520
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagegraph = torch.cuda.CUDAGraph():522
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestart_event = torch.cuda.Event():523
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagewith torch.cuda.stream(side_stream)::528
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():537
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():1031
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):1032
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagegraph_foo = torch.cuda.CUDAGraph():1069
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagegraph_bar = torch.cuda.CUDAGraph():1079
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():1257
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):1258
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize(torch.device(device)):1270
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():1286
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestreams = [torch.cuda.Stream(device=device_obj) for _ in range(2)]:1366
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize(device_obj):1370
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagewith torch.cuda.stream(stream)::1376
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.nvtx.range_push("nvtx_range0"):1446
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.nvtx.range_push("nvtx_range1"):1447
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.nvtx.range_pop():1449
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.nvtx.range_pop():1450
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagegraph = torch.cuda.CUDAGraph():1569
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():1600
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):1601
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"d = torch.arange(4, device="cuda"):1622
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usageg = torch.cuda.CUDAGraph():1633
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestream = torch.cuda.Stream():1690
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):1691
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():1707
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageif torch.cuda.device_count() < 2::1743
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagewith torch.cuda.device(device)::1749
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestreams.append(torch.cuda.Stream(device=device)):1750
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagewith torch.cuda.device(device)::1777
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):1778
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():1782
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagewith torch.cuda.device(device)::1789
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_stream(stream):1790
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():1898
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.empty_cache():1899
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageg = torch.cuda.CUDAGraph():1902
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
BTriton dependencyfrom triton.profiler.viewer import get_min_time_flops, get_min_time_bytes, read, format_frames, derive_metrics, filter_frames, parse, apply_diff_profile:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.state import COMPUTE_METADATA_SCOPE_NAME:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler.language as pl:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.hooks import InstrumentationHook:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"x = torch.linspace(-math.pi, math.pi, 2000, device="cuda"):51
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"model = DynamicNet().to("cuda"):55
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:9
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler.language as pl:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental import gluon:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon import language as gl:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.language.nvidia.hopper import (:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.experimental.gluon.nvidia.hopper import TensorDescriptor:22
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 9:31
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagereturn target.backend == "cuda" and torch.cuda.get_device_capability()[0] == 9:31
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"A = torch.randn(M, K, device="cuda", dtype=torch.float16):293
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"B = torch.randn(K, N, device="cuda", dtype=torch.float16):294
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"C = torch.empty(M, N, device="cuda", dtype=torch.float16):295
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
BTriton dependencyimport triton:35
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:36
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:37
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.profiler.mode import Default:38
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:3
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:4
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.profiler as proton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"a = torch.randn((M, K), device="cuda", dtype=torch.float16):262
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"b = torch.randn((K, N), device="cuda", dtype=torch.float16):263
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize(device):77
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestart_event = torch.cuda.Event(enable_timing=True):79
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageend_event = torch.cuda.Event(enable_timing=True):80
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize(device):87
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize(device):108
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.set_device(args.device):139
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = torch.device("cuda", args.device):140
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn((k, s0, s1), device="cuda", dtype=torch.float32):19
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():23
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagestart = torch.cuda.Event(enable_timing=True):26
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageend = torch.cuda.Event(enable_timing=True):27
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():33
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"cache_killer = torch.empty(n_elements, device="cuda", dtype=torch.float32):56
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"fake_target = types.SimpleNamespace(backend="cuda", arch=100):76
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA is required"):49
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = torch.device("cuda"):59
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize(device):104
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA is required"):117
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"device = torch.device("cuda"):119
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize(device):142
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"x = torch.randint(0, 256, shape, dtype=torch.uint8, device="cuda"):80
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(0, 256, (2, 16, 1024), dtype=torch.uint8, device="cuda")[..., ::2]:88
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(shape, device="cuda", dtype=torch.float32):107
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(shape, device="cuda", dtype=torch.float32):116
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn(shape, device="cuda", dtype=torch.float32):127
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"slice_sizes = torch.tensor(slice_sizes, device="cuda", dtype=torch.int32):143
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randn((m, k), device="cuda", dtype=torch.float32):146
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"x = torch.randint(0, 256, shape, dtype=torch.uint8, device="cuda"):34
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randint(0, 256, shape, dtype=torch.uint8).cuda():34
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.empty_cache():113
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"def make_slice_sizes(n_slices, total_size, device="cuda")::241
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"dev = torch.device("cuda", torch.cuda.current_device()):60
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagedev = torch.device("cuda", torch.cuda.current_device()):60
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if dev.type != "cuda"::63
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagedevice_index = torch.cuda.current_device() if dev.index is None else dev.index:65
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"dev = torch.device("cuda", device_index):66
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagewith torch.cuda.use_mem_pool(_get_mem_pool())::68
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagedevice_ranks={torch.cuda.current_device(): dist.get_rank(process_group)},:83
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize(self._device_index):219
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize(self._device_index):222
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
ADevice string "cuda"if tensor.device.type != "cuda"::302
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"if meta["device_type"] != "cuda"::383
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"parser.addoption("--device", action="store", default="cuda"):5
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.